Esempio n. 1
0
 private void mnuSub_Code_Click(object sender, EventArgs e)
 {
     try
     {
         frmSubscription_Code f = new frmSubscription_Code();
         f.txtCode.Text = dgvStore.CurrentRow.Cells["Code"].Value.ToString();
         f.txtName.Text = dgvStore.CurrentRow.Cells["Perssonel_Name"].Value.ToString();
         f.Find_Sub_Code();
         f.ShowDialog();
     }
     catch
     {
     }
 }
 private void btnSub_Code_Click(object sender, EventArgs e)
 {
     try
     {
         frmSubscription_Code f = new frmSubscription_Code();
         f.txtCode.Text = txtCode.Text;
         f.txtName.Text = txtName.Text;
         f.Find_Sub_Code();
         f.ShowDialog();
     }
     catch
     {
     }
 }