本文整理匯總了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();
}
}