Esempio n. 1
0
        static void Main()
        {
            BuilderForm.AddService(new MyTypeDiscoverer());
            BuilderForm.AddService(new MyApplication());
            BuilderForm win = new BuilderForm();

            win.ShowDialog();
        }
Esempio n. 2
0
        private void btnBuilder_Click(object sender, EventArgs e)
        {
            BuilderForm builderForm = new BuilderForm();

            this.Hide();
            builderForm.ShowDialog();
            this.Show();
        }