Ejemplo n.º 1
0
 private void DialogButton4_Click(object sender, EventArgs e)
 {
     if //Get script location to textbox
     (MinerLocationDialog.ShowDialog() == DialogResult.OK)
     {
         textBoxScriptClose.Text = MinerLocationDialog.FileName;               // set textbox to display selected program
         Properties.Settings.Default["CloseScript"] = textBoxScriptClose.Text; //Store name in settings
     }
 }
Ejemplo n.º 2
0
 private void DialogButton_Click(object sender, EventArgs e)
 {
     if //Get file to textbox
     (MinerLocationDialog.ShowDialog() == DialogResult.OK)
     {
         MinerTextBox.Text = MinerLocationDialog.FileName; // set textbox to display selected program
         GetKillName();
     }
 }
Ejemplo n.º 3
0
 private void DialogButton2_Click(object sender, EventArgs e)
 {
     if //Get config file to textbox
     (MinerLocationDialog.ShowDialog() == DialogResult.OK)
     {
         ConfigTextBox.Text = MinerLocationDialog.FileName;                                     // set textbox to display selected program
         Properties.Settings.Default["ConfigLocationVALUE"] = ConfigTextBox.Text;               //Store name in settings
         Properties.Settings.Default["ConfigName"]          = MinerLocationDialog.SafeFileName; //Store only filename in settings
     }
 }