Beispiel #1
0
 private void btnBackgroundImg_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() != DialogResult.Cancel)
     {
         if (openFileDialog1.FileName != null && openFileDialog1.FileName != String.Empty)
         {
             Settings.data.backgroundImgName = openFileDialog1.FileName;
             UpdateControls();
             sf.loadBackgroundImg(Settings.data.backgroundImgName);
         }
     }
 }