Esempio n. 1
0
 public ToolPartialForm([NotNull] Model model, [NotNull] MdToHtmlConverter mdToHtmlConverter, [NotNull] ToolManager toolManager)
 {
     _model             = model ?? throw new ArgumentNullException(nameof(model));
     _mdToHtmlConverter = mdToHtmlConverter ?? throw new ArgumentNullException(nameof(mdToHtmlConverter));
     _toolManager       = toolManager ?? throw new ArgumentNullException(nameof(toolManager));
     InitializeComponent();
     ddlBioses.DisplayMember = nameof(BiosRowData.Name);
     ddlBioses.ValueMember   = nameof(BiosRowData.Id);
     txtReadme.Visible       = false;
     _wbReadme = new WebBrowser()
     {
         Dock = DockStyle.Fill
     };
     tlpRightColumn.Controls.Add(_wbReadme, 0, 0);
 }