Beispiel #1
0
        private void btnConfig_Click(object sender, EventArgs e)
        {
            Config    configGetter = new Config();
            frmConfig frmconfig    = new frmConfig();

            frmconfig.txtHandPath.Text   = configGetter.GetHandPath();
            frmconfig.txtBackupPath.Text = configGetter.GetBackupPath();
            frmconfig.Show();
        }
Beispiel #2
0
        private void CheckConfigs()
        {
            Config config = new Config();

            if (!config.IsDefined())
            {
                MessageBox.Show("Please select the Hand Path where your hands are saved, and the backup path to where they yill be copied.");

                frmConfig frmconfig = new frmConfig();
                frmconfig.btnExit.Enabled = false;
                frmconfig.ShowDialog();
            }

            folderHands = config.GetHandPath() + @"\";
            backupHands = config.GetBackupPath() + @"\";
        }