Esempio n. 1
0
 private void menu_structureMan_itemClick(object sender, ItemClickEventArgs e)
 {
     if (!isButtonPressed(barBtn_StructureManager))
     {
         CurrentUC = new UCWorldList2();
         PressedButtonTrue(barBtn_StructureManager);
     }
 }
Esempio n. 2
0
 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);
     }
 }