Esempio n. 1
0
		static public Result Run(Window parent, Table leftTable, Table rightTable)
		{
			var dialog = new JoinDialog(leftTable, rightTable) { Owner = parent };
			return dialog.ShowDialog() ? dialog.result : null;
		}
Esempio n. 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));
		}