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

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

            frm.ShowDialog();
        }