Example #1
0
 private void btnNewClient_Click(object sender, EventArgs e)
 {
     FormClientNav frmNewClient = new FormClientNav(this);
     frmNewClient.CreateControl();
     frmNewClient.Show();
 }
Example #2
0
 private void btnEditClient_Click(object sender, EventArgs e)
 {
     if (lbxClientList.SelectedItem != null)
     {
         FormClientNav frmClientNav = new FormClientNav(this, true, int.Parse(this.tbxClientID_tpClientSelect.Text));
         frmClientNav.Show();
     }
 }