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

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

            frm.ShowDialog();
        }