Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            base.setConfigValue("StoreHands", "0");
            SetupHUDForm f = new SetupHUDForm(this);

            f.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void button3_Click(object sender, EventArgs e)
        {
            base.setConfigValue("StoreHands", "1");
            string workingDir = ConfigurationManager.AppSettings["WorkingDirectory"];
            string storageDir = Directory.GetParent(workingDir) + "\\storage\\";

            if (Directory.Exists(storageDir) == false)
            {
                Directory.CreateDirectory(storageDir);
            }
            base.setConfigValue("StorageFolder", storageDir);
            SetupHUDForm f = new SetupHUDForm(this);

            f.Show();
            this.Hide();
        }