本文整理汇总了C#中AboutForm类的典型用法代码示例。如果您正苦于以下问题:C# AboutForm类的具体用法?C# AboutForm怎么用?C# AboutForm使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AboutForm类属于命名空间,在下文中一共展示了AboutForm类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnAbout_Click
private void btnAbout_Click(object sender, System.EventArgs e)
{
using (var aboutForm = new AboutForm())
{
aboutForm.ShowDialog();
}
}
示例2: TrayIcon
public TrayIcon()
{
InitializeComponent();
this.settingsForm = new SettingsForm();
this.tipForm = new TipForm();
this.aboutForm = new AboutForm();
}
示例3: MainForm
public MainForm()
{
InitializeComponent();
m_formRowsPerPage = new SetRowsPerPageForm();
m_formRowsPerPage.ParentForm = this;
m_formPageNumber = new SetPageNumberForm();
m_formPageNumber.ParentForm = this;
m_formAbout = new AboutForm();
m_webClient = new WebClient();
m_pageLabelHovered = false;
m_sortColumnIndex = -1;
m_sortReversed = false;
m_loadedTable = null;
m_lastLoadedTableFilePath = "";
m_currentPageNumber = 0;
m_pageCount = 0;
m_rowsPerPage = 50;
MenuStrip_Tools_UseExternalDescriptors.Checked = Settings.UseExternalDescriptors;
MenuStrip_Tools_UseExternalDescriptors.CheckedChanged +=
new EventHandler(MenuStrip_Tools_UseExternalDescriptors_CheckedChanged);
}
示例4: aboutToolStripMenuItem1_Click
private void aboutToolStripMenuItem1_Click(object sender, EventArgs e)
{
using (var a = new AboutForm())
{
a.ShowDialog();
}
}
示例5: About
/// <summary>
/// Shows the AboutForm
/// </summary>
private void About()
{
using (AboutForm af = new AboutForm())
{
af.ShowDialog(this);
}
}
示例6: barButtonItemAbout_ItemClick
private void barButtonItemAbout_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
using (var aboutForm = new AboutForm())
{
aboutForm.ShowDialog();
}
}
示例7: MenuAbout_click
static void MenuAbout_click(object sender, EventArgs e)
{
Form form = new AboutForm {Title = "About", Width = 40, Height = 15, HasBorder = true};
form.Init();
form.Execute();
}
示例8: Execute
/// <summary>
/// Shows the About form with the specified owner window.
/// </summary>
/// <param name="owner">Owner window.</param>
public static void Execute(IWin32Window owner)
{
using (AboutForm aboutForm = new AboutForm())
{
aboutForm.ShowDialog(owner);
}
}
示例9: AboutForm
public AboutForm()
{
InitializeComponent();
Singleton = this;
lblVersion.Text = "v"+Version.String;
}
示例10: aboutButton_Click
private void aboutButton_Click(object sender, EventArgs e)
{
using (var dlg = new AboutForm())
{
dlg.ShowDialog(this);
}
}
示例11: OpenAboutForm
public void OpenAboutForm()
{
using (var form = new AboutForm())
{
form.ShowDialog();
}
}
示例12: aboutToolStripMenuItem_Click
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
if (aboutForm == null || aboutForm.IsDisposed) {
aboutForm = new AboutForm(this);
aboutForm.Show();
}
}
示例13: infoToolStripMenuItem_Click
private void infoToolStripMenuItem_Click(object sender, EventArgs e)
{
using (AboutForm form = new AboutForm())
{
form.ShowDialog();
}
}
示例14: aboutMnuItem_Click
private void aboutMnuItem_Click(object sender, EventArgs e)
{
AboutForm form = new AboutForm();
if (DialogResult.OK == form.ShowDialog())
{
}
}
示例15: aboutToolStripMenuItem_Click
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
if (!aboutForm.Visible)
{
aboutForm = new AboutForm();
aboutForm.Show();
}
}