Changeset 6878 for branches/GeneralizedQAP/HeuristicLab.Optimizer/3.3/MenuItems/ClipboardMenuItem.cs
- Timestamp:
- 10/05/11 21:55:55 (13 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP
- Property svn:ignore
-
old new 1 *.docstates 2 *.psess 1 3 *.resharper 2 4 *.suo 5 *.vsp 3 6 Google.ProtocolBuffers-0.9.1.dll 7 HeuristicLab 3.3.5.1.ReSharper.user 8 HeuristicLab 3.3.6.0.ReSharper.user 4 9 HeuristicLab.4.5.resharper.user 5 10 HeuristicLab.resharper.user … … 8 13 _ReSharper.HeuristicLab 9 14 _ReSharper.HeuristicLab 3.3 15 _ReSharper.HeuristicLab.ExtLibs 16 bin 10 17 protoc.exe 11 HeuristicLab 3.3.5.1.ReSharper.user 12 *.psess 13 *.vsp 14 *.docstates 18 HeuristicLab.ExtLibs.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Optimizer/3.3
- Property svn:ignore
-
old new 4 4 HeuristicLabOptimizerPlugin.cs 5 5 *.vs10x 6 Plugin.cs
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Optimizer/3.3/MenuItems/ClipboardMenuItem.cs
r5445 r6878 68 68 69 69 public override void Execute() { 70 IView clipboard = ((OptimizerMainForm)MainFormManager.MainForm).Clipboard; 71 if (clipboard.IsShown) { 72 clipboard.Hide(); 73 } else { 74 clipboard.Show(); 70 IView clipboard = null; 71 if (MainFormManager.MainForm is OptimizerDockingMainForm) { 72 clipboard = ((OptimizerDockingMainForm)MainFormManager.MainForm).Clipboard; 73 } else if (MainFormManager.MainForm is OptimizerMultipleDocumentMainForm) { 74 clipboard = ((OptimizerMultipleDocumentMainForm)MainFormManager.MainForm).Clipboard; 75 } else if (MainFormManager.MainForm is OptimizerSingleDocumentMainForm) { 76 clipboard = ((OptimizerSingleDocumentMainForm)MainFormManager.MainForm).Clipboard; 77 } 78 79 if (clipboard != null) { 80 if (clipboard.IsShown) { 81 clipboard.Hide(); 82 } else { 83 clipboard.Show(); 84 } 75 85 } 76 86 }
Note: See TracChangeset
for help on using the changeset viewer.