Пример #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            stringStuff  = new StringStuff();
            csvParse     = new CsvParse();
            clipBoard    = new ClipBoard();
            txtPath.Text = Properties.Settings.Default.appDataPath;
            var roamingDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);

            rootDir = Path.Combine(roamingDirectory, @"LoonieTunes");
            Directory.CreateDirectory(rootDir);
            if (!string.IsNullOrEmpty(txtPath.Text))
            {
                btnProg.Visible = true;
            }
            if (!string.IsNullOrWhiteSpace(txtPath.Text))
            {
                btnCopy.Visible = true;
                PopulateDropDown();
                cmbRealmName.Text = Properties.Settings.Default.realmSelection;
            }
        }