private void showForm(int t) { Addclient ac = new Addclient(); ac.ID = t; DialogResult result = ac.ShowDialog(); if (result == DialogResult.OK) { showCustomer(); } }
private void lklblAddclient_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Addclient ac = new Addclient(); ac.Show(); }