public Setting(Panel panel) { InitializeComponent(); if (!Properties.Settings.Default.pdfList.Equals("")) { PDF__Check.Checked = true; } if (!Properties.Settings.Default.txtList.Equals("")) { TXT_Check.Checked = true; } if (!Properties.Settings.Default.hwpList.Equals("")) { HWP_Check.Checked = true; } if (!Properties.Settings.Default.docList.Equals("")) { DOC_Text.Checked = true; } if (!Properties.Settings.Default.Path_Scope.Equals("")) { Scope_Text.AppendText(Properties.Settings.Default.Path_Scope); } Home_Panel = panel; }
private void ChangeLocation_Btn_Click(object sender, EventArgs e) { FolderBrowserDialog fbd = new FolderBrowserDialog(); if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Scope_Text.Clear(); Scope_Text.AppendText(fbd.SelectedPath); } return; }