本文整理汇总了C#中AboutForm.Dispose方法的典型用法代码示例。如果您正苦于以下问题:C# AboutForm.Dispose方法的具体用法?C# AboutForm.Dispose怎么用?C# AboutForm.Dispose使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AboutForm
的用法示例。
在下文中一共展示了AboutForm.Dispose方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: llAbout_LinkClicked
/// <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();
}
示例2: AboutHelpItemClick
// On "Help->About"
private void AboutHelpItemClick(object sender, EventArgs e)
{
var form = new AboutForm();
form.ShowDialog(this);
form.Dispose();
}
示例3: ShowAbout
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);
}
}
}
示例4: DisplayAbout
private void DisplayAbout()
{
AboutForm f = new AboutForm();
try
{
f.ShowDialog(this);
}
finally
{
f.Dispose();
}
}
示例5: aboutMenu_Click
private void aboutMenu_Click(object sender, System.EventArgs e)
{
AboutForm a = new AboutForm();
a.ShowDialog();
a.Dispose();
}
示例6: ShowAboutBox
/// <summary>
/// Displays the applications About box.
/// </summary>
public void ShowAboutBox()
{
AboutForm aboutForm = new AboutForm();
aboutForm.ShowDialog(_primaryForms.EnvironmentForm);
aboutForm.Dispose();
}
示例7: buttonAbout_Click
/// <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();
}
示例8: HelpVersionMenuItem_Click
/// <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();
}
示例9: aboutToolStripMenuItem_Click
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
AboutForm frm = new AboutForm();
frm.Owner = this;
frm.appVersion = CURRENT_VERSION;
frm.ShowDialog();
frm.Dispose();
}
示例10: aboutBakaMPlayerToolStripMenuItem_Click
private void aboutBakaMPlayerToolStripMenuItem_Click(object sender, EventArgs e)
{
var aboutForm = new AboutForm();
aboutForm.ShowDialog();
aboutForm.Dispose();
}
示例11: aboutNotepadToolStripMenuItem_Click
private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e)
{
AboutForm af = new AboutForm();
af.ShowDialog();
af.Dispose();
}
示例12: metroShell2_HelpButtonClick
private void metroShell2_HelpButtonClick(object sender, System.EventArgs e)
{
AboutForm aboutForm = new AboutForm();
aboutForm.ShowDialog();
aboutForm.Dispose();
}
示例13: ShowAboutForm
public static void ShowAboutForm(IWin32Window owner)
{
AboutForm aboutForm = new AboutForm();
aboutForm.ShowDialog(owner);
aboutForm.Dispose();
}
示例14: cmdAbout_Click
private void cmdAbout_Click(object sender, System.EventArgs e)
{
AboutForm af=new AboutForm();
af.ShowDialog();
af.Dispose();
af=null;
}
示例15: DisplayAboutForm
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());
}
}