private void menu_structureMan_itemClick(object sender, ItemClickEventArgs e) { if (!isButtonPressed(barBtn_StructureManager)) { CurrentUC = new UCWorldList2(); PressedButtonTrue(barBtn_StructureManager); } }
private void barBtn_WgrManager_ItemClick(object sender, ItemClickEventArgs e) { /*if (!isButtonPressed(btnStructure)) { CurrentUC = new UCWorldList2(); PressedButtonTrue(btnStructure); } * */ if (!isButtonPressed(barBtn_StructureManager)) { CurrentUC = new UCWorldList2(); PressedButtonTrue(barBtn_StructureManager); } }