示例#1
0
 private void CreateGroup(QTabItem contextMenuedTab) {
     NowModalDialogShown = true;
     QTUtility.RefreshGroupsDic();
     using(CreateNewGroupForm form = new CreateNewGroupForm(contextMenuedTab.CurrentPath, tabControl1.TabPages)) {
         if(NowTopMost) {
             form.TopMost = true;
         }
         if(DialogResult.OK == form.ShowDialog()) {
             QTUtility.SaveGroupsReg();
             SyncButtonBarBroadCast(1);
             SyncTaskBarMenu();
         }
     }
     NowModalDialogShown = false;
 }
示例#2
0
 private void CreateGroup(QTabItem contextMenuedTab)
 {
     NowModalDialogShown = true;
     using(CreateNewGroupForm form = new CreateNewGroupForm(contextMenuedTab.CurrentPath, tabControl1.TabPages)) {
         form.TopMost = true;
         form.ShowDialog();
     }
     NowModalDialogShown = false;
 }