public GdalDriverOptionsView(IAppContext context, ParameterControlGenerator controlGenerator, IStyleService styleService)
            : base(context, controlGenerator)
        {
            if (styleService == null)
            {
                throw new ArgumentNullException("styleService");
            }
            _styleService = styleService;

            InitializeComponent();
        }
Exemple #2
0
        /// <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();
        }
Exemple #3
0
 /// <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;
 }
Exemple #4
0
 public GdalConvertView(IAppContext context, ParameterControlGenerator controlGenerator, IStyleService styleService)
     : base(context, controlGenerator, styleService)
 {
     InitializeComponent();
 }