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(); } }
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(); } } }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { FormVersion form = new FormVersion("About FLDesigner"); form.ShowDialog(this); //Form aboutForm = new AboutForm(); //aboutForm.ShowDialog(); }