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; }
public void OnGetAboutDialogText(GetAboutDialogTextEventArgs evArgs) { if (GetAboutDialogText != null) { GetAboutDialogText(evArgs); } }
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; }
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; } } }