Example #1
0
 private void btnProcess_Click(object sender, EventArgs e)
 {
     if (BindClient.Client_id > 0)
     {
         FrmClientFllowList fols = new FrmClientFllowList(BindClient.Client_id);
         fols.MdiParent = this.MdiParent;
         fols.Show();
     }
 }
 private void tsmiClientFollow_Click(object sender, EventArgs e)
 {
     int clientid = ((this.dataGridView1.SelectedRows[0].DataBoundItem as DataRowView).Row as humanresourcesDataSet.clientRow).Client_id;
     if (clientid > 0)
     {
         FrmClientFllowList fols = new FrmClientFllowList(clientid);
         fols.MdiParent = this.MdiParent;
         fols.Show();
     }
 }