private void InitializeTaskPane()
        {
            Controls.Clear();

            _metadataSummaryControl = new MetadataSummaryControl { Dock = DockStyle.Top, Visible = true };

            _backControl = new BrowseBackControl(Constants.TheseFilesAreInPasswordEncryptedLong) { Dock = DockStyle.Top, Visible = true, Height = 141};
            _backControl.OnBackClicked += (sender, args) => _presenter.ShowPage(PageType.SupportedFiles);


            _presenter.StatusUpdate += OnStatusUpdate;

            _filesPanel = new Panel { Visible = true, Dock = DockStyle.Top, AutoSize = true};
            this.Controls.Add(_filesPanel);
            Controls.Add(_backControl);
            Controls.Add(_metadataSummaryControl);

            SetRiskAnalysisSummary();
        }
Ejemplo n.º 2
0
        private void InitializeTaskPane()
        {
            Controls.Clear();

            _filesPanel = new TableLayoutPanel();
            _filesPanel.Controls.Clear();
            _filesPanel.RowStyles.Clear();
            _filesPanel.Dock = DockStyle.Top;
            _filesPanel.AutoSize = true;

            _metadataSummaryControl = new MetadataSummaryControl {Dock = DockStyle.Top, Visible = true};

            _backControl = new BrowseBackControl(Constants.TheseFilesAreInUnsupportedFormats) {Dock = DockStyle.Top, Visible = true, Height = 100};
            _backControl.OnBackClicked += (sender, args) => _presenter.ShowPage(PageType.SupportedFiles);

            _presenter.StatusUpdate += OnStatusUpdate;

            Controls.Add(_filesPanel);
            Controls.Add(_backControl);
            Controls.Add(_metadataSummaryControl);
        }