/// <summary>
        /// Initializes a new instance of the <see cref="QueueDefinitionUserControl"/> class.
        /// </summary>
        /// <param name="manager">The manager.</param>
        public QueueDefinitionUserControl(QueueManager manager)
        {
            InitializeComponent();

            _control = new DriverInstallUserControl(manager);
            _manager = manager;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DriverInstallForm"/> class.
        /// </summary>
        public DriverInstallForm(QueueManager manager)
        {
            _control = new DriverInstallUserControl(manager);

            InitializeComponent();

            _control.Dock = DockStyle.Fill;
            editControl_Panel.Controls.Add(_control);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DriverUpgradeForm"/> class.
        /// </summary>
        /// <param name="queueManager">The manager.</param>
        public DriverUpgradeForm(QueueManager queueManager)
        {
            InitializeComponent();
            InitializeInlineComponent();

            _control      = new DriverInstallUserControl(queueManager);
            _control.Dock = DockStyle.Fill;

            _upgradeManager = new DriverUpgradeManager(queueManager);
            _upgradeManager.StatusChange     += new EventHandler <StatusEventArgs>(_manager_StatusChange);
            _upgradeManager.DataUpdated      += new EventHandler(_manager_DataUpdated);
            _upgradeManager.UpgradeCompleted += new EventHandler(_upgradeManager_UpgradeCompleted);

            driverToUpgrade_GridView.AutoGenerateColumns = false;
        }