private void TileInCuctomerAddNew_Click(object sender, EventArgs e) { try { CustomerUI c = new CustomerUI(); c.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void buttonShowUsers_Click(object sender, EventArgs e) { CustomerUI c = new CustomerUI(); c.Show(); }
private void button1_Click(object sender, EventArgs e) { CustomerUI c = new CustomerUI(int.Parse(WarTextBox1.Text)); c.Show(); }