コード例 #1
0
        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();
            }
        }
コード例 #2
0
        private void barLargeButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmThemNhomHang frm = new frmThemNhomHang();

            frm.ShowDialog();
        }