コード例 #1
0
ファイル: JoinDialog.xaml.cs プロジェクト: xyandro/NeoEdit
		static public Result Run(Window parent, Table leftTable, Table rightTable)
		{
			var dialog = new JoinDialog(leftTable, rightTable) { Owner = parent };
			return dialog.ShowDialog() ? dialog.result : null;
		}
コード例 #2
0
		void Command_Table_Join(JoinDialog.Result result)
		{
			if (joinTable == null)
				throw new Exception("You must first set a join source.");

			SetText(Table.Join(GetTable(), joinTable, result.LeftColumns, result.RightColumns, result.JoinType));
		}