private void customerList_Click(object sender, EventArgs e) { using (var form = new CustomerListForm()) { form.ShowDialog(this); } }
private void button2_Click(object sender, EventArgs e) { var form = new CustomerListForm(); form.ShowDialog(this); }
private void button2_Click(object sender, EventArgs e) { var form = new CustomerListForm(); form.ShowDialog(this); }