Example #1
0
        public ConfigPresenter(IApplicationController applicationController, IConfigForm form)
        {
            this.applicationController = applicationController;
            this.form = form;

            manager = new ConfigManager();
        }
Example #2
0
        public ConfigPresenter(IApplicationController applicationController, IConfigForm form)
        {
            this.applicationController = applicationController;
            this.form = form;

            manager = new ConfigManager();
        }
Example #3
0
        public ConfigTabContent(IConfigForm form)
        {
            _form = form;
            InitializeComponent();

            // Reference container with the form to allow the state of the buttons
            // to be changed by the events on changes to the form.
            form.FormContainer = this;

            // Anchor the form to the four sides of the container.
            configContentPanel.Controls.Add((Control) _form);
            ((Control) _form).Anchor = AnchorStyles.Bottom |
                AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
        }