Пример #1
0
 private void Row_DoubleClick(object sender, MouseButtonEventArgs e)
 {
     DataGridRow row = sender as DataGridRow;
     General_View person = (General_View)row.DataContext;    
     if (row != null)
     {
         var addnew = new Add_New_Person.Add_New_Person(person);
         addnew.ShowDialog();               
     }
 }
Пример #2
0
        private void Row_DoubleClick(object sender, MouseButtonEventArgs e)
        {
            DataGridRow  row    = sender as DataGridRow;
            General_View person = (General_View)row.DataContext;

            if (row != null)
            {
                var addnew = new Add_New_Person.Add_New_Person(person);
                addnew.ShowDialog();
            }
        }
Пример #3
0
        private void AddNew_OnClick(object sender, RoutedEventArgs e)
        {
            var addnew = new Add_New_Person.Add_New_Person(null);

            addnew.ShowDialog();
        }
Пример #4
0
 private void AddNew_OnClick(object sender, RoutedEventArgs e)
 {
     var addnew = new Add_New_Person.Add_New_Person(null);
     addnew.ShowDialog();
 }