static void aboutmessage() { var about = new AboutForm(); about.ShowDialog(); about.Dispose(); }
protected void OnAboutMenuItemActivated(object sender, EventArgs e) { AboutForm aboutForm = new AboutForm(); aboutForm.Modal = true; aboutForm.Show(); aboutForm.Dispose(); }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutForm about = new AboutForm(); about.Show(); if (about.AcceptButton.DialogResult == DialogResult.OK) { about.Dispose(); } }
/// <summary> /// About button clicked - show the about form. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void menuItemAbout_Click(object sender, System.EventArgs e) { // Only display it if we're not already. if (!this.aboutVisible) { this.aboutVisible = true; AboutForm af = new AboutForm(); af.ShowDialog(this); af.Dispose(); this.aboutVisible = false; // Activate (select) ourselves if the form is visible. if (this.Opacity == 1.0) { this.Select(); } } }
private void DisplayAbout() { AboutForm f = new AboutForm(); try { f.ShowDialog(this); } finally { f.Dispose(); } }
/// <summary> /// Handles the Click event of the buttonAbout control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void buttonAbout_Click(object sender, System.EventArgs e) { AboutForm about = new AboutForm(); about.ShowDialog(this); about.Dispose(); }
private void menuAbout_Click(object sender, EventArgs e) { Form aboutForm = new AboutForm(); try { aboutForm.ShowDialog(); } finally { aboutForm.Dispose(); } }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutForm frm = new AboutForm(); frm.Owner = this; frm.appVersion = CURRENT_VERSION; frm.ShowDialog(); frm.Dispose(); }
/// <summary> /// Displays the applications About box. /// </summary> public void ShowAboutBox() { AboutForm aboutForm = new AboutForm(); aboutForm.ShowDialog(_primaryForms.EnvironmentForm); aboutForm.Dispose(); }
public void DisplayAboutForm() { try { AboutForm aboutform = new AboutForm(); aboutform.lbl_version.Text = CommonDef.APP_VERSION; if (aboutform.ShowDialog() == DialogResult.OK) { Logger.info("About 창 닫기"); } aboutform.Dispose(); } catch (Exception ex) { Logger.error(ex.ToString()); } }
private void ShowAbout() { using (AboutForm a = new AboutForm()) { IsLoaded = false; statList.Visible = false; a.Owner = this; a.ShowDialog(); this.Visible = true; statList.Visible = true; IsLoaded = true; string ReqedUser = a.AskedToSeeUser; a.Dispose(); if (!string.IsNullOrEmpty(ReqedUser)) { statList.IgnoreMouse = true; SwitchToUserTimeLine(a.AskedToSeeUser); } } }
private void aboutBakaMPlayerToolStripMenuItem_Click(object sender, EventArgs e) { var aboutForm = new AboutForm(); aboutForm.ShowDialog(); aboutForm.Dispose(); }
private void metroShell2_HelpButtonClick(object sender, System.EventArgs e) { AboutForm aboutForm = new AboutForm(); aboutForm.ShowDialog(); aboutForm.Dispose(); }
public static void ShowAboutForm(IWin32Window owner) { AboutForm aboutForm = new AboutForm(); aboutForm.ShowDialog(owner); aboutForm.Dispose(); }
private void cmdAbout_Click(object sender, System.EventArgs e) { AboutForm af=new AboutForm(); af.ShowDialog(); af.Dispose(); af=null; }
private void aboutMenu_Click(object sender, System.EventArgs e) { AboutForm a = new AboutForm(); a.ShowDialog(); a.Dispose(); }
// On "Help->About" private void AboutHelpItemClick(object sender, EventArgs e) { var form = new AboutForm(); form.ShowDialog(this); form.Dispose(); }
private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e) { AboutForm af = new AboutForm(); af.ShowDialog(); af.Dispose(); }
/// <summary> /// Handle click /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void llAbout_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) { AboutForm af = new AboutForm(); af.ShowDialog(); af.Dispose(); }
/// <summary> /// バージョン情報ボタンクリックイベント /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void HelpVersionMenuItem_Click(object sender, EventArgs e) { AboutForm form = new AboutForm(); // ウィンドウの透過設定 SetOpacity(form); form.Icon = this.Icon; form.ShowDialog(); form.Dispose(); }
void MenuItemMainHelpAboutClick(object sender, EventArgs e) { AboutForm af=new AboutForm(); af.ShowDialog(this); af.Dispose(); }
private void OnAbout(object sender, EventArgs e) { AboutForm af = new AboutForm(); af.ShowDialog(this); af.Dispose(); }