当前位置: 首页>>代码示例>>C#>>正文


C# AboutForm.Dispose方法代码示例

本文整理汇总了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();
        }
开发者ID:KodingSykosis,项目名称:RegExTester,代码行数:13,代码来源:MainForm.cs

示例2: AboutHelpItemClick

 // On "Help->About"
 private void AboutHelpItemClick(object sender, EventArgs e)
 {
     var form = new AboutForm();
     form.ShowDialog(this);
     form.Dispose();
 }
开发者ID:flos-club,项目名称:iSpy,代码行数:7,代码来源:MainForm.cs

示例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);
                }
            }
        }
开发者ID:enersia,项目名称:pocketwit,代码行数:23,代码来源:TweetList.cs

示例4: DisplayAbout

 private void DisplayAbout()
 {
     AboutForm f = new AboutForm();
     try
     {
         f.ShowDialog(this);
     }
     finally
     {
         f.Dispose();
     }
 }
开发者ID:pedrolandaacurio,项目名称:gvix,代码行数:12,代码来源:MainForm.cs

示例5: aboutMenu_Click

 private void aboutMenu_Click(object sender, System.EventArgs e)
 {
     AboutForm a = new AboutForm();
     a.ShowDialog();
     a.Dispose();
 }
开发者ID:cody,项目名称:cartographer,代码行数:6,代码来源:Form1.cs

示例6: ShowAboutBox

		/// <summary>
		/// Displays the applications About box.
		/// </summary>
		public void ShowAboutBox()
		{
			AboutForm aboutForm = new AboutForm();
			aboutForm.ShowDialog(_primaryForms.EnvironmentForm);
			aboutForm.Dispose();
		}
开发者ID:modulexcite,项目名称:QSet,代码行数:9,代码来源:TaskManager.cs

示例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();
 }
开发者ID:joeyespo,项目名称:tray-me,代码行数:11,代码来源:MainForm.cs

示例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();
        }
开发者ID:todesmarz,项目名称:folder_wacher,代码行数:17,代码来源:MainForm.cs

示例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();
 }
开发者ID:joosthaverkort,项目名称:PWMLogic,代码行数:8,代码来源:MainForm.cs

示例10: aboutBakaMPlayerToolStripMenuItem_Click

 private void aboutBakaMPlayerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var aboutForm = new AboutForm();
     aboutForm.ShowDialog();
     aboutForm.Dispose();
 }
开发者ID:godly-devotion,项目名称:Baka-MPlayer-old,代码行数:6,代码来源:MainForm.cs

示例11: aboutNotepadToolStripMenuItem_Click

 private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AboutForm af = new AboutForm();
     af.ShowDialog();
     af.Dispose();
 }
开发者ID:dmitrymakhnin,项目名称:MyBetterNotepad,代码行数:6,代码来源:MyBetterNotepadForm.cs

示例12: metroShell2_HelpButtonClick

 private void metroShell2_HelpButtonClick(object sender, System.EventArgs e)
 {
     AboutForm aboutForm = new AboutForm();
     aboutForm.ShowDialog();
     aboutForm.Dispose();
 }
开发者ID:gguuoojun,项目名称:HzHospitalRegisterSoftware,代码行数:6,代码来源:MainForm.cs

示例13: ShowAboutForm

 public static void ShowAboutForm(IWin32Window owner)
 {
     AboutForm aboutForm = new AboutForm();
       aboutForm.ShowDialog(owner);
       aboutForm.Dispose();
 }
开发者ID:prezz,项目名称:Firoz-Chess,代码行数:6,代码来源:AboutForm.cs

示例14: cmdAbout_Click

 private void cmdAbout_Click(object sender, System.EventArgs e)
 {
     AboutForm af=new AboutForm();
     af.ShowDialog();
     af.Dispose();
     af=null;
 }
开发者ID:flyingoverclouds,项目名称:sfinx,代码行数:7,代码来源:frmStoredProcCreator.cs

示例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());
     }
 }
开发者ID:WeDoCrm,项目名称:WeDoMessenger2.0,代码行数:17,代码来源:MiscController.cs


注:本文中的AboutForm.Dispose方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。