Changeset 9363 for branches/OaaS/HeuristicLab.MainForm.WindowsForms
- Timestamp:
- 04/16/13 13:13:41 (12 years ago)
- Location:
- branches/OaaS
- Files:
-
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.designer.cs
r8187 r9363 1 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 2 22 namespace HeuristicLab.MainForm.WindowsForms { 3 23 partial class ProgressView { -
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewContextMenuStrip.cs
r7259 r9363 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.ComponentModel; 24 25 using System.Linq; 25 26 using System.Windows.Forms; … … 33 34 } 34 35 35 public ViewContextMenuStrip(object item) 36 : this() { 37 this.Item = item; 36 public ViewContextMenuStrip(IContainer container) 37 : base(container) { 38 InitializeComponent(); 39 this.menuItems = new Dictionary<Type, ToolStripMenuItem>(); 40 this.ignoredViewTypes = new List<Type>(); 38 41 } 39 42 … … 63 66 if (InvokeRequired) Invoke((Action)RefreshMenuItems); 64 67 else { 68 foreach (ToolStripMenuItem m in menuItems.Values) 69 m.Dispose(); 65 70 this.Items.Clear(); 66 71 this.menuItems.Clear(); -
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.Designer.cs
r7967 r9363 48 48 this.messageLabel = new System.Windows.Forms.Label(); 49 49 this.viewsLabel = new System.Windows.Forms.Label(); 50 this.viewContextMenuStrip = new HeuristicLab.MainForm.WindowsForms.ViewContextMenuStrip( );50 this.viewContextMenuStrip = new HeuristicLab.MainForm.WindowsForms.ViewContextMenuStrip(this.components); 51 51 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 52 52 this.configurationLabel = new System.Windows.Forms.Label(); … … 66 66 // 67 67 this.viewsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 68 this.viewsLabel.ContextMenuStrip = this.viewContextMenuStrip; 68 69 this.viewsLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Windows; 69 70 this.viewsLabel.Location = new System.Drawing.Point(211, 0); -
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.cs
r7259 r9363 181 181 activeView.CaptionChanged += new EventHandler(activeView_CaptionChanged); 182 182 activeView.LockedChanged += new EventHandler(activeView_LockedChanged); 183 activeView.Changed += new EventHandler(activeView_Changed); 183 184 } 184 185 private void DeregisterActiveViewEvents() { 185 186 activeView.CaptionChanged -= new EventHandler(activeView_CaptionChanged); 186 187 activeView.LockedChanged -= new EventHandler(activeView_LockedChanged); 188 activeView.Changed -= new EventHandler(activeView_Changed); 187 189 } 188 190 private void activeView_CaptionChanged(object sender, EventArgs e) { … … 193 195 configurationLabel.Enabled = !activeView.Locked; 194 196 } 197 private void activeView_Changed(object sender, EventArgs e) { 198 OnChanged(); 199 } 195 200 196 201 protected override void OnSizeChanged(EventArgs e) { 197 202 //mkommend: solution to resizing issues. taken from http://support.microsoft.com/kb/953934 198 203 //not implemented with a panel to reduce the number of nested controls 199 if (Handle != null) 204 //also cf. http://connect.microsoft.com/VisualStudio/feedback/details/98368/csc-incorrectly-allows-comparison-between-intptr-and-null 205 if (Handle != IntPtr.Zero) 200 206 this.BeginInvoke((Action<EventArgs>)OnSizeChangedHelper, e); 201 207 } -
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/HeuristicLab.MainForm.WindowsForms-3.3.csproj
r9253 r9363 113 113 <Reference Include="System.Data" /> 114 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>115 <Reference Include="WeifenLuo.WinFormsUI.Docking-2.7.0, Version=2.7.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 116 <HintPath>..\..\bin\WeifenLuo.WinFormsUI.Docking-2.7.0.dll</HintPath> 117 117 <Private>False</Private> 118 118 </Reference> … … 126 126 <DependentUpon>DragOverTabControl.cs</DependentUpon> 127 127 </Compile> 128 <Compile Include="Dialogs\DefineArithmeticProgressionTimeDialog.cs"> 129 <SubType>Form</SubType> 130 </Compile> 131 <Compile Include="Dialogs\DefineArithmeticProgressionTimeDialog.Designer.cs"> 132 <DependentUpon>DefineArithmeticProgressionTimeDialog.cs</DependentUpon> 133 </Compile> 134 <Compile Include="Dialogs\DefineArithmeticProgressionDialog.cs"> 135 <SubType>Form</SubType> 136 </Compile> 137 <Compile Include="Dialogs\DefineArithmeticProgressionDialog.Designer.cs"> 138 <DependentUpon>DefineArithmeticProgressionDialog.cs</DependentUpon> 139 </Compile> 128 140 <Compile Include="Plugin.cs" /> 129 141 <Compile Include="Views\AsynchronousContentView.cs"> … … 141 153 <None Include="Plugin.cs.frame" /> 142 154 <Compile Include="Controls\ControlExtensions.cs" /> 143 <Compile Include="MainForms\DockForm.cs" /> 155 <Compile Include="MainForms\DockForm.cs"> 156 <SubType>Form</SubType> 157 </Compile> 144 158 <Compile Include="MainForms\DockForm.Designer.cs"> 145 159 <DependentUpon>DockForm.cs</DependentUpon> … … 252 266 </BootstrapperPackage> 253 267 </ItemGroup> 268 <ItemGroup /> 254 269 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 255 270 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. … … 261 276 --> 262 277 <PropertyGroup> 263 <PreBuildEvent >set Path=%25Path%25;$(ProjectDir);$(SolutionDir)278 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 264 279 set ProjectDir=$(ProjectDir) 265 280 set SolutionDir=$(SolutionDir) … … 268 283 call PreBuildEvent.cmd 269 284 </PreBuildEvent> 285 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 286 export ProjectDir=$(ProjectDir) 287 export SolutionDir=$(SolutionDir) 288 289 $SolutionDir/PreBuildEvent.sh 290 </PreBuildEvent> 270 291 </PropertyGroup> 271 292 </Project> -
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Plugin.cs.frame
r7259 r9363 26 26 27 27 namespace HeuristicLab.MainForm.WindowsForms { 28 [Plugin("HeuristicLab.MainForm.WindowsForms", "3.3. 6.$WCREV$")]28 [Plugin("HeuristicLab.MainForm.WindowsForms", "3.3.7.$WCREV$")] 29 29 [PluginFile("HeuristicLab.MainForm.WindowsForms-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Common", "3.3")] 31 31 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] 32 32 [PluginDependency("HeuristicLab.MainForm", "3.3")] 33 [PluginDependency("HeuristicLab.WinFormsUI", "2. 3.1")]33 [PluginDependency("HeuristicLab.WinFormsUI", "2.7")] 34 34 public class HeuristicLabMainFormPlugin : PluginBase { 35 35 } -
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Properties/AssemblyInfo.cs.frame
r7259 r9363 54 54 // by using the '*' as shown below: 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3. 6.$WCREV$")]56 [assembly: AssemblyFileVersion("3.3.7.$WCREV$")]
Note: See TracChangeset
for help on using the changeset viewer.