コード例 #1
0
ファイル: AboutDialog.cs プロジェクト: smarinel/ags-web
        public AboutDialog()
        {
            InitializeComponent();
            pictureBox.Image = Resources.ResourceManager.GetBitmap("splash.bmp");

            txtInfo.Text = "AGS Editor .NET (Build " + AGS.Types.Version.AGS_EDITOR_VERSION + ")";
            if (AGS.Types.Version.IS_BETA_VERSION)
            {
                txtInfo.Text += " ** BETA VERSION **";
            }
            txtInfo.Text += Environment.NewLine +
                "v" + AGS.Types.Version.AGS_EDITOR_FRIENDLY_VERSION + ", " + AGS.Types.Version.AGS_EDITOR_DATE +
                Environment.NewLine +
                AGS.Types.Version.AGS_EDITOR_COPYRIGHT + Environment.NewLine +
                "Scintilla (c) 1998-2003 Neil Hodgson, all rights reserved" +
                Environment.NewLine +
                "See the DOCS folder for copyrights of used libraries." +
                Environment.NewLine +
                "System: " + GetOperatingSystemName() +
                Environment.NewLine;

            GetAboutDialogTextEventArgs evArgs = new GetAboutDialogTextEventArgs(string.Empty);
            Factory.Events.OnGetAboutDialogText(evArgs);
            txtInfo.Text += evArgs.Text;
        }
コード例 #2
0
ファイル: EditorEvents.cs プロジェクト: Aquilon96/ags
		public void OnGetAboutDialogText(GetAboutDialogTextEventArgs evArgs)
		{
			if (GetAboutDialogText != null)
			{
				GetAboutDialogText(evArgs);
			}
		}
コード例 #3
0
ファイル: AboutDialog.cs プロジェクト: CisBetter/ags
        public AboutDialog()
        {
            InitializeComponent();

            splashPage.ConstructSimple();

            txtInfo.Text = "AGS Editor .NET (Build " + AGS.Types.Version.AGS_EDITOR_VERSION + ")";
            if (AGS.Types.Version.IS_BETA_VERSION)
            {
                txtInfo.Text += " ** BETA VERSION **";
            }
            txtInfo.Text += Environment.NewLine +
                "v" + AGS.Types.Version.AGS_EDITOR_FRIENDLY_VERSION + ", " + AGS.Types.Version.AGS_EDITOR_DATE +
                Environment.NewLine +
                AGS.Types.Version.AGS_EDITOR_COPYRIGHT + Environment.NewLine +
                "Scintilla (c) 1998-2003 Neil Hodgson, all rights reserved" +
                Environment.NewLine +
                "DockPanel Suite (c) 2007 Weifen Luo" +
                Environment.NewLine +
                "See the DOCS folder for copyrights of used libraries." +
                Environment.NewLine +
                "System: " + GetOperatingSystemName() +
                Environment.NewLine;

            GetAboutDialogTextEventArgs evArgs = new GetAboutDialogTextEventArgs(string.Empty);
            Factory.Events.OnGetAboutDialogText(evArgs);
            txtInfo.Text += evArgs.Text;
        }
コード例 #4
0
ファイル: PluginsComponent.cs プロジェクト: Aquilon96/ags
		private void Events_GetAboutDialogText(GetAboutDialogTextEventArgs evArgs)
		{
			if (_editorPlugins.Count > 0)
			{
				evArgs.Text += "Editor plugins loaded:" + Environment.NewLine;
				foreach (EditorPlugin plugin in _editorPlugins)
				{
					evArgs.Text += "* " + plugin.FileName + Environment.NewLine;
				}
			}
		}