/// <summary> /// Event handler for customer button /// </summary> /// <param name="sender">control initiating event</param> /// <param name="e">event argument</param> private void buttonCustomer_Click(object sender, EventArgs e) { //creates a new FormCustomer object FormCustomer customerForm = new FormCustomer(); //opens a Customer Form customerForm.ShowDialog(); }
/// <summary> /// Opens the Customer Form /// </summary> /// <param name="sender">control initiating event</param> /// <param name="e">event argument</param> private void customerToolStripMenuItem_Click(object sender, EventArgs e) { FormCustomer myCustomerForm = new FormCustomer(); myCustomerForm.ShowDialog(); }
/// <summary> /// Opens a Customer Form /// </summary> /// <param name="sender">event handler</param> /// <param name="e">event argument</param> private void buttonCustomer_Click(object sender, EventArgs e) { FormCustomer myCustomerForm = new FormCustomer(); myCustomerForm.ShowDialog(); }