Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3292


Ignore:
Timestamp:
04/09/10 03:34:39 (14 years ago)
Author:
swagner
Message:

Added empty clipboard control (#965).

Location:
trunk/sources
Files:
3 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r3289 r3292  
    8787  <ItemGroup>
    8888    <None Include="HeuristicLabCoreViewsPlugin.cs.frame" />
     89    <Compile Include="Clipboard.cs">
     90      <SubType>UserControl</SubType>
     91    </Compile>
     92    <Compile Include="Clipboard.Designer.cs">
     93      <DependentUpon>Clipboard.cs</DependentUpon>
     94    </Compile>
    8995    <Compile Include="LogView.cs">
    9096      <SubType>UserControl</SubType>
  • trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj

    r3226 r3292  
    8787    <None Include="HeuristicLabOptimizerPlugin.cs.frame" />
    8888    <Compile Include="FileManager.cs" />
     89    <Compile Include="MenuItems\ClipboardMenuItem.cs" />
    8990    <Compile Include="MenuItems\StartPageMenuItem.cs" />
    9091    <Compile Include="Properties\Settings.Designer.cs">
  • trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/OperatorsMenuItem.cs

    r3290 r3292  
    3838    }
    3939    public override int Position {
    40       get { return 2200; }
     40      get { return 2300; }
    4141    }
    4242
  • trunk/sources/HeuristicLab.Optimizer/3.3/OptimizerMainForm.cs

    r3290 r3292  
    3030namespace HeuristicLab.Optimizer {
    3131  internal partial class OptimizerMainForm : DockingMainForm {
     32    private HeuristicLab.Core.Views.Clipboard clipboard;
     33    public HeuristicLab.Core.Views.Clipboard Clipboard {
     34      get { return clipboard; }
     35    }
     36
    3237    public OptimizerMainForm()
    3338      : base() {
     
    4752      if (version != null) Title += " " + version.Version;
    4853      ViewClosed += new EventHandler<ViewEventArgs>(FileManager.ViewClosed);
     54
     55      clipboard = new HeuristicLab.Core.Views.Clipboard();
     56      clipboard.Dock = DockStyle.Left;
     57      if (Properties.Settings.Default.ShowClipboard) {
     58        clipboard.Show();
     59      }
    4960      if (Properties.Settings.Default.ShowOperatorsSidebar) {
    5061        OperatorsSidebar operatorsSidebar = new OperatorsSidebar();
  • trunk/sources/HeuristicLab.Optimizer/3.3/Properties/Settings.Designer.cs

    r3290 r3292  
    4747            }
    4848        }
     49       
     50        [global::System.Configuration.UserScopedSettingAttribute()]
     51        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     52        [global::System.Configuration.DefaultSettingValueAttribute("True")]
     53        public bool ShowClipboard {
     54            get {
     55                return ((bool)(this["ShowClipboard"]));
     56            }
     57            set {
     58                this["ShowClipboard"] = value;
     59            }
     60        }
    4961    }
    5062}
  • trunk/sources/HeuristicLab.Optimizer/3.3/Properties/Settings.settings

    r3290 r3292  
    99      <Value Profile="(Default)">False</Value>
    1010    </Setting>
     11    <Setting Name="ShowClipboard" Type="System.Boolean" Scope="User">
     12      <Value Profile="(Default)">True</Value>
     13    </Setting>
    1114  </Settings>
    1215</SettingsFile>
  • trunk/sources/HeuristicLab.Optimizer/3.3/StartPage.cs

    r3291 r3292  
    5757      samplesListView.Enabled = false;
    5858      showStartPageCheckBox.Checked = Properties.Settings.Default.ShowStartPage;
    59       Cursor = Cursors.AppStarting;
    6059
    6160      ThreadPool.QueueUserWorkItem(new WaitCallback(LoadSamples));
     
    113112        }
    114113        loadingPanel.Visible = false;
    115         Cursor = Cursors.Default;
    116114      }
    117115    }
  • trunk/sources/HeuristicLab.Optimizer/3.3/app.config

    r3290 r3292  
    1414                <value>False</value>
    1515            </setting>
     16            <setting name="ShowClipboard" serializeAs="String">
     17                <value>True</value>
     18            </setting>
    1619        </HeuristicLab.Optimizer.Properties.Settings>
    1720    </userSettings>
Note: See TracChangeset for help on using the changeset viewer.