當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。