private void ribbon_ItemClick(object sender, ItemClickEventArgs e) { if (e.Item.Name == CONSTANTS.MENU_NAME_LOGOUT) { if (frmConfirm.ShowConfirm( ((IMain)this).Language.LogoutTitle, ((IMain)this).Language.LogoutConfirm, this)) { barButtonItem1.Caption = ""; MainProcess.LogoutFromSystem(true); } } else { MainProcess.ExecuteMenu(e.Item.Name, e.Item.Tag as RibbonItemInfo); } }
private void mainBar_ItemClick(object sender, ItemClickEventArgs e) { MainProcess.ExecuteMenu(e.Item.Name, e.Item.Tag as MenuItemInfo); }
private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e) { MainProcess.ExecuteMenu("MNU_EXIT"); }