예제 #1
0
        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;
        }
예제 #2
0
        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;
        }