Exemple #1
0
 private void lastElfToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (File.Exists(Properties.Settings.Default.LastElf0))
     {
         variablesForm = new VariableViewForm();
         variablesForm.LoadElf(Properties.Settings.Default.LastElf0);
         variablesForm.MdiParent = this;
         variablesForm.Show();
     }
 }
Exemple #2
0
        private void elfToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (elfFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                variablesForm = new VariableViewForm();
                variablesForm.LoadElf(elfFileDialog.FileName);
                variablesForm.MdiParent = this;
                variablesForm.Show();

                Properties.Settings.Default.LastElf0 = elfFileDialog.FileName;
                Properties.Settings.Default.Save();
            }
        }