private void b_addItem_Click(object sender, EventArgs e) { //calls the addItem form AddItem ai = new AddItem(); ai.Show(); }
//Add New Items private void addItemButton_Click(object sender, EventArgs e) { var AddItem = new AddItem(); AddItem.Show(); }
private void Button_Click(object sender, RoutedEventArgs e) { AddItem addItem = new AddItem(); addItem.ShowDialog(); }