Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/17/12 21:46:00 (12 years ago)
Author:
jkarder
Message:

#1926:

  • added OpenArgument
  • refactored argument handling infrastructure
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/MainForms/MainForm.cs

    r7259 r8818  
    6868    }
    6969
     70    private IEnumerable<ICommandLineArgument> arguments;
     71    public IEnumerable<ICommandLineArgument> Arguments {
     72      get { return arguments; }
     73      set {
     74        if (arguments == null) arguments = value;
     75        else throw new InvalidOperationException("Arguments can only be set once and were already set.");
     76      }
     77    }
     78
    7079    public override Cursor Cursor {
    7180      get { return base.Cursor; }
Note: See TracChangeset for help on using the changeset viewer.