예제 #1
0
 private void openButton_Click(object sender, EventArgs e)
 {
     OpenFileDialog dialog = new OpenFileDialog();
     dialog.CheckFileExists = true;
     dialog.CheckPathExists = true;
     dialog.AddExtension = true;
     dialog.DefaultExt = ".futb";
     dialog.Filter = "Funktagebuch|*.futb";
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         funktagebuch = Funktagebuch.Open(dialog.FileName);
     }
 }
예제 #2
0
 private void mainForm_Shown(object sender, EventArgs e)
 {
     funktagebuch = new Funktagebuch();
     AskForInfos();
     UpdateViews();
 }