- Timestamp:
- 10/05/11 21:55:55 (13 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 2 deleted
- 4 edited
- 2 copied
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.MainForm.WindowsForms/3.3
- Property svn:ignore
-
old new 4 4 obj 5 5 *.vs10x 6 Plugin.cs
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.MainForm.WindowsForms/3.3/HeuristicLab.MainForm.WindowsForms-3.3.csproj
r5463 r6878 41 41 <DebugType>full</DebugType> 42 42 <Optimize>false</Optimize> 43 <OutputPath> bin\Debug\</OutputPath>43 <OutputPath>$(SolutionDir)\bin\</OutputPath> 44 44 <DefineConstants>DEBUG;TRACE</DefineConstants> 45 45 <ErrorReport>prompt</ErrorReport> … … 50 50 <DebugType>pdbonly</DebugType> 51 51 <Optimize>true</Optimize> 52 <OutputPath> bin\Release\</OutputPath>52 <OutputPath>$(SolutionDir)\bin\</OutputPath> 53 53 <DefineConstants>TRACE</DefineConstants> 54 54 <ErrorReport>prompt</ErrorReport> 55 55 <WarningLevel>4</WarningLevel> 56 <DocumentationFile>bin\Release\HeuristicLab.MainForm.WindowsForms-3.3.xml</DocumentationFile> 56 <DocumentationFile> 57 </DocumentationFile> 57 58 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 58 59 </PropertyGroup> 59 60 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 60 61 <DebugSymbols>true</DebugSymbols> 61 <OutputPath> bin\x64\Debug\</OutputPath>62 <OutputPath>$(SolutionDir)\bin\</OutputPath> 62 63 <DefineConstants>DEBUG;TRACE</DefineConstants> 63 64 <DebugType>full</DebugType> … … 67 68 </PropertyGroup> 68 69 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 69 <OutputPath> bin\x64\Release\</OutputPath>70 <OutputPath>$(SolutionDir)\bin\</OutputPath> 70 71 <DefineConstants>TRACE</DefineConstants> 71 72 <Optimize>true</Optimize> … … 73 74 <PlatformTarget>x64</PlatformTarget> 74 75 <ErrorReport>prompt</ErrorReport> 75 <DocumentationFile>bin\x64\Release\HeuristicLab.MainForm.WindowsForms-3.3.xml</DocumentationFile> 76 <DocumentationFile> 77 </DocumentationFile> 76 78 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 77 79 </PropertyGroup> 78 80 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 79 81 <DebugSymbols>true</DebugSymbols> 80 <OutputPath> bin\x86\Debug\</OutputPath>82 <OutputPath>$(SolutionDir)\bin\</OutputPath> 81 83 <DefineConstants>DEBUG;TRACE</DefineConstants> 82 84 <DebugType>full</DebugType> … … 86 88 </PropertyGroup> 87 89 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 88 <OutputPath> bin\x86\Release\</OutputPath>90 <OutputPath>$(SolutionDir)\bin\</OutputPath> 89 91 <DefineConstants>TRACE</DefineConstants> 90 92 <Optimize>true</Optimize> … … 92 94 <PlatformTarget>x86</PlatformTarget> 93 95 <ErrorReport>prompt</ErrorReport> 94 <DocumentationFile>bin\x86\Release\HeuristicLab.MainForm.WindowsForms-3.3.xml</DocumentationFile> 96 <DocumentationFile> 97 </DocumentationFile> 95 98 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 96 99 </PropertyGroup> … … 110 113 <Reference Include="System.Data" /> 111 114 <Reference Include="System.Xml" /> 115 <Reference Include="WeifenLuo.WinFormsUI.Docking-2.3.1, Version=2.3.1.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 116 <HintPath>..\..\bin\WeifenLuo.WinFormsUI.Docking-2.3.1.dll</HintPath> 117 </Reference> 112 118 </ItemGroup> 113 119 <ItemGroup> … … 119 125 <DependentUpon>DragOverTabControl.cs</DependentUpon> 120 126 </Compile> 127 <Compile Include="Plugin.cs" /> 121 128 <Compile Include="Views\AsynchronousContentView.cs"> 122 129 <SubType>UserControl</SubType> … … 131 138 <DependentUpon>ContentView.cs</DependentUpon> 132 139 </Compile> 133 <None Include=" HeuristicLabMainFormWindowsFormsPlugin.cs.frame" />140 <None Include="Plugin.cs.frame" /> 134 141 <Compile Include="Controls\ControlExtensions.cs" /> 135 142 <Compile Include="MainForms\DockForm.cs"> … … 157 164 <DependentUpon>DocumentForm.cs</DependentUpon> 158 165 </Compile> 159 <Compile Include="HeuristicLabMainFormWindowsFormsPlugin.cs" />160 166 <Compile Include="MainForms\MainForm.cs"> 161 167 <SubType>Form</SubType> … … 200 206 <ItemGroup> 201 207 <None Include="HeuristicLab.snk" /> 202 <None Include="Properties\AssemblyInfo. frame" />208 <None Include="Properties\AssemblyInfo.cs.frame" /> 203 209 </ItemGroup> 204 210 <ItemGroup> … … 206 212 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project> 207 213 <Name>HeuristicLab.Common.Resources-3.3</Name> 214 <Private>False</Private> 208 215 </ProjectReference> 209 216 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj"> 210 217 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project> 211 218 <Name>HeuristicLab.Common-3.3</Name> 212 </ProjectReference> 213 <ProjectReference Include="..\..\HeuristicLab.ExtLibs\HeuristicLab.WinFormsUI\2.3.1\HeuristicLab.WinFormsUI-2.3.1\HeuristicLab.WinFormsUI-2.3.1.csproj"> 214 <Project>{678E2145-8152-4E19-9646-07D439D00301}</Project> 215 <Name>HeuristicLab.WinFormsUI-2.3.1 %28HeuristicLab.ExtLibs\HeuristicLab.WinFormsUI\HeuristicLab.WinFormsUI-2.3.1\HeuristicLab.WinFormsUI-2.3.1%29</Name> 216 </ProjectReference> 217 <ProjectReference Include="..\..\HeuristicLab.ExtLibs\HeuristicLab.WinFormsUI\2.3.1\WinFormsUI-2.3.1\WinFormsUI-2.3.1.csproj"> 218 <Project>{1849A92E-DCFC-4E05-BB0A-D7B7A3DAFCFB}</Project> 219 <Name>WinFormsUI-2.3.1</Name> 219 <Private>False</Private> 220 220 </ProjectReference> 221 221 <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj"> 222 222 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project> 223 223 <Name>HeuristicLab.MainForm-3.3</Name> 224 <Private>False</Private> 224 225 </ProjectReference> 225 226 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj"> 226 227 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project> 227 228 <Name>HeuristicLab.PluginInfrastructure-3.3</Name> 229 <Private>False</Private> 228 230 </ProjectReference> 229 231 </ItemGroup> … … 260 262 261 263 call PreBuildEvent.cmd 262 SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabMainFormWindowsFormsPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabMainFormWindowsFormsPlugin.cs"</PreBuildEvent>264 </PreBuildEvent> 263 265 </PropertyGroup> 264 266 </Project> -
branches/GeneralizedQAP/HeuristicLab.MainForm.WindowsForms/3.3/MainForms/MainForm.cs
r5463 r6878 31 31 public partial class MainForm : Form, IMainForm { 32 32 private bool initialized; 33 private int appStartingCursors; 34 private int waitingCursors; 33 35 34 36 protected MainForm() … … 39 41 this.initialized = false; 40 42 this.showContentInViewHost = false; 43 appStartingCursors = 0; 44 waitingCursors = 0; 41 45 } 42 46 … … 447 451 } 448 452 #endregion 453 454 #region Cursor Handling 455 public void SetAppStartingCursor() { 456 if (InvokeRequired) 457 Invoke(new Action(SetAppStartingCursor)); 458 else { 459 appStartingCursors++; 460 SetCursor(); 461 } 462 } 463 public void ResetAppStartingCursor() { 464 if (InvokeRequired) 465 Invoke(new Action(ResetAppStartingCursor)); 466 else { 467 appStartingCursors--; 468 SetCursor(); 469 } 470 } 471 public void SetWaitCursor() { 472 if (InvokeRequired) 473 Invoke(new Action(SetWaitCursor)); 474 else { 475 waitingCursors++; 476 SetCursor(); 477 } 478 } 479 public void ResetWaitCursor() { 480 if (InvokeRequired) 481 Invoke(new Action(ResetWaitCursor)); 482 else { 483 waitingCursors--; 484 SetCursor(); 485 } 486 } 487 private void SetCursor() { 488 if (waitingCursors > 0) Cursor = Cursors.WaitCursor; 489 else if (appStartingCursors > 0) Cursor = Cursors.AppStarting; 490 else Cursor = Cursors.Default; 491 } 492 #endregion 449 493 } 450 494 }
Note: See TracChangeset
for help on using the changeset viewer.