Exemple #1
0
        private void buttonAddVersion_Click(object sender, EventArgs e)
        {
            Version     version = new Version();
            FormVersion form    = new FormVersion(version);

            if (form.ShowDialog() == DialogResult.OK)
            {
                versions.Add(version);
                DrawVersions();
                RefreshOthers();
            }
        }
Exemple #2
0
 private void buttonChangeVersion_Click(object sender, EventArgs e)
 {
     if (listViewVersions.SelectedIndices.Count == 1)
     {
         Version     version = (Version)listViewVersions.SelectedItems[0].Tag;
         FormVersion form    = new FormVersion(version);
         if (form.ShowDialog() == DialogResult.OK)
         {
             DrawVersions();
             RefreshOthers();
         }
     }
 }
Exemple #3
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormVersion form = new FormVersion("About FLDesigner");
            form.ShowDialog(this);

            //Form aboutForm = new AboutForm();
            //aboutForm.ShowDialog();
        }