Пример #1
0
 private void customerList_Click(object sender, EventArgs e)
 {
     using (var form = new CustomerListForm())
     {
         form.ShowDialog(this);
     }
 }
Пример #2
0
        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);
 }