public GdalDriverOptionsView(IAppContext context, ParameterControlGenerator controlGenerator, IStyleService styleService) : base(context, controlGenerator) { if (styleService == null) { throw new ArgumentNullException("styleService"); } _styleService = styleService; InitializeComponent(); }
/// <summary> /// Initializes a new instance of the <see cref="ToolView"/> class. /// </summary> public ToolView(IAppContext context, ParameterControlGenerator controlGenerator) { if (context == null) { throw new ArgumentNullException("context"); } if (controlGenerator == null) { throw new ArgumentNullException("controlGenerator"); } _context = context; _generator = controlGenerator; InitializeComponent(); panelOptional.Controls.Clear(); panelRequired.Controls.Clear(); }
/// <summary> /// Initializes a new instance of the <see cref="ToolView"/> class. /// </summary> public GdalView(IAppContext context, ParameterControlGenerator controlGenerator) : base(context, controlGenerator) { _generator.EventManager.ControlValueChanged += OnControlValueChanged; }
public GdalConvertView(IAppContext context, ParameterControlGenerator controlGenerator, IStyleService styleService) : base(context, controlGenerator, styleService) { InitializeComponent(); }