Ejemplo n.º 1
0
        static void aboutmessage()
        {
            var about = new AboutForm();

            about.ShowDialog();
            about.Dispose();
        }
Ejemplo n.º 2
0
    protected void OnAboutMenuItemActivated(object sender, EventArgs e)
    {
        AboutForm aboutForm = new AboutForm();

        aboutForm.Modal = true;
        aboutForm.Show();
        aboutForm.Dispose();
    }
Ejemplo n.º 3
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.Show();
            if (about.AcceptButton.DialogResult == DialogResult.OK)
            {
                about.Dispose();
            }
        }
Ejemplo n.º 4
0
 /// <summary>
 /// About button clicked - show the about form.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void menuItemAbout_Click(object sender, System.EventArgs e)
 {
     // Only display it if we're not already.
     if (!this.aboutVisible)
     {
         this.aboutVisible = true;
         AboutForm af = new AboutForm();
         af.ShowDialog(this);
         af.Dispose();
         this.aboutVisible = false;
         // Activate (select) ourselves if the form is visible.
         if (this.Opacity == 1.0)
         {
             this.Select();
         }
     }
 }
Ejemplo n.º 5
0
 private void DisplayAbout()
 {
     AboutForm f = new AboutForm();
     try
     {
         f.ShowDialog(this);
     }
     finally
     {
         f.Dispose();
     }
 }
Ejemplo n.º 6
0
 /// <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();
 }
Ejemplo n.º 7
0
 private void menuAbout_Click(object sender, EventArgs e)
 {
     Form aboutForm = new AboutForm();
     try
     {
         aboutForm.ShowDialog();
     }
     finally
     {
         aboutForm.Dispose();
     }
 }
Ejemplo n.º 8
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AboutForm frm = new AboutForm();
     frm.Owner = this;
     frm.appVersion = CURRENT_VERSION;
     frm.ShowDialog();
     frm.Dispose();
 }
Ejemplo n.º 9
0
		/// <summary>
		/// Displays the applications About box.
		/// </summary>
		public void ShowAboutBox()
		{
			AboutForm aboutForm = new AboutForm();
			aboutForm.ShowDialog(_primaryForms.EnvironmentForm);
			aboutForm.Dispose();
		}
Ejemplo n.º 10
0
 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());
     }
 }
Ejemplo n.º 11
0
        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);
                }
            }
        }
Ejemplo n.º 12
0
 private void aboutBakaMPlayerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var aboutForm = new AboutForm();
     aboutForm.ShowDialog();
     aboutForm.Dispose();
 }
 private void metroShell2_HelpButtonClick(object sender, System.EventArgs e)
 {
     AboutForm aboutForm = new AboutForm();
     aboutForm.ShowDialog();
     aboutForm.Dispose();
 }
Ejemplo n.º 14
0
 public static void ShowAboutForm(IWin32Window owner)
 {
     AboutForm aboutForm = new AboutForm();
       aboutForm.ShowDialog(owner);
       aboutForm.Dispose();
 }
Ejemplo n.º 15
0
 private void cmdAbout_Click(object sender, System.EventArgs e)
 {
     AboutForm af=new AboutForm();
     af.ShowDialog();
     af.Dispose();
     af=null;
 }
Ejemplo n.º 16
0
 private void aboutMenu_Click(object sender, System.EventArgs e)
 {
     AboutForm a = new AboutForm();
     a.ShowDialog();
     a.Dispose();
 }
Ejemplo n.º 17
0
 // On "Help->About"
 private void AboutHelpItemClick(object sender, EventArgs e)
 {
     var form = new AboutForm();
     form.ShowDialog(this);
     form.Dispose();
 }
 private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AboutForm af = new AboutForm();
     af.ShowDialog();
     af.Dispose();
 }
Ejemplo n.º 19
0
        /// <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();
        }
Ejemplo n.º 20
0
        /// <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();
        }
Ejemplo n.º 21
0
 void MenuItemMainHelpAboutClick(object sender, EventArgs e)
 {
     AboutForm af=new AboutForm();
     af.ShowDialog(this);
     af.Dispose();
 }
Ejemplo n.º 22
0
 private void OnAbout(object sender, EventArgs e)
 {
     AboutForm af = new AboutForm();
     af.ShowDialog(this);
     af.Dispose();
 }