Esempio n. 1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     //TODO Activate the old window if it still exists instead of creating a new one
     newpartwindow = new AddPart();
     newpartwindow.OnLogableEvent += childlogevent;
     newpartwindow.Show();
     OnLogableEvent("\nStarted Creating new part\n");
 }
Esempio n. 2
0
        private void addPartsButton_Click(object sender, EventArgs e)
        {
            AddPart addPartForm = new AddPart(inventory);

            addPartForm.Show();
        }