예제 #1
0
    void OnAbout(object sender, System.EventArgs e)
    {
        AboutDialog dialog = new AboutDialog {
            ProgramName = MainClass.AppName,
            Version     = MainClass.AppVersion,
            Copyright   = MainClass.AppCopyright,
            Comments    = MainClass.AppDescription,
            Authors     = new string[] { "subdiesel\thttp://subdiesel.wordpress.com/",
                                         "\nThanks for any feedback!",
                                         "\nEXTERNAL BINARY DEPENDENCIES:",
                                         "Gtk#\thttp://mono-project.com/GtkSharp",
                                         "Florence\thttp://github.com/scottstephens/Florence",
                                         "gnuplot\thttp://www.gnuplot.info/", },
            WrapLicense = true,
        };

        dialog.Icon = dialog.Logo = MainClass.AppIcon;

        string licensePath = MainClass.LicensePath;

        try {
            dialog.License = System.IO.File.ReadAllText(licensePath);
        } catch (System.IO.FileNotFoundException) {
            dialog.License = "Could not load license file '" + licensePath + "'.\nGo to http://www.fsf.org";
        }

        // default works fine on Linux, need extra work on Windows it seems...
        //AboutDialog.SetUrlHook (HandleAboutDialogActivateLinkFunc);

        dialog.Run();
        dialog.Destroy();
    }
예제 #2
0
    protected virtual void About_OnActivated(object sender, System.EventArgs e)
    {
        AboutDialog ab = new AboutDialog();

        try
        {
            ab.ProgramName = AppName;
            ab.Copyright   = "Copyright \u00a9 2013 Firefly Software";
            ab.Version     = string.Empty;
            ab.Comments    = "Version: " + Version;

            try
            {
                ab.Logo = null;
            }

            catch (Exception Mye)
            {
                DispMesg(Mye.Message);
            }

            ab.Run();
        }

        finally
        {
            ab.Destroy();
        }
    }
예제 #3
0
파일: Program.cs 프로젝트: sgtnasty/battle
        void HandleAboutbuttonClicked(object sender, EventArgs e)
        {
            AboutDialog dialog = new AboutDialog();
            Assembly    asm    = Assembly.GetExecutingAssembly();

            dialog.ProgramName = (asm.GetCustomAttributes(
                                      typeof(AssemblyTitleAttribute), false) [0]
                                  as AssemblyTitleAttribute).Title;

            dialog.Version = asm.GetName().Version.ToString();

            dialog.Comments = (asm.GetCustomAttributes(
                                   typeof(AssemblyDescriptionAttribute), false) [0]
                               as AssemblyDescriptionAttribute).Description;

            dialog.Copyright = (asm.GetCustomAttributes(
                                    typeof(AssemblyCopyrightAttribute), false) [0]
                                as AssemblyCopyrightAttribute).Copyright;

            dialog.License = license;

            dialog.Authors = authors;

            dialog.Run();
        }
예제 #4
0
        void OnAbout(object sender, EventArgs args)
        {
            var authors     = Defines.Authors;
            var translators = Catalog.GetString("translator-credits");

            if (translators == "translator-credits")
            {
                translators = null;
            }

            var about = new AboutDialog();

            about.ProgramName       = "Tasque";
            about.Version           = Defines.Version;
            about.Logo              = Utilities.GetIcon("tasque", 48);
            about.Copyright         = Defines.CopyrightInfo;
            about.Comments          = Catalog.GetString("A Useful Task List");
            about.Website           = Defines.Website;
            about.WebsiteLabel      = Catalog.GetString("Tasque Project Homepage");
            about.Authors           = authors;
            about.TranslatorCredits = translators;
            about.License           = Defines.License;
            about.IconName          = "tasque";
            about.Run();
            about.Destroy();
        }
예제 #5
0
    protected void aboutDialog(object o, EventArgs e)
    {
        AboutDialog d = new AboutDialog();

        d.WrapLicense  = true;
        d.Website      = "http://github.com/pvtmert/utxl";
        d.WebsiteLabel = "UTXL @GitHub";
        d.Authors      = new string [] {
            "mert akengin",
            "omar albeik",
            "zafer huzmeli"
        };
        d.ProgramName    = "Unified Text Editor Lite";
        d.Version        = UTXL.MainClass.verstr;
        d.WindowPosition = WindowPosition.Mouse;
        if (System.IO.File.Exists("LICENSE.md"))
        {
            d.License = System.IO.File.ReadAllText("LICENSE.md");
        }
        if (System.IO.File.Exists("COPYING.md"))
        {
            d.Comments = System.IO.File.ReadAllText("COPYING.md");
        }
        d.Run();
        d.Destroy();
        return;
    }
예제 #6
0
    void OnAbout(object sender, System.EventArgs e)
    {
        const string LicensePath = "COPYING.txt";

        System.Version version    = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
        string         appVersion = string.Format("{0}.{1}.{2}", version.Major.ToString(), version.Minor.ToString(), version.Build.ToString());

        AboutDialog about = new AboutDialog {
            ProgramName = appName, Version = appVersion,
            Copyright   = "© 2011 SubaruDieselCrew",
            Authors     = new string[] { "subdiesel\thttp://subdiesel.wordpress.com",
                                         "\nThanks for any feedback!",
                                         "\nEXTERNAL BINARY DEPENDENCIES:",
                                         "Gtk#\thttp://mono-project.com/GtkSharp",
                                         "NPlot\thttp://netcontrols.org/nplot/wiki/",
                                         "gnuplot\thttp://www.gnuplot.info/", },
            WrapLicense = true
        };

        about.Icon     = about.Logo = MainClass.AppIcon;
        about.Comments = "License: GPL v3";

        try {
            about.License = System.IO.File.ReadAllText(LicensePath);
        } catch (System.IO.FileNotFoundException) {
            about.License = "Could not load license file '" + LicensePath + "'.\nGo to http://www.fsf.org";
        }

        about.Run();
        about.Destroy();
    }
예제 #7
0
파일: cTerminus.cs 프로젝트: cmllr/terminus
        /// <summary>
        /// Shows the about dialog.
        /// </summary>
        /// <param name='ProgramVersion'>
        /// Program version.
        /// </param>
        /// <param name='wind'>
        /// The Parent windows
        /// </param>
        public static void showAboutDialog(Version ProgramVersion, Gdk.Window wind)
        {
            try {
                AboutDialog about = new AboutDialog();
                about.ProgramName  = g_programName;
                about.ParentWindow = wind;
                about.Comments     = Catalog.GetString("Erstellen und Testen Sie schnell und einfach reguläre Ausdrücke mit der verbesserten Version von Phrasis.Studio");
                about.Version      = ProgramVersion.ToString();            //.Replace (".0", "");
                about.Logo         = new Gdk.Pixbuf(new cPathEnvironment().const_program_image, 128, 128, true);
                about.Icon         = new Gdk.Pixbuf(new cPathEnvironment().const_program_image, 64, 64, true);
                about.Title        = Catalog.GetString("Info über das Programm");
                about.Website      = "https://github.com/squarerootfury/terminus-project";
                about.License      = System.IO.File.ReadAllText(new cPathEnvironment().const_program_license, System.Text.Encoding.UTF8);
                about.WrapLicense  = true;
                about.Copyright   += Catalog.GetString("\nCopyright 2012 (c) Terminus Entwickler");
                about.SetPosition(WindowPosition.Center);

                /*about.Authors = new string[] {"Terminus - Team:\n","\"Fury\""};
                 * about.Artists = new string[] {"Anwendungsicon:\n","\"anonymous\""};
                 * about.Documenters = new string[] {"Anwendungsdokumentation:\n","ups keiner :)"};
                 */
                about.Run();
                about.Destroy();
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, cTerminus.g_programName, ButtonsType.Close, MessageType.Error);
            }
        }
예제 #8
0
        private void AboutButton_Clicked(object sender, EventArgs e)
        {
            AboutDialog about = (AboutDialog)builder.GetObject("AboutDialog");

            about.Run();
            about.Hide();
        }
예제 #9
0
    /// <summary>
    /// Shows the About dialog.
    /// </summary>
    /// <param name="sender">Sender.</param>
    /// <param name="args">Arguments.</param>
    void AboutDialog(object sender, EventArgs args)
    {
        AboutDialog about = MainAbout;

        about.Run();
        about.Destroy();
    }
예제 #10
0
        /*
         * Gui Interactions
         */

        /// <summary>
        /// About dialog
        /// </summary>
        private void AboutDialog()
        {
            AboutDialog _AboutDialog = new AboutDialog();

            _AboutDialog.Name    = "MonoGnomeArt";
            _AboutDialog.Authors = new string[] { "David Piry <*****@*****.**>", "Florian Coulmier <*****@*****.**>" };

            _AboutDialog.License = @"MonoGnomeArt is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	MonoGnomeArt is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	in a file called COPYING along with MonoGnomeArt; if not, write to
	the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
	Boston, MA  02111-1307  USA"    ;

            _AboutDialog.Copyright    = "(c) 2006 Florian Coulmier <*****@*****.**> & David Piry <*****@*****.**";
            _AboutDialog.Website      = "http://klessou.homelinux.org";
            _AboutDialog.WebsiteLabel = "MonoGnomeArt homepage";
            Version _Version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;

            _AboutDialog.Version = string.Format("{0}.{1}", _Version.Major, _Version.Minor);
            _AboutDialog.Run();
        }
예제 #11
0
 protected void about(object sender, EventArgs e)
 {
     AboutDialog about = new AboutDialog ();
     about.ProgramName = "Mola-Mola Editor";
     about.Version = "1.0.0";
     about.Run ();
     about.Destroy ();
 }
예제 #12
0
	/**
	 * This is the handler for opening the MainMenu>Help>About button.
	 */
	protected void OpenAboutWindow (object sender, EventArgs e)
	{
		AboutDialog about = new AboutDialog ();
		about.ProgramName = "SMS Appliction";
		about.Version = " Version: 0.1";
		about.Run ();
		about.Destroy ();
	}
예제 #13
0
    protected void OnAbout(object sender, EventArgs e)
    {
        AboutDialog about = new AboutDialog();

        about.ProgramName = "GraphVisualizer";
        about.Version     = "1.0.0";
        about.Run();
        about.Destroy();
    }
예제 #14
0
    protected void OnAbout(object sender, EventArgs e)
    {
        var about = new AboutDialog ();
        about.ProgramName = "GTK# Image Viewer";
        about.Version = "1.0.0";
        about.Run ();

        about.Destroy ();
    }
예제 #15
0
    /// <summary>
    /// Displays the about application screen.
    /// </summary>
    /// <param name="sender">Sender.</param>
    /// <param name="e">E.</param>
    protected void onAbout(object sender, EventArgs e)
    {
        var about = new AboutDialog();

        about.ProgramName = "Memory Visualizer";
        about.Version     = "1.0.0";
        about.Run();
        about.Destroy();
    }
예제 #16
0
    protected void onSimHelp(object sender, EventArgs e)
    {
        var help = new AboutDialog();

        //help.CreatePangoLayout();
        help.ProgramName = this.m_CurrentVisualizer.CommandLineHelp;
        help.Run();
        help.Destroy();
    }
예제 #17
0
        private void Activated(object sender, EventArgs e)
        {
            AboutDialog dlg = new AboutDialog();

            try {
                dlg.Run();
            } finally {
                dlg.Destroy();
            }
        }
예제 #18
0
    protected void OnAboutActionActivated(object sender, EventArgs e)
    {
        AboutDialog ad = new AboutDialog();
        ad.Title = "I know this is crappy but it hopefully works";
        ad.Authors = new String[]{ "Mike Santiago" };
        ad.Version = "1.0.0.0";

        ad.Run();
        ad.Destroy();
    }
예제 #19
0
    protected void OnAboutActionActivated(object sender, EventArgs e)
    {
        AboutDialog about = new AboutDialog();

        about.ProgramName = "Notepad";
        about.Copyright   = "(c) Paweł Bielecki";
        about.Website     = "http://bieleckipawel.pl";
        about.Run();
        about.Destroy();
    }
예제 #20
0
    protected void OnAbout(object sender, EventArgs e)
    {
        var about = new AboutDialog();

        about.ProgramName = "GTK# Image Viewer";
        about.Version     = "1.0.0";
        about.Run();

        about.Destroy();
    }
예제 #21
0
    protected virtual void OnAboutActivated(object sender, System.EventArgs e)
    {
        about           = new AboutDialog();
        about.Version   = "0.6";
        about.Copyright = "Copyright 2011 - Seb Clarke";
        about.License   = "GPLv3 goes here!";
        about.Comments  = "Special thanks to my 3d guru, Iain C, of godlike fame";

        about.Run();
        about.Hide();
    }
예제 #22
0
        protected void OnAbout(object sender, EventArgs e)
        {
            AboutDialog about = new AboutDialog();

            about.ProgramName = "Chess Training";
            about.Authors     = new string[] { "Jiajun Gao" };
            about.Version     = "1.0";
            about.Copyright   = "Copyright 2017 Jiajun Gao";
            about.Run();
            about.Destroy();
        }
예제 #23
0
    protected void about(object sender, EventArgs e)
    {
        AboutDialog about = new AboutDialog();

        about.ProgramName = "Tehillim";
        about.Version     = "0.2";
        about.Comments    = "The 1650 Scottish Metrical Psalter";
        about.Website     = "https://github.com/wasdin/Tehillim";
        about.Run();
        about.Destroy();
    }
예제 #24
0
파일: MainWindow.cs 프로젝트: mru00/vocab
        protected virtual void OnAboutAction1Activated(object sender, System.EventArgs e)
        {
            var d = new AboutDialog();

            d.Version = "1.0";
            d.Website = "http://sisyphus.teil.cc/~mru";
            d.Authors = new string[] { "mru" };

            d.Run();
            d.Destroy();
        }
예제 #25
0
    private void about_event(object sender, EventArgs args)
    {
        AboutDialog about = new AboutDialog();

        about.ProgramName = "TexEdit";
        about.Version     = "0.2";
        about.Copyright   = "(C) Julian Offenhäuser";
        about.Comments    = @"A tool for editing ingame text in Stronghold";
        about.Website     = "https://github.com/sourcehold/TexEdit";
        about.Run();
        about.Destroy();
    }
예제 #26
0
        void OnAboutClicked(object sender, EventArgs args)
        {
            AboutDialog about = new AboutDialog();

            about.ProgramName = "GhostPDL Gtk# Viewer";
            about.Version     = "0.1";
            about.Copyright   = "(c) Artifex Software";
            about.Comments    = @"A demo of GhostPDL API with C# Mono";
            about.Website     = "http://www.artifex.com";
            about.Run();
            about.Destroy();
        }
예제 #27
0
    protected void OnSobre(object sender, EventArgs e)
    {
        var about = new AboutDialog();

        about.ProgramName = "CNXReader";
        about.Version     = "1.21b";
        about.Comments    = "Visualizador de arquivo de conferência da ANS (CNX).";
        about.Authors     = new string[] { "FHaze (Eder Matumoto)" };

        about.Run();
        about.Destroy();
    }
예제 #28
0
 /// <summary>
 /// Displays the about window to the user.
 /// </summary>
 /// <param name="sender">The sending object.</param>
 /// <param name="e">The event args.</param>
 private void OnMenuAboutItemActivated(object sender, EventArgs e)
 {
     using (var builder = new Builder(Assembly.GetExecutingAssembly(), "Launchpad.Launcher.Interface.Launchpad.glade", null))
     {
         using (var dialog = new AboutDialog(builder.GetObject("MainAboutDialog").Handle))
         {
             dialog.Icon = ResourceManager.ApplicationIcon;
             dialog.Logo = ResourceManager.ApplicationIcon;
             dialog.Run();
         }
     }
 }
예제 #29
0
        protected virtual void OnAboutActivated(object sender, System.EventArgs e)
        {
            AboutDialog ad = new AboutDialog();

            ad.Authors   = new string[] { "Jérémie \"Garuma\" Laval" };
            ad.Copyright = "Copyright (c) 2007-2009 Jérémie Laval <*****@*****.**>";
            ad.License   = "See the COPYING file";
            ad.Version   = "0.6";

            ad.Run();
            ad.Destroy();
        }
예제 #30
0
        private void HandleAboutActivated(object sender, EventArgs e)
        {
            AboutDialog about = new AboutDialog {
                ProgramName = AppInfos.AppName,
                Version     = AppInfos.Version,
                Website     = AppInfos.WebSite,
                Comments    = AppInfos.Comments
            };

            about.Run();
            about.Destroy();
        }
예제 #31
0
    private void AboutAuthorActivated(object sender, EventArgs e)
    {
        AboutDialog about = new AboutDialog()
        {
            ProgramName = "Пошук по базі даних",
            Authors     = new string[] { "Карапуд Максим К-26" },
            Version     = "Версія 1.0.0"
        };

        about.Run();
        about.Destroy();
    }
예제 #32
0
    protected void OnAboutActionActivated(object sender, EventArgs e)
    {
        using (AboutDialog about = new AboutDialog())
        {
            about.ProgramName = "Catcher";
            about.Copyright   = "http packet viewer for linux, version 0.1 (2013-01-01)";
            about.Website     = "https://github.com/ren85/catcher";

            about.Run();
            about.Destroy();
        }
    }
예제 #33
0
        private void ShowAboutDialog(object sender, EventArgs args)
        {
            AboutDialog about = new AboutDialog();

            about.Authors      = new string[] { "Jahangmar" };
            about.ProgramName  = "GardenPlanner";
            about.Version      = MainClass.VERSION;
            about.Website      = "https://github.com/jahangmar/GardenPlanner";
            about.WebsiteLabel = "GardenPlanner on github";
            about.TransientFor = MainWindow.GetInstance();
            about.Run();
            about.Destroy();
        }
예제 #34
0
    /**
     * About Dialog opens to display information about the application
     */
    protected void OnAboutActionActivated(object sender, System.EventArgs e)
    {
        AboutDialog about = new AboutDialog();

        about.ProgramName = "Screenary";
        about.Version     = "1.0.0";
        about.Comments    = "A screencasting application for Ubuntu";
        about.Authors     = new string [] { "Marc Andre", "Hai-Long", "Gina", "Terri-Anne", "Marwan" };
        about.Website     = "http://www.screenary.com/";

        about.Run();
        about.Destroy();
    }
예제 #35
0
    protected void OnAbout(object sender, EventArgs e)
    {
        // Create a new About dialog
        AboutDialog about = new AboutDialog ();

        // Change the Dialog's properties to the appropriate values
        about.ProgramName = "Log Viewer";
        about.Version = "1.0.0";

        // Show the Dialog and pass it control
        about.Run ();

        // Destroy the dialog
        about.Destroy ();
    }
예제 #36
0
    protected void onAbout(object sender, System.EventArgs e)
    {
        AboutDialog about = new AboutDialog();

         // Change the Dialog's properties to the appropriate values.
         	string[] authors = new string[1] {"Σαββόπουλος Κώστας"};
        about.ProgramName = "Βυζαντινή Ιστορία - The Game!";
        about.Website = "http://www.pansoft.gr";
        about.Authors = authors;
        about.Version = "0.0.01";

         // Show the Dialog and pass it control
         about.Run();

         // Destroy the dialog
         about.Destroy();
    }
예제 #37
0
    protected virtual void OnAboutActionActivated(object sender, System.EventArgs e)
    {
        // Create a new About dialog
        AboutDialog about = new AboutDialog ();

        // Change the Dialog's properties to the appropriate values.
        about.ProgramName = "pacinfo";
        about.Version = "0.1";
        about.Authors = new string[] { "Daniel Isenmann <*****@*****.**>" };
        about.WrapLicense = true;
        about.License = "This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.";

        // Show the Dialog and pass it control
        about.Run ();

        // Destroy the dialog
        about.Destroy ();
    }
예제 #38
0
    protected void OnAboutActionActivated(object sender, EventArgs e)
    {
        AboutDialog a = new AboutDialog();
        a.Title = "Sobre o bCHIP8";
        a.ProgramName = "bCHIP8";
        a.Comments =
        @"Este pequeno emulador foi desenvolvido
        na expectativa de consolidar os conhecimentos básicos
        sobre o mundo da emulação e ter a oportunidade de
        reviver softwares e jogos desenvolvidos no passado.

        A plataforma CHIP8 foi criada para que os jogos fossem
        desenvolvidos mais facilmente, numa plataforma de
        senvolvimento não tão complexa.";

        a.Copyright = @"Desenvolvido por Bruno Costa de Morais, 2013";
        a.Website = "mailto:[email protected]";
        a.LogoIconName = "gtk-about";
        a.Run();
        a.Destroy();
    }
예제 #39
0
    /**
     * About Dialog opens to display information about the application
     */
    protected void OnAboutActionActivated(object sender, System.EventArgs e)
    {
        AboutDialog about = new AboutDialog();

        about.ProgramName = "Screenary";
        about.Version = "1.0.0";
        about.Comments = "A screencasting application for Ubuntu";
        about.Authors = new string [] {"Marc Andre", "Hai-Long", "Gina", "Terri-Anne", "Marwan"};
        about.Website = "http://www.screenary.com/";

        about.Run();
        about.Destroy();
    }
예제 #40
0
	protected virtual void doAbout (object sender, System.EventArgs e)
	{
		AboutDialog dialog = new AboutDialog ();
		
		dialog.ProgramName = "Open Cache Manager";
		
		dialog.Icon = this.Icon;
		
		dialog.Version = m_monitor.GetOCMVersion();
		
		dialog.Logo =  new Gdk.Pixbuf ("./icons/scalable/OCMLogo.svg", 96, 96);
		
		dialog.Website = "http://opencachemanage.sourceforge.net/";
		
		//dialog.Comments = (asm.GetCustomAttributes (typeof(AssemblyDescriptionAttribute), false)[0] as AssemblyDescriptionAttribute).Description;
		
		dialog.Copyright = "Copyright Kyle Campbell (c) 2010-2011";
		
		System.IO.StreamReader reader = new System.IO.StreamReader(new System.IO.FileStream("licence/Licence.txt",System.IO.FileMode.Open,System.IO.FileAccess.Read));
		
		dialog.License = reader.ReadToEnd();
		
		reader.Close();
		
		dialog.Authors = new String[] { "Kyle Campbell,Florian Plähn - Programming", "Madelayne DeGrâce - Icons",
			"Harrie Klomp - Dutch Translation" , "Thor Dekov Buur - Danish Translation",
			"Michael Massoth/Florian Plähn/Maik Bischoff - German Translation",
			"Josef Kulhánek - Czech Translation","Vicen - Spanish Translation"};		
		dialog.Run ();
		dialog.Hide();
		
	}
예제 #41
0
 protected void OnMnHelpAboutActivated(object sender, EventArgs e)
 {
     AboutDialog a = new AboutDialog ();
     a.Run ();
     a.Destroy ();
 }
예제 #42
0
/*****************************OTHER METHODS***********************************/
	protected void OnAbout (object sender, System.EventArgs e)
	{
		AboutDialog about = new AboutDialog();
		about .Copyright = copyright ;
		about .Website = website ;
		about .License = "Nexth is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published \nby the Free Software Foundation; either version 3 of the License, \nor (at your option) any later version.\n\nNexth t is made in the hope that it will be useful, \nbut WITHOUT ANY WARRANTY; without even the implied warranty of \nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  \nSee the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License \nalong with this program.  If not, see <http://www.gnu.org/licenses/>.";
		about .Version = nversion ;
		about .Run ();
		about .Destroy ();
	}
 //when about is is pressed
 protected void aboutUs(object sender, EventArgs e)
 {
     AboutDialog about = new AboutDialog ();
     about.ProgramName = "ANG GANDA NI MAAM KAT LOLTERPRETER KEK";
     about.Version = "1.0";
     about.Copyright = "(c) OutlawTechnoPsychobitches : Julius Jireh B. Vega, Aron John S. Vibar, Maru Gabriel S. Baul";
     about.Comments = @"LOLCode Interpreter for creating, editing, and executing LOLCode v1.2 programs";
     try{
         about.Logo = new Gdk.Pixbuf("../../logo.png");
     }
     catch(Exception ){}
     about.Run();
     about.Destroy();
 }
예제 #44
0
    void OnAbout(object sender, System.EventArgs e)
    {
        AboutDialog dialog = new AboutDialog {
            ProgramName = MainClass.AppName,
            Version = MainClass.AppVersion,
            Copyright = MainClass.AppCopyright,
            Comments = MainClass.AppDescription,
            Authors = new string[] { "subdiesel\thttp://subdiesel.wordpress.com/",
                "\nThanks for any feedback!",
                "\nEXTERNAL BINARY DEPENDENCIES:",
                "Gtk#\thttp://mono-project.com/GtkSharp",
                "Florence\thttp://github.com/scottstephens/Florence",
                "gnuplot\thttp://www.gnuplot.info/",
            },
            WrapLicense = true,
        };

        dialog.Icon = dialog.Logo = MainClass.AppIcon;

        string licensePath = MainClass.LicensePath;
        try {
            dialog.License = System.IO.File.ReadAllText (licensePath);
        } catch (System.IO.FileNotFoundException) {
            dialog.License = "Could not load license file '" + licensePath + "'.\nGo to http://www.fsf.org";
        }

        // default works fine on Linux, need extra work on Windows it seems...
        //AboutDialog.SetUrlHook (HandleAboutDialogActivateLinkFunc);

        dialog.Run ();
        dialog.Destroy ();
    }
예제 #45
0
    protected virtual void About_OnActivated(object sender, System.EventArgs e)
    {
        AboutDialog ab = new AboutDialog();

          try
          {
         ab.ProgramName = AppName;
         ab.Copyright = "Copyright \u00a9 2013 Firefly Software";
         ab.Version = string.Empty;
         ab.Comments = "Version: " + Version;

         try
         {
            ab.Logo = null;
         }

         catch(Exception Mye)
         {
            DispMesg(Mye.Message);
         }

         ab.Run();
          }

          finally
          {
         ab.Destroy();
          }
    }
예제 #46
0
 public void About_Activated(object sender, EventArgs e)
 {
     AboutDialog dialog = new AboutDialog (Gui.MainWindow.Window);
     dialog.Run();
 }
예제 #47
0
 protected void OnAboutActionActivated (object sender, EventArgs e)
 {
     Process.Start("http://www.monogame.net/about/");
     var adialog = new AboutDialog ();
     adialog.TransientFor = this;
     adialog.Run ();
 }
예제 #48
0
    void ShowInfoDialog()
    {
        var about = new AboutDialog { Authors = new[] { "Benjamin Klüglein <*****@*****.**>" }, ProgramName = Catalog.GetString ("Directory History"), License = LicenseText, Comments = Catalog.GetString ("A program to keep a simple history of your files."), Title = Catalog.GetString ("About Directory History") };

        about.Run ();
        about.Destroy ();
    }
예제 #49
0
    protected virtual void AboutActivatedEvent(object sender, System.EventArgs e)
    {
        AboutDialog AboutBox = new AboutDialog();
        AboutBox.ProgramName = "GtkRegexNet";
        AboutBox.Copyright = "Copyright (c) 2011\nAll rights reserved.";
        AboutBox.License = @"Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        * Redistributions of source code must retain the above copyright
          notice, this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright
          notice, this list of conditions and the following disclaimer in the
          documentation and/or other materials provided with the distribution.
        * Neither the name of The Warrent Team nor the
          names of its contributors may be used to endorse or promote products
          derived from this software without specific prior written permission.
        * This software is free for non-commercial use. You may not use this
          software, in whole or in part, in support of any commercial product
          without the express consent of the author.

        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ""AS IS"" AND
        ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
        WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE WARRENT TEAM BE LIABLE FOR ANY
        DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
        (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
        LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
        ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
        (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
        SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
        AboutBox.Authors = new string[] {
            "Marc-Andre Ferland - Madrang"
        };
        AboutBox.Website = @"http://sites.google.com/site/warrentteam/";

        AboutBox.Run();
        AboutBox.Hide();
        AboutBox.Dispose();
    }
예제 #50
0
    void OnAbout(object sender, System.EventArgs e)
    {
        const string LicensePath = "COPYING.txt";

        System.Version version = System.Reflection.Assembly.GetExecutingAssembly ().GetName ().Version;
        string appVersion = string.Format ("{0}.{1}.{2}", version.Major.ToString (), version.Minor.ToString (), version.Build.ToString ());

        AboutDialog about = new AboutDialog { ProgramName = appName, Version = appVersion,
            Copyright = "© 2011 SubaruDieselCrew",
            Authors = new string[] { "subdiesel\thttp://subdiesel.wordpress.com",
                "\nThanks for any feedback!",
                "\nEXTERNAL BINARY DEPENDENCIES:",
                "Gtk#\thttp://mono-project.com/GtkSharp",
                "NPlot\thttp://netcontrols.org/nplot/wiki/",
                "gnuplot\thttp://www.gnuplot.info/",
                },
            WrapLicense = true };
        about.Icon = about.Logo = MainClass.AppIcon;
        about.Comments = "License: GPL v3";

        try {
            about.License = System.IO.File.ReadAllText (LicensePath);
        } catch (System.IO.FileNotFoundException) {
            about.License = "Could not load license file '" + LicensePath + "'.\nGo to http://www.fsf.org";
        }

        about.Run ();
        about.Destroy ();
    }
예제 #51
0
    protected void OnInfoActionActivated(object sender, EventArgs e)
    {
        Gtk.AboutDialog about = new AboutDialog();
        about.ProgramName = "Secretaría Electrial";
        about.Authors = new string[]{ "Rafael Bailón-Ruiz <*****@*****.**>" };
        about.TranslatorCredits = "English:\n\tRafael Bailón-Ruiz <*****@*****.**>\nEspañol:\n\tRafael Bailón-Ruiz <*****@*****.**>\nFrançais:\n\tRafael Bailón-Ruiz <*****@*****.**>";
        about.Copyright = "Copyright © 2013-2014 Asociación Electrial";
        about.WebsiteLabel = "http://www.ugr.es/~electrial";
        about.Version = "1.0.0";
        about.Icon = programIcon;
        about.Logo = programIcon;
        about.License = "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http://www.gnu.org/licenses/>.\n";
        about.Modal = true;
        about.TransientFor = this;
        if ((ResponseType)about.Run() == ResponseType.Cancel)
        {

        }
        about.Destroy();
    }
예제 #52
0
 protected virtual void OnAboutActionActivated(object sender, System.EventArgs e)
 {
     AboutDialog aboutus = new AboutDialog ();
                 aboutus.Run ();
                 aboutus.Destroy ();
 }
예제 #53
0
파일: encodroyd.cs 프로젝트: cit/Encodroyd
    static void OnAboutItemActivate(object o, EventArgs args)
    {
        AboutDialog dialog = new AboutDialog ();

        dialog.Logo = icon;
        dialog.ProgramName = "Encodroyd";
        dialog.Version = "0.0.1.0";
        dialog.Comments = "A video encoding software for Android phones";
        dialog.Copyright = "Copyright 2009 Florian Adamsky";
        dialog.Website = "http://cit.github.com/Encodroyd/";
        dialog.WebsiteLabel = "Visit Homepage";

        dialog.Run ();
        dialog.Destroy();
    }
예제 #54
0
	protected void OnRun (object sender, System.EventArgs e)
	{
		string commback = Command .Text;
		string comtext; //Cometex is the command that UI gates
		comtext = Command .Text .ToLower();
		int worc = 0; //To show the command's kind
		Command .Text = "";
		if (comtext == "about") //About Command
		{
		AboutDialog About = new AboutDialog ();
		About .Version = "1.0.1";
		About .Copyright = "Copyright 2012 ®Pouya Animation Foundation, Inc.";
		About .Website = "www.thepa.mx/nexth";
		About .License = "Nexth is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published \nby the Free Software Foundation; either version 3 of the License, \nor (at your option) any later version.\n\nNexth t is made in the hope that it will be useful, \nbut WITHOUT ANY WARRANTY; without even the implied warranty of \nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  \nSee the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License \nalong with this program.  If not, see <http://www.gnu.org/licenses/>.";
		About .Version = nversion ;
		About .Run ();
		About .Destroy ();
		}
		else if (comtext == "p1") // p1 > make panel 2 full size
		{
		    vpaned2 .Position = vpaned2 .MaxPosition ;
		}
		else if (comtext == "p2") // p2 > make panel 1 full siz
		{
			vpaned2 .Position = vpaned2 .MinPosition ;
		}
		else if (comtext == "exit") //exit > quit from application
		{
			goexit ();
		}
		else if (comtext == "ps") //ps > to make panel1 and panel 2 half size
		{
			vpaned2 .Position = vpaned2 .MaxPosition/2 ;
		}
		else if (comtext == "1c") //1c > to clear panel 1
		{
			panel1 .Buffer.Text = "";
		}
		else if (comtext == "2c") //2c > to clear panel 2
		{
			panel2 .Buffer.Text = "";
		}
		else if (comtext == "history") //commanding history
		{
			vclose ();
			vs.Show ();
			vhistory .Show ();
		}
		else if (comtext.StartsWith ("e1 ")) //echo command for p1
		{
			worc = 1;
			string echoword = Nexear .ttools .ts (commback , "e1 ");
			panel1 .Buffer .Text = panel1 .Buffer .Text + "\n" + echoword;
		}
		else if (comtext.StartsWith ("e2 ")) //echo command for p2
		{
			worc = 2;
			string echoword = Nexear .ttools .ts (commback , "e2 ");
			panel2 .Buffer .Text = panel2 .Buffer .Text + "\n" + echoword;
		}
		else if (comtext == "m21") //to move texts from p1 to p2
		{
			panel1 .Buffer .Text = panel2 .Buffer .Text ;
		}
		else if (comtext == "m12") //to move texts from p2 to p1
		{
			panel2 .Buffer .Text = panel1 .Buffer .Text ;
		}
		else if (comtext == "mm") //to change texts
		{
			string pan1back = panel2 .Buffer .Text ;
			panel2 .Buffer .Text = panel1 .Buffer .Text ;
			panel1 .Buffer .Text = pan1back ;
		}
		else if (comtext == "wma") // to maximaize screen
		{
			Maximize ();
		}
		else if (comtext == "e") //to exit
		{
			goexit ();
		}
		//KARY COMMAND!
		else if (comtext == "kary")
		{
			vclose ();
			vkary .Show ();
			vs.Show ();
		}
		else if (comtext == "pouya")
		{
			vclose ();
			vkary .Show ();
			vs.Show ();
		}
		else if (comtext == "pouya kary")
		{
			vclose ();
			vkary .Show ();
			vs.Show ();
		}
		else if (comtext == "replace -e") //To exit from replace
		{
			vclose ();
			ReplaceName.Text = "";
			ReplaceWith .Text = "";
			ReplacePanelNo .Active = 0;
		}
		else if (comtext == "replace") //Replace > to open replace page
		{
			vclose ();
			vreplace .Show ();
			vs.Show ();
		}
		else if (commback.StartsWith ("replace ")) //Replace {text}, to input {text} as first text
		{
			ReplaceName .Text = Nexear .ttools .ts (commback  , "replace ");
			vclose ();
			vreplace .Show ();
			vs.Show ();
		}
		else if (comtext == "help") // Help > to show help page
		{
			vclose ();
			vHelpCommand .Show ();
			vs.Show ();
		}
		else if (comtext == "history -c") //to close history
		{
			lhistory.Text = "";
		}
		else if (comtext == "history -e")
		{
			vclose ();
		}
		else if (comtext == "help -e")
		{
			vclose ();
		}
		else if (commback .StartsWith ("rn1 "))
		{
			p1name  = Nexear .ttools .ts (commback , "rn1 ");
		}
		else if (commback .StartsWith ("rn2 "))
		{
			p2name  = Nexear .ttools .ts (commback , "rn2 ");
		}
		else if (comtext == "")
		{}
		else if (commback .StartsWith ("open1 "))
		{
			string filewhere = Nexear .ttools .ts (commback , "open1 ");
			if (File .Exists (filewhere ))
			{
				panel1 .Buffer .Text = openpanelto (filewhere );
			}
			else
			{
				errorscreen ("File dose not exists","005");
			}
		}
		else if (commback .StartsWith ("open2 "))
		{
			string filewhere = Nexear .ttools .ts (commback , "open2 ");
			if (File .Exists (filewhere ))
			{
				panel1 .Buffer .Text = openpanelto (filewhere );
			}
			else
			{
				errorscreen ("File dose not exists","005");
			}
		}
		else if (commback .StartsWith ("import "))
		{
			string filetoimport = Nexear .ttools .ts (commback ,"import ");
			if (File .Exists (filetoimport ))
			{
				nexearopen (filetoimport );
			}
			else
			{
				errorscreen ("File dose not exsits","011");
			}
		}
		else if (comtext == ":d")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😆";
			worc = 4;
			}
		else if (comtext == "2:d")
		{
			panel2 .Buffer .Text = panel2 .Buffer .Text + "😆";
			worc = 4;
		}
		else if (comtext == ":)")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😌";
			worc = 4;
		}
		else if (comtext == "2:)")
		{
			panel2 .Buffer .Text = panel2 .Buffer .Text + "😌";
			worc = 4;
		}
		else if (comtext == ";)")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😉";
			worc = 4;
		}
		else if (comtext == "2;)")
		{
			panel2 .Buffer .Text = panel2 .Buffer .Text + "😉";
			worc = 4;
		}
		else if (comtext == ":|")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😐";
			worc = 4;
		}
		else if (comtext == "2:|")
		{
			panel2 .Buffer .Text = panel2 .Buffer .Text + "😐";
			worc = 4;
		}
		else if (comtext == ":s")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😖";
			worc = 4;
		}
		else if (comtext == "2:s")
		{
			panel2 .Buffer .Text = panel2 .Buffer .Text + "😖";
			worc = 4;
		}
		else if (comtext == ":(")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😞";
			worc = 4;
		}
		else if (comtext == "2:(")
		{
			panel2 .Buffer .Text = panel1 .Buffer .Text + "😞";
			worc = 4;
		}
		else if (comtext == ":p")
		{
			panel1 .Buffer .Text = panel1 .Buffer .Text + "😏";
			worc = 4;
		}
		else if (comtext == "2:p")
		{
			panel2 .Buffer .Text = panel1 .Buffer .Text + "😏";
			worc = 4;
		}
		else //So if it was no ant command it will be echo in Panel 1
		{
			worc = 1;
			panel1 .Buffer .Text = panel1 .Buffer .Text + "\n" + commback ;
		}
		if (comtext == "")
		{}
		else if (worc == 1)
		{ 
			//If command dosent exist or was e1 the text will apper in
			//panel1 we just show that kind of commands in a special
			//way this is for e1 or nothing
			if (commback .StartsWith("e1 "))
			{
				commback = Nexear .ttools .ts (commback , "e1 ");
			}
			lhistory .Text  = lhistory .Text  + "\n❶→“"+ commback + "”";
	 		if (lhistory.Text .StartsWith ("  [⌂ "))
			{
				lhistory .Text = "  "+lhistory .Text .Trim ();
			}
			else
			{
			lhistory .Text = lhistory .Text .Trim ();
			}
		}
		else if (worc == 2)
		{
			commback = Nexear .ttools .ts (commback , "e2 ");
			lhistory .Text  = lhistory .Text  + "\n❷→“"+ commback + "”";
	 		lhistory .Text = lhistory .Text.TrimStart ();
		}
		else if (worc == 4)
		{
			lhistory .Text  = lhistory .Text  + "\n😌😆😉😐😖😞😘";
	 		lhistory .Text = lhistory .Text.TrimStart ();
		}
		else
		{
			if (comtext == "history -c")
			{
				lhistory .Text = "";
			}
			else
			{
			lhistory .Text  = lhistory .Text  + "\n[⌂ "+ commback+"]" ;
	 		lhistory .Text = lhistory .Text.TrimStart ();
			}
		}
	}
예제 #55
0
    protected void Sobre(object sender, System.EventArgs e)
    {
        bool estavaPausado = pausado;

        pausado = true;
        PausarJogo();
        AboutDialog sobre = new AboutDialog();
            sobre.Title = "Sobre o bPong";
            sobre.ProgramName = "bPong";
            sobre.Version = "1.0";
            sobre.Copyright = @"Desenvolvido por Bruno Costa de Morais © 2012";
            sobre.Website = @"https://github.com/brunocmorais";
            sobre.DestroyWithParent = true;

            sobre.Comments = @"
        Este é um pequeno remake de um dos maiores
        clássicos do mundo dos videogames, que é o
        emblemático Pong. Foi lançado pela Atari no
        último dia do ano de 1972 e até hoje é lem-
        brado pelos gamers mais saudosistas.

        Foi desenvolvido com a linguagem C#, sob o uso
        do framework Mono e da biblioteca gráfica GTK#,
        em conjunto com a biblioteca de desenho Cairo.

        Licenciado sob a GPL 3.";
            sobre.Resizable = false;
            sobre.Run();
            sobre.Destroy();
            pausado = estavaPausado;
            PausarJogo();
    }
예제 #56
0
    protected void OnAbout(object sender, System.EventArgs e)
    {
        AboutDialog dialog = new AboutDialog ();

        dialog.ProgramName = "Password Usher";
        dialog.Version = "0.0.1";
        dialog.Comments = "A password manager utility";
        dialog.Authors = new string [] {"Chirdeep Tomar"};
        dialog.Website = "https://github.com/chirdeeptomar/password-usher";

        dialog.Run ();
        dialog.Destroy ();
    }
예제 #57
0
    protected void OnAboutActionActivated(object sender, EventArgs e)
    {
        AboutDialog dialog = new AboutDialog ();
        dialog.ProgramName = "QS: Мастерская автостекла";

        Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
        dialog.Version = String.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Build);

        dialog.Logo = Gdk.Pixbuf.LoadFromResource ("CarGlass.icons.logo.png");

        dialog.Comments = "Регистрация заказов в мастерской автостекл." +
            "\nРазработана на MonoDevelop с использованием открытых технологий Mono, GTK#, MySQL." +
            "\nТелефон тех. поддержки +7(812)575-79-44";

        dialog.Copyright = "Quality Solution 2014";

        dialog.Authors = new string [] {"Ганьков Андрей <*****@*****.**>"};

        dialog.Website = "http://www.qsolution.ru/";

        dialog.Run ();
        dialog.Destroy();
    }
예제 #58
0
    protected virtual void OnAboutActivated(object sender, System.EventArgs e)
    {
        about = new AboutDialog();
        about.Version = "0.6";
        about.Copyright = "Copyright 2011 - Seb Clarke";
        about.License = "GPLv3 goes here!";
        about.Comments = "Special thanks to my 3d guru, Iain C, of godlike fame";

        about.Run();
        about.Hide();
    }
예제 #59
0
 protected void OnAboutActionActivated(object sender, System.EventArgs e)
 {
     AboutDialog dialog = new AboutDialog();
     dialog.Run ();
 }
예제 #60
0
 protected void OnAboutActionActivated (object sender, EventArgs e)
 {
     var adialog = new AboutDialog ();
     adialog.TransientFor = this;
     adialog.Logo = new Gdk.Pixbuf(null, "MonoGame.Tools.Pipeline.App.ico");
     adialog.ProgramName = AssemblyAttributes.AssemblyProduct;
     adialog.Version = AssemblyAttributes.AssemblyVersion;
     adialog.Comments = AssemblyAttributes.AssemblyDescription;
     adialog.Copyright = AssemblyAttributes.AssemblyCopyright;
     adialog.Website = "http://www.monogame.net/";
     adialog.WebsiteLabel = "MonoGame Website";
     adialog.Run ();
     adialog.Destroy ();
 }