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(); } }
private void barLargeButtonItem8_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmThemPhanPhoi frm = new frmThemPhanPhoi(); frm.ShowDialog(); }