Interaction logic for SelectFromDialog.xaml
Inheritance: TkWindow
示例#1
0
		private void _buttonQuery_Click(object sender, RoutedEventArgs e) {
			var dialog = new SelectFromDialog(_gdb.GetMetaTable<int>(_sdb), _sdb, _tbId.Text);
			dialog.Owner = this;

			if (dialog.ShowDialog() == true) {
				_tbId.Text = dialog.Id;
			}
		}
示例#2
0
        private void _buttonQuery_Click(object sender, RoutedEventArgs e)
        {
            var dialog = new SelectFromDialog(_gdb.GetMetaTable <int>(_sdb), _sdb, _tbId.Text);

            dialog.Owner = this;

            if (dialog.ShowDialog() == true)
            {
                _tbId.Text = dialog.Id;
            }
        }