Exemple #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            IngressForm ingress = new IngressForm();

            ingress.Init();
            Application.Run(ingress);
        }
Exemple #2
0
        private static void staticAddSceneButton_Click(object sender, EventArgs e)
        {
            string input = "";

            if (IngressForm.ShowInputDialog("Enter Scene Name", ref input) == DialogResult.OK)
            {
                IngressForm.GetInstance().AddScene(input);
                IngressListDialog.GetInstance().updateListBox();
                IngressListDialog.GetInstance().listBox.SelectedIndex = IngressListDialog.GetInstance().listBox.Items.Count - 1;

                //if (!_scenes.Contains(input))
                //{
                //    _scenes.Add(input);
                //    sender.SceneListBox.Items.Add(input);
                //}
            }
        }
Exemple #3
0
 public IngressForm()
 {
     InitializeComponent();
     _instance = this;
 }