Exemplo n.º 1
0
 private void SaveSettings_Click(object sender, EventArgs e)
 {
     FishingSettings.LureBar = KeysLureBar.SelectedItem.ToString();
     FishingSettings.LureKey = KeysLureKey.SelectedItem.ToString();
     FishingSettings.UseLure = UseLure.Checked;
     FishingSettings.SaveSettings();
     Close();
 }
Exemplo n.º 2
0
        public void Load()
        {
            var    executableFileInfo      = new FileInfo(Application.ExecutablePath);
            string executableDirectoryName = executableFileInfo.DirectoryName;

            OurDirectory = executableDirectoryName;
            FishingSettings.LoadSettings();
        }