Esempio n. 1
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     if (userBindingSource.Current != null)
     {
         frmUjUser fu = new frmUjUser();
         fu.uid = ((_User)userBindingSource.Current).USER_ID;
         fu.ShowDialog();
     }
 }
Esempio n. 2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     frmUjUser fu = new frmUjUser();
     fu.uid = -1;
     fu.ShowDialog();
     if (fu.DialogResult == DialogResult.OK)
     {
         initDataset();
     }
 }