Пример #1
0
        private void mnuProperty_Click(object sender, RoutedEventArgs e)
        {
            TGIRecord record = new TGIRecord();
            ViewPropertyRegistryRecord window = new ViewPropertyRegistryRecord(record);

            window.ShowDialog();
        }
Пример #2
0
        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            TGIRecord record = (TGIRecord)((MenuItem)sender).DataContext;
            ViewPropertyRegistryRecord window = new ViewPropertyRegistryRecord(record);

            window.ShowDialog();
            dataGrid1.Items.Refresh();
        }