示例#1
0
文件: Form1.cs 项目: blurrydude/tools
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (aboutForm == null || aboutForm.IsDisposed) {
         aboutForm = new AboutForm(this);
         aboutForm.Show();
     }
 }
示例#2
0
 public TrayIcon()
 {
     InitializeComponent();
     this.settingsForm = new SettingsForm();
     this.tipForm = new TipForm();
     this.aboutForm = new AboutForm();
 }
示例#3
0
 private void barButtonItemAbout_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var aboutForm = new AboutForm())
     {
         aboutForm.ShowDialog();
     }
 }
示例#4
0
        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);
        }
 /// <summary>
 /// Shows the AboutForm
 /// </summary>
 private void About()
 {
     using (AboutForm af = new AboutForm())
       {
     af.ShowDialog(this);
       }
 }
示例#6
0
文件: MainForm.cs 项目: CAHbl4/csharp
        static void MenuAbout_click(object sender, EventArgs e)
        {
            Form form = new AboutForm {Title = "About", Width = 40, Height = 15, HasBorder = true};

            form.Init();
            form.Execute();
        }
示例#7
0
 private void infoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (AboutForm form = new AboutForm())
     {
         form.ShowDialog();
     }
 }
示例#8
0
 private void btnAbout_Click(object sender, System.EventArgs e)
 {
     using (var aboutForm = new AboutForm())
     {
         aboutForm.ShowDialog();
     }
 }
示例#9
0
        public AboutForm()
        {
            InitializeComponent();

            Singleton = this;
            lblVersion.Text = "v"+Version.String;
        }
 /// <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);
     }
 }
 private void aboutToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     using (var a = new AboutForm())
     {
         a.ShowDialog();
     }
 }
示例#12
0
文件: MainForm.cs 项目: yvt/VxlToObj
 private void aboutButton_Click(object sender, EventArgs e)
 {
     using (var dlg = new AboutForm())
     {
         dlg.ShowDialog(this);
     }
 }
 public void OpenAboutForm()
 {
     using (var form = new AboutForm())
     {
         form.ShowDialog();
     }
 }
示例#14
0
        private void aboutMnuItem_Click(object sender, EventArgs e)
        {
            AboutForm form = new AboutForm();
            if (DialogResult.OK == form.ShowDialog())
            {

            }
        }
示例#15
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!aboutForm.Visible)
     {
         aboutForm = new AboutForm();
         aboutForm.Show();
     }
 }
示例#16
0
 private void AboutClick(object sender, EventArgs e)
 {
     if (aboutForm == null)
     {
         aboutForm = new AboutForm();
     }
     aboutForm.ShowDialog();
 }
示例#17
0
 public static void OpenAboutForm()
 {
     if (Program.about_form == null)
     {
         Program.about_form = new AboutForm();
     }
     Program.about_form.Show();
 }
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (aboutForm == null)
     {
         aboutForm = new AboutForm();
     }
     aboutForm.ShowDialog();
 }
        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();
        }
示例#20
0
 private void AboutButton_Click(object sender, EventArgs e)
 {
     var aboutForm = new AboutForm();
     aboutForm.Owner = this;
     aboutForm.Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     aboutForm.DeviceID = Platform.GetOEMDeviceID();
     aboutForm.Show();
 }
示例#21
0
        public MainForm()
        {
            InitializeComponent();

            DownloadType = "Folders and Files";

            de = new DocExtractor();
            myAboutForm = new AboutForm();
        }
示例#22
0
        public static AboutForm getInstance()
        {
            if (null == _instance)
            {
                _instance = new AboutForm();
            }

            return _instance;
        }
示例#23
0
 public static void ShowAbout()
 {
     if (_form == null)
     {
         _form = new AboutForm();
         _form.FormClosed += _form_FormClosed;
         _form.Show();
     }
 }
示例#24
0
        private void aboutToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            // about
            AboutForm about = new AboutForm();
            about.FormBorderStyle = FormBorderStyle.FixedToolWindow;

            // show teh about form
            about.Show();
        }
示例#25
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;
        }
示例#26
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();
     }
 }
示例#27
0
        private void aboutButton_Click(object sender, EventArgs e)
        {
            try
            {
                AboutForm aboutForm = new AboutForm();
                aboutForm.ShowDialog();
            }
            catch (Exception ex)
            {

            }
        }
示例#28
0
        /// <summary>
        /// Конструктор формы
        /// </summary>
        public MainForm()
        {
            InitializeComponent();
            aboutForm = new AboutForm();

            mtxImage = new Mutex();
            mtxBool = new Mutex();
            renderThread = new Thread(new ThreadStart(renderFractal));
            renderThreadRunning = true;
            renderThread.Start();
            paintCount = 0;
            fractalImageCopy = new Bitmap(Width, Height);
        }
示例#29
0
        public static void ShowAboutForm()
        {
            if (frmAboutForm != null && !frmAboutForm.IsDisposed)
            {
                frmAboutForm.Activate();
                return;
            }

            frmAboutForm = new AboutForm();
            frmAboutForm.Show();
            frmAboutForm.Activate();

        }
示例#30
0
        private void aboutButton_Click(object sender, EventArgs e)
        {
            AboutForm f = new AboutForm();

            f.ShowDialog();
        }
示例#31
0
        private void btnHelp_Click(object sender, EventArgs e)
        {
            AboutForm aboutFm = new AboutForm();

            aboutFm.ShowDialog();
        }
示例#32
0
        void AboutToolStripMenuItemClick(object sender, EventArgs e)
        {
            AboutForm f = new AboutForm();

            f.ShowDialog();
        }
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form frmAboutBox = new AboutForm();

            frmAboutBox.ShowDialog(this);
        }
示例#34
0
 void Command3_Click(object sender, System.EventArgs e)
 {
     AboutForm?.Invoke(this, new System.EventArgs());
 }
示例#35
0
        private void TSMIAbout_Click(object sender, EventArgs e)
        {
            AboutForm form = new AboutForm();

            form.ShowDialog();
        }
示例#36
0
        private void aboutMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.ShowDialog();
        }
示例#37
0
        private void оПрограммеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm About = new AboutForm();

            About.ShowDialog();
        }
示例#38
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var about = new AboutForm();

            about.ShowDialog(this);
        }
示例#39
0
        void AboutToolStripMenuItemClick(object sender, EventArgs e)
        {
            AboutForm f = new AboutForm(this.imgHeader.BackColor);

            f.ShowDialog();
        }
示例#40
0
 private void helpToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     AboutForm f1 = new AboutForm();
     f1.ShowDialog();
 }
示例#41
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm("DVTk QR SCU Emulator");

            about.ShowDialog();
        }
示例#42
0
 /// <summary>
 /// Show about box
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void miAbout_Click(object sender, System.EventArgs e)
 {
     AboutForm.ShowForm();
 }
示例#43
0
        private void AboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.Show();
        }
示例#44
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm form = new AboutForm();

            form.ShowDialog();
        }
示例#45
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();
        }
示例#46
0
        ///关于系统
        private void barBtn_systemAbout_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            AboutForm dlg = new AboutForm();

            dlg.ShowDialog();
        }
 private void sobreToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var frm = new AboutForm())
         frm.ShowDialog();
 }
示例#48
0
        private void btnAbout_Click(object sender, EventArgs e)
        {
            Form About = new AboutForm();

            About.ShowDialog();
        }
示例#49
0
        private void btnMMAbout_Click(object sender, EventArgs e)
        {
            AboutForm frm = new AboutForm();

            frm.ShowDialog();
        }
示例#50
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     OpenTKExtension.AboutForm fAbout = new AboutForm();
     fAbout.ShowDialog();
 }
示例#51
0
        private void menuItem6_Click(object sender, EventArgs e)
        {
            AboutForm aboutForm = new AboutForm();

            aboutForm.ShowDialog(this);
        }
示例#52
0
        private void infoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var ab = new AboutForm();

            ab.ShowDialog();
        }
示例#53
0
        private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutForm af = new AboutForm();

            af.ShowDialog();
        }
示例#54
0
 private void demoAboutInfoAction_Execute(object sender, SimpleActionExecuteEventArgs e)
 {
     AboutForm.Show(typeof(string), ProductKind.XAF, DevExpress.Utils.About.ProductInfoStage.Registered);
 }
示例#55
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();
        }
示例#56
0
        private void about_form_click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.Show();
        }
示例#57
0
        private void linkAbout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            AboutForm aboutForm = new AboutForm();

            aboutForm.ShowDialog();
        }
示例#58
0
        public void AboutFormConstructorTest()
        {
            AboutForm target = new AboutForm();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
示例#59
0
        void btAbout_Click(object sender, EventArgs e)
        {
            AboutForm about = new AboutForm();

            about.ShowDialog(this);
        }
示例#60
-1
 private void aboutButton_Click(object sender, EventArgs e)
 {
     using (var about = new AboutForm())
        {
        about.ShowDialog();
        }
 }