예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            base.setConfigValue("ArchiveUnprocessedHands", "0");
            StorageForm f = new StorageForm(this);

            f.Show();
            this.Hide();
        }
예제 #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            base.setConfigValue("ArchiveUnprocessedHands", "1");
            string workingDir = ConfigurationManager.AppSettings["WorkingDirectory"];
            string archiveDir = Directory.GetParent(workingDir) + "\\archive\\";

            if (Directory.Exists(archiveDir) == false)
            {
                Directory.CreateDirectory(archiveDir);
            }
            base.setConfigValue("ArchiveHandsFolder", archiveDir);
            StorageForm f = new StorageForm(this);

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