本文整理汇总了C#中AboutForm.Show方法的典型用法代码示例。如果您正苦于以下问题:C# AboutForm.Show方法的具体用法?C# AboutForm.Show怎么用?C# AboutForm.Show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AboutForm
的用法示例。
在下文中一共展示了AboutForm.Show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: aboutToolStripMenuItem_Click
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
if (aboutForm == null || aboutForm.IsDisposed) {
aboutForm = new AboutForm(this);
aboutForm.Show();
}
}
示例2: aboutToolStripMenuItem_Click
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
if (!aboutForm.Visible)
{
aboutForm = new AboutForm();
aboutForm.Show();
}
}
示例3: AboutButton_Click
private void AboutButton_Click(object sender, EventArgs e)
{
var aboutForm = new AboutForm();
aboutForm.Owner = this;
aboutForm.Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
aboutForm.DeviceID = Platform.GetOEMDeviceID();
aboutForm.Show();
}
示例4: aboutToolStripMenuItem1_Click
private void aboutToolStripMenuItem1_Click(object sender, EventArgs e)
{
// about
AboutForm about = new AboutForm();
about.FormBorderStyle = FormBorderStyle.FixedToolWindow;
// show teh about form
about.Show();
}
示例5: ShowAbout
public static void ShowAbout()
{
if (_form == null)
{
_form = new AboutForm();
_form.FormClosed += _form_FormClosed;
_form.Show();
}
}
示例6: btnAbout_Click
private void btnAbout_Click(object sender, EventArgs e)
{
if (AF == null || AF.IsDisposed)
{
AF = new AboutForm();
AF.Show();
}
else
{
AF.BringToFront();
}
chkSelf.Checked = false;
}
示例7: ShowAboutForm
public static void ShowAboutForm()
{
if (frmAboutForm != null && !frmAboutForm.IsDisposed)
{
frmAboutForm.Activate();
return;
}
frmAboutForm = new AboutForm();
frmAboutForm.Show();
frmAboutForm.Activate();
}
示例8: AboutMenu_Click
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void AboutMenu_Click(object sender, EventArgs e)
{
if (!aboutFormIsOpen)
{
aboutFormIsOpen = true;
AboutForm about = new AboutForm();
about.Show();
about.FormClosed += new FormClosedEventHandler(about_FormClosed);
}
}
示例9: Help_Click
private void Help_Click(object sender, EventArgs e)
{
AboutForm abt = new AboutForm();
abt.Show();
}
示例10: AboutToolStripMenuItemClick
void AboutToolStripMenuItemClick(object sender, EventArgs e)
{
AboutForm about = new AboutForm();
about.Show();
}
示例11: _btnInfo_Click
//Info Button Click
private void _btnInfo_Click(object sender, EventArgs e)
{
AboutForm about = new AboutForm();
about.Show();
about.Update();
about.StartPosition = FormStartPosition.CenterScreen;
int deskHeight = Screen.PrimaryScreen.Bounds.Height;
int deskWidth = Screen.PrimaryScreen.Bounds.Width;
about.Location = new Point(deskWidth / 2 - about.Width / 2, deskHeight / 2 - about.Height / 2);
Functions.pause(5000);
about.Hide();
}
示例12: aboutToolStripMenuItem_Click
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
var about = new AboutForm();
about.Show();
}
示例13: About_Click
private void About_Click(object sender, EventArgs e)
{
AF = new AboutForm();
AF.Show(this);
}
示例14: tsmiAbout_Click
private void tsmiAbout_Click(object sender, EventArgs e)
{
AboutForm frm = new AboutForm() { Icon = this.Icon };
frm.Show();
}
示例15: linkLabel1_LinkClicked
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
AboutForm about = new AboutForm();
about.Show();
}