Interaction logic for SelectFromDialog.xaml
Inheritance: TkWindow
Esempio n. 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;
			}
		}
Esempio n. 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;
            }
        }