コード例 #1
0
ファイル: MainForm.cs プロジェクト: svlcode/HomeManager
 private void barButtonItemAbout_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var aboutForm = new AboutForm())
     {
         aboutForm.ShowDialog();
     }
 }
コード例 #2
0
 /// <summary>
 /// Shows the AboutForm
 /// </summary>
 private void About()
 {
     using (AboutForm af = new AboutForm())
       {
     af.ShowDialog(this);
       }
 }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: phxql/restester
 private void infoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (AboutForm form = new AboutForm())
     {
         form.ShowDialog();
     }
 }
コード例 #4
0
 /// <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);
     }
 }
コード例 #5
0
ファイル: MainForm.cs プロジェクト: yvt/VxlToObj
 private void aboutButton_Click(object sender, EventArgs e)
 {
     using (var dlg = new AboutForm())
     {
         dlg.ShowDialog(this);
     }
 }
コード例 #6
0
 private void aboutToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     using (var a = new AboutForm())
     {
         a.ShowDialog();
     }
 }
コード例 #7
0
 public void OpenAboutForm()
 {
     using (var form = new AboutForm())
     {
         form.ShowDialog();
     }
 }
コード例 #8
0
ファイル: SettingsForm.cs プロジェクト: Orokon/jirastopwatch
 private void btnAbout_Click(object sender, System.EventArgs e)
 {
     using (var aboutForm = new AboutForm())
     {
         aboutForm.ShowDialog();
     }
 }
コード例 #9
0
        private void aboutMnuItem_Click(object sender, EventArgs e)
        {
            AboutForm form = new AboutForm();
            if (DialogResult.OK == form.ShowDialog())
            {

            }
        }
コード例 #10
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            String aboutText = Properties.Resources.AboutStringRes;

            AboutForm aboutForm = new AboutForm(aboutText.Replace("#",Environment.NewLine+Environment.NewLine));
            aboutForm.StartPosition = FormStartPosition.CenterParent;
            aboutForm.ShowDialog();
        }
コード例 #11
0
ファイル: AboutForm.cs プロジェクト: byrod/YAME
        public static DialogResult Show(string version)
        {
            MsgBox = new AboutForm();

            MsgBox.label1.Text = version;

            MsgBox.ShowDialog();
            MsgBox.button1.Focus();
            return result;
        }
コード例 #12
0
 public static void ShowModal()
 {
     using (AboutForm af = new AboutForm())
     {
         string version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
         af.ProgramVersion = version.Substring(0, version.Length - 4);
         af.Title = Util.GetTitle();
         af.ShowDialog();
     }
 }
コード例 #13
0
ファイル: MenuForm.cs プロジェクト: Vulpter/Hangman
        private void aboutButton_Click(object sender, EventArgs e)
        {
            try
            {
                AboutForm aboutForm = new AboutForm();
                aboutForm.ShowDialog();
            }
            catch (Exception ex)
            {

            }
        }
コード例 #14
0
 protected override void WndProc(ref Message m)
 {
     // Check if a System Command has been executed
     if (m.Msg == WinAPI.WM_SYSCOMMAND)
     {
         // Execute the appropriate code for the System Menu item that was clicked
         switch (m.WParam.ToInt32())
         {
             case _AboutSysMenuID:
                 AboutForm af = new AboutForm();
                 af.StartPosition = FormStartPosition.CenterParent;
                 af.ShowDialog();
                 break;
             default:
                 break;
         }
     }
     base.WndProc(ref m);
 }
コード例 #15
0
ファイル: MainForm.cs プロジェクト: michyer/canape
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="fileName">A file to open at startup</param>
        public MainForm(string fileName)
        {
            if (!Properties.Settings.Default.DontShowSplash)
            {
                using (AboutForm frm = new AboutForm(true))
                {
                    frm.ShowDialog();
                }
            }

            InitializeComponent();

            MainFormMenuExtensionManager.Instance.AddToMenu(menuStrip, extensionToolStripMenuItem, ExtensionMenuClicked);

            CANAPEServiceProvider.GlobalInstance.RegisterService(typeof(IDocumentControl), this);
            _projectExplorer = new ProjectExplorer();
            _fileName = fileName;
            _entries = new Dictionary<IDocumentObject, DockContent>();

            // Check for help file precense
            aPIHelpToolStripMenuItem.Enabled = File.Exists(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Help", "CANAPE_Documentation.chm"));
        }
コード例 #16
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm("DVTk QR SCU Emulator");

            about.ShowDialog();
        }
コード例 #17
0
        private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm form = new AboutForm();

            form.ShowDialog();
        }
コード例 #18
0
ファイル: Form1.cs プロジェクト: 6555355/Scan_yan1
        private void menuItem6_Click(object sender, EventArgs e)
        {
            AboutForm aboutForm = new AboutForm();

            aboutForm.ShowDialog(this);
        }
コード例 #19
0
ファイル: MainAppForm.cs プロジェクト: bluephoton/najm
        private void aboutButton_Click(object sender, EventArgs e)
        {
            AboutForm f = new AboutForm();

            f.ShowDialog();
        }
コード例 #20
0
        private void TsmiAbout_Click(object sender, EventArgs e)
        {
            var aboutForm = new AboutForm();

            aboutForm.ShowDialog();
        }
コード例 #21
0
ファイル: DDCore.cs プロジェクト: KeenSystemsNL/Fop2DD
 private void event_OnAbout(object sender, EventArgs e)
 {
     using (var f = new AboutForm())
         f.ShowDialog();
 }
コード例 #22
0
        private void bAbout_Click(object sender, System.EventArgs e)
        {
            AboutForm form = new AboutForm();

            form.ShowDialog();
        }
コード例 #23
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form frmAboutBox = new AboutForm();

            frmAboutBox.ShowDialog(this);
        }
コード例 #24
0
ファイル: MainForm.cs プロジェクト: QuickOrBeDead/ptm
		} //exitMenuItem_Click

		private void aboutMenuItem_Click(object sender, EventArgs e)
		{
			AboutForm about = new AboutForm();
			about.ShowDialog(this);
		} //aboutMenuItem_Click
コード例 #25
0
ファイル: FormDemo.cs プロジェクト: eture-server/Paway.Forms
        void btAbout_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.ShowDialog(this);
        }
コード例 #26
0
        private void infoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var ab = new AboutForm();

            ab.ShowDialog();
        }
コード例 #27
0
        /// <summary>
        /// The about tool strip menu item click.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private void AboutToolStripMenuItemClick(object sender, EventArgs e)
        {
            var aboutForm = new AboutForm();

            aboutForm.ShowDialog();
        }
コード例 #28
0
 private void helpToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     AboutForm f1 = new AboutForm();
     f1.ShowDialog();
 }
コード例 #29
0
ファイル: MainForm.cs プロジェクト: Sryn/springcard.pcsc.sdk
        void AboutToolStripMenuItemClick(object sender, EventArgs e)
        {
            AboutForm f = new AboutForm(this.imgHeader.BackColor);

            f.ShowDialog();
        }
コード例 #30
0
        private void btnAbout_Click(object sender, EventArgs e)
        {
            Form About = new AboutForm();

            About.ShowDialog();
        }
コード例 #31
0
        ///关于系统
        private void barBtn_systemAbout_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            AboutForm dlg = new AboutForm();

            dlg.ShowDialog();
        }
コード例 #32
0
        /// <summary>
        /// Event handler for about help menu item.
        /// </summary>
        /// <param name="sender">The sender object.</param>
        /// <param name="e">The event arguments.</param>
        private void aboutActiveUpMailSystemClientToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm aboutForm = new AboutForm();

            aboutForm.ShowDialog();
        }
コード例 #33
0
ファイル: MainForm.cs プロジェクト: Sryn/springcard.pcsc.sdk
        void AboutToolStripMenuItemClick(object sender, EventArgs e)
        {
            AboutForm f = new AboutForm();

            f.ShowDialog();
        }
コード例 #34
0
 private void sobreToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var frm = new AboutForm())
         frm.ShowDialog();
 }
コード例 #35
0
        void AboutToolStripMenuItemClick(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.ShowDialog(this);
        }
コード例 #36
0
ファイル: MainForm.cs プロジェクト: stakaman21/qwinapt
        private void btnHelp_Click(object sender, EventArgs e)
        {
            AboutForm aboutFm = new AboutForm();

            aboutFm.ShowDialog();
        }
コード例 #37
0
        private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            AboutForm aboutForm = new AboutForm();

            aboutForm.ShowDialog();
        }
コード例 #38
0
        private void btnMMAbout_Click(object sender, EventArgs e)
        {
            AboutForm frm = new AboutForm();

            frm.ShowDialog();
        }
コード例 #39
0
ファイル: MainForm.cs プロジェクト: VengefulMollusc/Scribble
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void About_Click(object sender, System.EventArgs e)
        {
            AboutForm frm = new AboutForm(_points);

            frm.ShowDialog(this);
        }
コード例 #40
0
ファイル: ScannerUC.cs プロジェクト: whigg/PointClouds
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     OpenTKExtension.AboutForm fAbout = new AboutForm();
     fAbout.ShowDialog();
 }
コード例 #41
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm af = new AboutForm();

            af.ShowDialog();
        }
コード例 #42
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var about = new AboutForm();

            about.ShowDialog(this);
        }
コード例 #43
0
        private void Action(string tag)
        {
            switch (tag)
            {
            case "NEW_PROF":
                //NewProfile();
                break;

            case "CREATE_ENV":
                using (NewEnvForm env = new NewEnvForm()) {
                    if (env.ShowDialog().Equals(DialogResult.OK))
                    {
                        // Check if exist name

                        if (_envVariables.SetEnvironmentVariable(env.EnvName, env.EnvValue))
                        {
                            using (RestartForm r = new RestartForm(env.EnvName, tag)) {
                                if (r.ShowDialog().Equals(DialogResult.OK))
                                {
                                    Application.Restart();
                                }
                                else
                                {
                                    InitEnvironmentVariables();
                                }
                            }
                        }
                    }
                }
                break;

            case "ENV_UPDATE":
                DialogResult resu = MessageBox.Show(string.Format("Are you sure you want to update {0} in environment variable?", txtEnvName.Text), "Update Environment", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
                if (resu.Equals(DialogResult.Yes))
                {
                    if (_envVariables.SetEnvironmentVariable(txtEnvName.Text, txtEnvValue.Text))
                    {
                        using (RestartForm r = new RestartForm(txtEnvName.Text, tag)) {
                            if (r.ShowDialog().Equals(DialogResult.OK))
                            {
                                InitEnvironmentVariables();
                            }
                        }
                    }
                }
                break;

            case "ENV_DELETE":
                DialogResult resd = MessageBox.Show(string.Format("Are you sure you want to delete {0} in environment variable?", txtEnvName.Text), "Delete Environment", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
                if (resd.Equals(DialogResult.Yes))
                {
                    if (_envVariables.DeleteEnvironmentVariable(txtEnvName.Text))
                    {
                        using (RestartForm r = new RestartForm(txtEnvName.Text, tag)) {
                            if (r.ShowDialog().Equals(DialogResult.OK))
                            {
                                InitEnvironmentVariables();
                            }
                        }
                    }
                }
                break;

            case "FIND":
                break;

            case "SAVE":
                if (_isLoading)
                {
                    return;
                }
                using (NewArchive na = new NewArchive()) {
                    if (na.ShowDialog().Equals(DialogResult.OK))
                    {
                    }
                }
                break;

            case "ADD_FILE":
                AddFiles(AddFile.FILES);
                break;

            case "ADD_FOLDER":
                AddFiles(AddFile.FOLDER);
                break;

            case "REFRESH":
                InitWorkspace();
                break;

            case "SERVER_CONFIG":
            case "OPTIONS":
                using (ConfigServerForm config = new ConfigServerForm(tag.Equals("SERVER_CONFIG") ? 1 : 0)) {
                    if (config.ShowDialog().Equals(DialogResult.OK))
                    {
                        InitSettings();
                    }
                }
                break;

            case "EXIT":
                Close();
                break;

            case "ABOUT":
                using (AboutForm about = new AboutForm()) {
                    about.ShowDialog();
                }
                break;

            case "HELP":
                using (HelpForm help = new HelpForm()) {
                    help.ShowDialog();
                }
                break;

            case "TOOLBAR":
                RegConfig.Set <bool>("Toolbar", hideToolbarToolStripMenuItem.Checked);
                toolStripUploader.Visible = hideToolbarToolStripMenuItem.Checked;
                break;

            case "STATUSBAR":
                RegConfig.Set <bool>("Statusbar", hideStatusbarToolStripMenuItem.Checked);
                statusStripUploader.Visible = hideStatusbarToolStripMenuItem.Checked;
                break;

            case "PROFILE_DETAILS":
                break;

            case "PROFILE_EXPLORER":
                RegConfig.Set <bool>("ProfileExplorer", profileExplorerToolStripMenuItem.Checked);
                splitContainer1.Panel1Collapsed = !profileExplorerToolStripMenuItem.Checked;
                break;

            case "LOGS":
                RegConfig.Set <bool>("Logs&Details", logsToolStripMenuItem.Checked);
                splitContainer2.Panel2Collapsed = !logsToolStripMenuItem.Checked;
                break;

            case "CLEAR_WORKSPACE":
                if (_archives != null)
                {
                    if (MessageBox.Show("Workspace will be deleted permanently!\nAre you sure you want to clear all workspace?", "Clear Workspace", MessageBoxButtons.YesNo, MessageBoxIcon.Question).Equals(DialogResult.Yes))
                    {
                        List <Archive> ws = _archives.GetProfiles();
                        if (ws.Count > 0)
                        {
                            foreach (Archive w in ws)
                            {
                            }
                        }
                        _archives.ClearWorkspaces();
                        InitWorkspace();
                    }
                }
                break;

            case "CLEAR_LOGS":
                if (_logs != null)
                {
                    if (MessageBox.Show("Logs will be deleted permanently!\nAre you sure you want to clear all logs?", "Clear Logs", MessageBoxButtons.YesNo, MessageBoxIcon.Question).Equals(DialogResult.Yes))
                    {
                        _logs.ClearAllLog();
                        _logs.Initialize(logsListBox);
                    }
                }
                break;

            case "CLEAR_HISTORY":
                if (_selectedArchive != null)
                {
                    if (MessageBox.Show("History will be deleted permanently!\nAre you sure you want to clear all history?", "Clear History", MessageBoxButtons.YesNo, MessageBoxIcon.Question).Equals(DialogResult.Yes))
                    {
                    }
                }
                break;

            case "SOURCE_EXT":
            case "SOURCE_FOLDER":

                break;

            default:
                break;
            }
        }
コード例 #44
0
ファイル: Form1.cs プロジェクト: Kelit/PaperEnvelope
        private void оПрограммеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm About = new AboutForm();

            About.ShowDialog();
        }
コード例 #45
0
ファイル: CalcForm.cs プロジェクト: jarrettv/BitrateCalc
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (AboutForm f = new AboutForm())
     {
         f.ShowDialog(this);
     }
 }
コード例 #46
0
ファイル: MainForm.cs プロジェクト: loonbg/mooege
 private void buttonAbout_Click(object sender, EventArgs e)
 {
     var aboutForm = new AboutForm();
     aboutForm.ShowDialog();
 }
コード例 #47
0
        private void TSMIAbout_Click(object sender, EventArgs e)
        {
            AboutForm form = new AboutForm();

            form.ShowDialog();
        }
コード例 #48
0
 public void ShowAboutBox()
 {
     _syncContext.Post(state =>
         {
             Logger.Write("Showing about box");
             var form = new AboutForm(this);
             form.StartPosition = FormStartPosition.CenterScreen;
             form.ShowDialog();
         }, null);
 }
コード例 #49
0
ファイル: MainForm.cs プロジェクト: erin100280/KnifeSpan
 void MenuItemMainHelpAboutClick(object sender, EventArgs e)
 {
     AboutForm af=new AboutForm();
     af.ShowDialog(this);
     af.Dispose();
 }
コード例 #50
0
ファイル: MainForm.cs プロジェクト: art-drobanov/FBICRY
 private void aboutMenuItem_Click(object sender, EventArgs e)
 {
     var aboutRSACryptoPad = new AboutForm(versionString);
     aboutRSACryptoPad.ShowDialog(this);
 }
コード例 #51
0
ファイル: MainForm.cs プロジェクト: segrived/ImageEditor
 private void MenuHelpAbout_Click(object sender, EventArgs e)
 {
     var about = new AboutForm();
     about.ShowDialog();
 }
コード例 #52
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AboutForm form = new AboutForm();
     form.ShowDialog();
 }
コード例 #53
0
 /// <summary>
 /// Handles the Click event of the toolStripDropDownButton1 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 toolStripDropDownButton1_Click(object sender, EventArgs e)
 {
     using (AboutForm aboutForm = new AboutForm())
     {
         aboutForm.ShowDialog();
     }
 }
コード例 #54
0
ファイル: MDIParentForm.cs プロジェクト: jasonlu/CloudKeys
 private void _menuitemHelpAbout_Click(object sender, EventArgs e)
 {
     AboutForm f = new AboutForm();
     f.ShowDialog();
 }
コード例 #55
0
ファイル: WinAuthForm.cs プロジェクト: lmcro/winauth
		/// <summary>
		/// Click the About menu item
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void aboutOptionMenuItem_Click(object sender, EventArgs e)
		{
			AboutForm form = new AboutForm();
			form.Config = this.Config;
			form.ShowDialog(this);
		}
コード例 #56
0
ファイル: Tools.cs プロジェクト: aj9251/pandorasbox3
		private void bAbout_Click(object sender, System.EventArgs e)
		{
			AboutForm form = new AboutForm();
			form.ShowDialog();
		}
コード例 #57
0
ファイル: DownloadTab.cs プロジェクト: redphx/beat-downloader
 private void btnAbout_Click(object sender, EventArgs e)
 {
     AboutForm frmAbout = new AboutForm();
     frmAbout.StartPosition = FormStartPosition.CenterParent;
     frmAbout.ShowDialog(this);
 }
コード例 #58
0
ファイル: ccmControl.cs プロジェクト: jonasblunck/ccm
 void About_Click(object sender, EventArgs e)
 {
     AboutForm about = new AboutForm();
       about.ShowDialog();
 }
コード例 #59
0
ファイル: MainForm.cs プロジェクト: RichTee/SAI-Editor
        private void menuItemAbout_Click(object sender, EventArgs e)
        {
            if (formState != FormState.FormStateMain)
                return;

            using (AboutForm aboutForm = new AboutForm())
                aboutForm.ShowDialog(this);
        }
コード例 #60
-1
ファイル: MainForm.cs プロジェクト: Abdullah2993/KomicBuddy
 private void aboutButton_Click(object sender, EventArgs e)
 {
     using (var about = new AboutForm())
        {
        about.ShowDialog();
        }
 }