private void aboutButton_Click(object sender, EventArgs e) { AboutBox about = new AboutBox(); about.ShowDialog(); about.Dispose(); }
private void AboutBtn_Click(object sender, EventArgs e) { var about = new AboutBox(); about.ShowDialog(); about.Dispose(); }
/// <Summary> /// Display the About box dialog /// <Summary> /// <param name="sender">The source of the event.</param> /// <param name="e">A <see cref="EventArgs"/> that contains the event data.</param> private void OnAboutClick(object sender, EventArgs e) { AboutBox aboutBox = new AboutBox(); aboutBox.ShowDialog(); aboutBox.Dispose(); }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutBox tAbout = new AboutBox(); tAbout.ShowDialog(); tAbout.Dispose(); }
private void aboutSharpWiredToolStripMenuItem_Click(object sender, EventArgs e) { var box = new AboutBox(); box.ShowDialog(); box.Dispose(); }
public void ShowAboutDialog() { var about = new AboutBox { StartPosition = FormStartPosition.CenterParent }; about.ShowDialog(); about.Dispose(); }