Ejemplo n.º 1
0
 private void button_Edit_Realtor_Click(object sender, RoutedEventArgs e)
 {
     if (dataGrid.SelectedItems.Count > 0)
     {
         Realtor           realtor           = (Realtor)dataGrid.SelectedItems[0];
         EditRealtorWindow editRealtorWindow = new EditRealtorWindow(realtor);
         editRealtorWindow.Show();
     }
 }
Ejemplo n.º 2
0
        private void button_Add_Realtor_Click(object sender, RoutedEventArgs e)
        {
            EditRealtorWindow editRealtorWindow = new EditRealtorWindow();

            editRealtorWindow.Show();
        }