Changeset 2253 for trunk/sources/HeuristicLab.MainForm
- Timestamp:
- 08/06/09 18:11:42 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm/3.2
- Files:
-
- 5 added
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm/3.2/DockingMainForm.cs
r2252 r2253 59 59 DockForm dockForm = (DockForm)sender; 60 60 openViews.Remove(dockForm.View); 61 if (openViews.Count == 0) 62 activeView = null; 61 63 dockForm.Activated -= new EventHandler(DockFormActivated); 62 64 dockForm.FormClosing -= new FormClosingEventHandler(DockFormClosing); -
trunk/sources/HeuristicLab.MainForm/3.2/HeuristicLab.MainForm.csproj
r2243 r2253 83 83 <ItemGroup> 84 84 <Compile Include="Interfaces\IUserInterfaceItem.cs" /> 85 <Compile Include="MultipleDocumentMainForm.cs"> 86 <SubType>Form</SubType> 87 </Compile> 88 <Compile Include="MultipleDocumentMainForm.Designer.cs"> 89 <DependentUpon>MultipleDocumentMainForm.cs</DependentUpon> 90 </Compile> 85 91 <Compile Include="ToolStripMenuItemBase.cs" /> 86 92 <Compile Include="ToolStripButtonItemBase.cs" /> … … 120 126 <DependentUpon>DockForm.cs</DependentUpon> 121 127 </Compile> 128 <Compile Include="MultipleDocumentForm.cs"> 129 <SubType>Form</SubType> 130 </Compile> 131 <Compile Include="MultipleDocumentForm.Designer.cs"> 132 <DependentUpon>MultipleDocumentForm.cs</DependentUpon> 133 </Compile> 122 134 </ItemGroup> 123 135 <ItemGroup> … … 143 155 <SubType>Designer</SubType> 144 156 </EmbeddedResource> 157 <EmbeddedResource Include="MultipleDocumentMainForm.resx"> 158 <DependentUpon>MultipleDocumentMainForm.cs</DependentUpon> 159 </EmbeddedResource> 160 <EmbeddedResource Include="MultipleDocumentForm.resx"> 161 <DependentUpon>MultipleDocumentForm.cs</DependentUpon> 162 <SubType>Designer</SubType> 163 </EmbeddedResource> 145 164 </ItemGroup> 146 165 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
trunk/sources/HeuristicLab.MainForm/3.2/MultipleDocumentForm.cs
r2242 r2253 27 27 using System.Text; 28 28 using System.Windows.Forms; 29 using HeuristicLab.Core;30 29 31 namespace HeuristicLab. OptimizationFrontend{32 public partial class ViewForm : Form {30 namespace HeuristicLab.MainForm { 31 public partial class MultipleDocumentForm : Form { 33 32 private IView myView; 34 33 public IView View { … … 36 35 } 37 36 38 public ViewForm() {37 public MultipleDocumentForm() { 39 38 InitializeComponent(); 40 39 } 41 public ViewForm(IView view)40 public MultipleDocumentForm(IView view) 42 41 : this() { 43 42 myView = view;
Note: See TracChangeset
for help on using the changeset viewer.