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();
     }
 }
        private void button_Add_Realtor_Click(object sender, RoutedEventArgs e)
        {
            EditRealtorWindow editRealtorWindow = new EditRealtorWindow();

            editRealtorWindow.Show();
        }