Esempio n. 1
0
 private void CheckRadiDonVi()
 {
     if (int.Parse(radCheck.EditValue.ToString()) == 1)
     {
         frmDonViList frm = new frmDonViList();
         frm.ShowDialog();
     }
     else
     if (int.Parse(radCheck.EditValue.ToString()) == 2)
     {
         lookUpDonvi.Enabled = false;
         string text = lookUpDonvi.Text;
         this.lookUpDonvi.Text = text;
     }
     else
     if (int.Parse(radCheck.EditValue.ToString()) == 3)
     {
         lookUpDonvi.Enabled = true;
     }
 }
Esempio n. 2
0
        private void btnDonVi_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmDonViList frm = new frmDonViList();

            frm.ShowDialog();
        }