public void ContactDetailWindowConstructorTest()
 {
     ContactDetailWindow.Mode m = new ContactDetailWindow.Mode(); // TODO: Initialize to an appropriate value
     Contact c = null; // TODO: Initialize to an appropriate value
     ContactDetailWindow target = new ContactDetailWindow(m, c);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
 private void addButton_Click(object sender, RoutedEventArgs e)
 {
     contacts.Add(new Contact());
     ContactDetailWindow add = new ContactDetailWindow(ContactDetailWindow.Mode.Add, contacts[contacts.Count - 1]);
     add.Show();
     // show "please select a contact"
 }
 public void ConnectTest()
 {
     IComponentConnector target = new ContactDetailWindow(); // TODO: Initialize to an appropriate value
     int connectionId = 0; // TODO: Initialize to an appropriate value
     object target1 = null; // TODO: Initialize to an appropriate value
     target.Connect(connectionId, target1);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 private void editButton_Click(object sender, RoutedEventArgs e)
 {
     if(contactDataGrid.SelectedValue != null)
     {
         ContactDetailWindow edit = new ContactDetailWindow(ContactDetailWindow.Mode.Edit, contactDataGrid.SelectedValue as Contact);
         edit.Show();
     }
     // show "please select a contact"
 }
 public void InitializeComponentTest()
 {
     ContactDetailWindow target = new ContactDetailWindow(); // TODO: Initialize to an appropriate value
     target.InitializeComponent();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void ContactDetailWindowConstructorTest1()
 {
     ContactDetailWindow target = new ContactDetailWindow();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }