Exemple #1
0
        /// <summary>
        /// Aboutboxes the specified sender.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private static void Aboutbox(object sender, EventArgs e)
        {
            var AS = new AboutScreen
            {
                Text            = "About " + _sd.AppName,
                appversionlabel = { Text = "Version " + _sd.Ld.CurrentVersion },
                apptitlelabel   = { Text = _sd.AppName },
                otherapptext    = { Text = _sd.AboutScreenOtherText }
            };

            if (ShowingAbout == false)
            {
                ShowingAbout = true;
                AS.ShowDialog();
            }
        }
Exemple #2
0
        /// <summary>
        /// Aboutboxes the specified sender.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private static void Aboutbox(object sender, EventArgs e)
        {
            var AS = new AboutScreen
            {
                Text = "About " + _sd.AppName,
                appversionlabel = { Text = "Version " + _sd.Ld.CurrentVersion },
                apptitlelabel = { Text = _sd.AppName },
                otherapptext = { Text = _sd.AboutScreenOtherText }
            };

            if (ShowingAbout == false)
            {
                ShowingAbout = true;
                AS.ShowDialog();
            }
        }