private void lookdonvi_Properties_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            ButtonEdit editor = (ButtonEdit)sender;

            if (editor.Properties.Buttons.IndexOf(e.Button).ToString() == "1")
            {
                frmThemDonVi frm = new frmThemDonVi();
                frm.ShowDialog();
            }
            else
            {
                InitLookUp_DonVi();
            }
        }
Beispiel #2
0
        private void barLargeButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmThemDonVi frm = new frmThemDonVi();

            frm.ShowDialog();
        }