Changeset 2253 for trunk/sources
- Timestamp:
- 08/06/09 18:11:42 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 added
- 3 edited
- 2 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.Test/3.2/HeuristicLab.MainForm.Test-3.2.csproj
r2250 r2253 87 87 <Compile Include="ButtonItems\SaveToolStripButtonItem.cs" /> 88 88 <Compile Include="ButtonItems\OpenToolStripButtonItem.cs" /> 89 <Compile Include="HeuristicLabMultipleDocumentMainFormTestApplication.cs" /> 89 90 <Compile Include="EditorView.cs"> 90 91 <SubType>UserControl</SubType> … … 109 110 <Compile Include="Actions\SaveAction.cs" /> 110 111 <Compile Include="MenuItems\SaveToolStripMenuItem.cs" /> 111 <Compile Include="HeuristicLab MainFormTestApplication.cs" />112 <Compile Include="HeuristicLabDockingMainFormTestApplication.cs" /> 112 113 <Compile Include="HeuristicLabMainFormTestPlugin.cs" /> 113 114 <Compile Include="ITestUserInterfaceItemProvider.cs" /> -
trunk/sources/HeuristicLab.MainForm.Test/3.2/HeuristicLabDockingMainFormTestApplication.cs
r2243 r2253 28 28 29 29 namespace HeuristicLab.MainForm.Test { 30 [ClassInfo(Name = " MainForm Test", Description="Test application for new mainform development.")]31 class GridClientApplication : ApplicationBase {30 [ClassInfo(Name = "DockingMainForm Test", Description = "Test application for new mainform development.")] 31 public class HeuristicLabDockingMainFormTestApplication : ApplicationBase { 32 32 public override void Run() { 33 33 DockingMainForm mainForm = new DockingMainForm(typeof(ITestUserInterfaceItemProvider)); -
trunk/sources/HeuristicLab.MainForm.Test/3.2/HeuristicLabMultipleDocumentMainFormTestApplication.cs
r2243 r2253 28 28 29 29 namespace HeuristicLab.MainForm.Test { 30 [ClassInfo(Name = "M ainForm Test", Description="Test application for new mainform development.")]31 class GridClientApplication : ApplicationBase {30 [ClassInfo(Name = "MultipleDocumentMainForm Test", Description="Test application for new mainform development.")] 31 public class HeuristicLabMultipleDocumentMainFormTestApplication : ApplicationBase { 32 32 public override void Run() { 33 DockingMainForm mainForm = new DockingMainForm(typeof(ITestUserInterfaceItemProvider));33 MultipleDocumentMainForm mainForm = new MultipleDocumentMainForm(typeof(ITestUserInterfaceItemProvider)); 34 34 mainForm.Title = "Test new MAINFORM concept"; 35 35 Application.Run(mainForm); -
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.