public BrowseScriptsPageControl() { m_ChromiumControl = new ChromiumControl("index.html", ObjectFactory.Get <ISscOperations>(), m_ScriptSnippets, new SscEndpoints()) { Dock = DockStyle.Fill }; Controls.Add(m_ChromiumControl); m_CredentialsManager.Changed += OnCredentialsChanged; }
public AppForm(ChromiumControl control) { Controls.Add(control); Text = "Audition"; Icon = Resources.AuditionIcon; Size = new Size(800, 880); MinimumSize = new Size(800, 300); FormBorderStyle = FormBorderStyle.Sizable; StartPosition = FormStartPosition.CenterParent; WindowState = FormWindowState.Maximized; }