Esempio n. 1
0
 private void bT_Next_Click(object sender, EventArgs e)
 {
     DataController.GetSingleton().nameFile(textBox1.Text);
     FormController.GetSingleton().changeRooms();
     this.Enabled = false;
     this.Visible = false;
 }
Esempio n. 2
0
 public static FormController GetSingleton()
 {
     if (singleton == null)
     {
         singleton = new FormController();
     }
     return(singleton);
 }
Esempio n. 3
0
        private void bT_Next_Click(object sender, EventArgs e)
        {
            if (opt1.Checked)
            {
                value = 1;
            }
            else if (opt2.Checked)
            {
                value = 2;
            }
            else if (opt3.Checked)
            {
                value = 3;
            }

            DataController.GetSingleton().populateLever(value);

            FormController.GetSingleton().changeRooms();
            this.Enabled = false;
            this.Visible = false;
        }
Esempio n. 4
0
 private void bT_Next_Click(object sender, EventArgs e)
 {
     FormController.GetSingleton().changeRooms();
     this.Enabled = false;
     this.Visible = false;
 }