diff --git a/plugins/BinLogReader/AssemblyInfo.cs b/plugins/BinLogReader/AssemblyInfo.cs deleted file mode 100644 index 9f89a328..00000000 --- a/plugins/BinLogReader/AssemblyInfo.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.0.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/plugins/BinLogReader/BinLogReader.csproj b/plugins/BinLogReader/BinLogReader.csproj index b588cd50..31649abd 100644 --- a/plugins/BinLogReader/BinLogReader.csproj +++ b/plugins/BinLogReader/BinLogReader.csproj @@ -1,139 +1,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Debug + AnyCPU + 8.0.50727 + 2.0 + {CFC2A52D-FE82-46F4-A3A7-FBDFCDDEA8E0} + WinExe + Properties + BinLogReader + BinLogReader + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + Form + + + + + + + + Form1.cs + Designer + + + + + \ No newline at end of file diff --git a/plugins/BinLogReader/BinLogReader.exe b/plugins/BinLogReader/BinLogReader.exe index 9d6d30d8..df9cb271 100644 Binary files a/plugins/BinLogReader/BinLogReader.exe and b/plugins/BinLogReader/BinLogReader.exe differ diff --git a/plugins/BinLogReader/BinLogReader.sln b/plugins/BinLogReader/BinLogReader.sln index 10da71fc..9e626707 100644 --- a/plugins/BinLogReader/BinLogReader.sln +++ b/plugins/BinLogReader/BinLogReader.sln @@ -1,21 +1,20 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BinLogReader", "BinLogReader.csproj", "{5EB15D49-0E00-424F-A8E2-14A17FE78DD1}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BinLogReader", "BinLogReader.csproj", "{CFC2A52D-FE82-46F4-A3A7-FBDFCDDEA8E0}" EndProject Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {5EB15D49-0E00-424F-A8E2-14A17FE78DD1}.Debug.ActiveCfg = Debug|.NET - {5EB15D49-0E00-424F-A8E2-14A17FE78DD1}.Debug.Build.0 = Debug|.NET - {5EB15D49-0E00-424F-A8E2-14A17FE78DD1}.Release.ActiveCfg = Release|.NET - {5EB15D49-0E00-424F-A8E2-14A17FE78DD1}.Release.Build.0 = Release|.NET + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CFC2A52D-FE82-46F4-A3A7-FBDFCDDEA8E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CFC2A52D-FE82-46F4-A3A7-FBDFCDDEA8E0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CFC2A52D-FE82-46F4-A3A7-FBDFCDDEA8E0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CFC2A52D-FE82-46F4-A3A7-FBDFCDDEA8E0}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection EndGlobal diff --git a/plugins/BinLogReader/Form1.cs b/plugins/BinLogReader/Form1.cs index 0b07eded..50da2893 100644 --- a/plugins/BinLogReader/Form1.cs +++ b/plugins/BinLogReader/Form1.cs @@ -26,11 +26,8 @@ public class Form1 : System.Windows.Forms.Form private System.Windows.Forms.TabPage LogTextTab; private System.Windows.Forms.RichTextBox TextLog; private System.Windows.Forms.TabPage LogListTab; - private System.Windows.Forms.TabControl MainTab; - /// - /// Required designer variable. - /// - private System.ComponentModel.Container components = null; + private System.Windows.Forms.TabControl MainTab; + private IContainer components; public Form1() { @@ -68,151 +65,153 @@ protected override void Dispose( bool disposing ) /// private void InitializeComponent() { - this.mainMenu1 = new System.Windows.Forms.MainMenu(); - this.menuItem1 = new System.Windows.Forms.MenuItem(); - this.MenuFileOpen = new System.Windows.Forms.MenuItem(); - this.menuItem3 = new System.Windows.Forms.MenuItem(); - this.menuItem4 = new System.Windows.Forms.MenuItem(); - this.menuItem5 = new System.Windows.Forms.MenuItem(); - this.menuItem6 = new System.Windows.Forms.MenuItem(); - this.ofd = new System.Windows.Forms.OpenFileDialog(); - this.PluginsTab = new System.Windows.Forms.TabPage(); - this.PluginList = new System.Windows.Forms.ListView(); - this.LogTextTab = new System.Windows.Forms.TabPage(); - this.TextLog = new System.Windows.Forms.RichTextBox(); - this.LogListTab = new System.Windows.Forms.TabPage(); - this.MainTab = new System.Windows.Forms.TabControl(); - this.PluginsTab.SuspendLayout(); - this.LogTextTab.SuspendLayout(); - this.MainTab.SuspendLayout(); - this.SuspendLayout(); - // - // mainMenu1 - // - this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { - this.menuItem1, - this.menuItem5}); - // - // menuItem1 - // - this.menuItem1.Index = 0; - this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { - this.MenuFileOpen, - this.menuItem3, - this.menuItem4}); - this.menuItem1.Text = "&File"; - // - // MenuFileOpen - // - this.MenuFileOpen.Index = 0; - this.MenuFileOpen.Text = "&Open"; - this.MenuFileOpen.Click += new System.EventHandler(this.MenuFileOpen_Click); - // - // menuItem3 - // - this.menuItem3.Index = 1; - this.menuItem3.Text = "-"; - // - // menuItem4 - // - this.menuItem4.Index = 2; - this.menuItem4.Text = "E&xit"; - this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); - // - // menuItem5 - // - this.menuItem5.Index = 1; - this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { - this.menuItem6}); - this.menuItem5.Text = "&Help"; - // - // menuItem6 - // - this.menuItem6.Index = 0; - this.menuItem6.Text = "&About"; - // - // ofd - // - this.ofd.Filter = "Binary Log Files|*.blg"; - // - // PluginsTab - // - this.PluginsTab.Controls.Add(this.PluginList); - this.PluginsTab.Location = new System.Drawing.Point(4, 22); - this.PluginsTab.Name = "PluginsTab"; - this.PluginsTab.Size = new System.Drawing.Size(648, 346); - this.PluginsTab.TabIndex = 0; - this.PluginsTab.Text = "Plugins"; - // - // PluginList - // - this.PluginList.AllowColumnReorder = true; - this.PluginList.AutoArrange = false; - this.PluginList.Dock = System.Windows.Forms.DockStyle.Fill; - this.PluginList.FullRowSelect = true; - this.PluginList.Location = new System.Drawing.Point(0, 0); - this.PluginList.MultiSelect = false; - this.PluginList.Name = "PluginList"; - this.PluginList.Size = new System.Drawing.Size(648, 346); - this.PluginList.TabIndex = 0; - this.PluginList.View = System.Windows.Forms.View.Details; - // - // LogTextTab - // - this.LogTextTab.Controls.Add(this.TextLog); - this.LogTextTab.Location = new System.Drawing.Point(4, 22); - this.LogTextTab.Name = "LogTextTab"; - this.LogTextTab.Size = new System.Drawing.Size(648, 346); - this.LogTextTab.TabIndex = 1; - this.LogTextTab.Text = "Event Log (Text)"; - // - // TextLog - // - this.TextLog.Dock = System.Windows.Forms.DockStyle.Fill; - this.TextLog.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); - this.TextLog.Location = new System.Drawing.Point(0, 0); - this.TextLog.Name = "TextLog"; - this.TextLog.Size = new System.Drawing.Size(648, 346); - this.TextLog.TabIndex = 0; - this.TextLog.Text = ""; - // - // LogListTab - // - this.LogListTab.Location = new System.Drawing.Point(4, 22); - this.LogListTab.Name = "LogListTab"; - this.LogListTab.Size = new System.Drawing.Size(648, 346); - this.LogListTab.TabIndex = 3; - this.LogListTab.Text = "Event Log (List)"; - // - // MainTab - // - this.MainTab.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.MainTab.Controls.Add(this.PluginsTab); - this.MainTab.Controls.Add(this.LogTextTab); - this.MainTab.Controls.Add(this.LogListTab); - this.MainTab.ItemSize = new System.Drawing.Size(46, 18); - this.MainTab.Location = new System.Drawing.Point(8, 12); - this.MainTab.Name = "MainTab"; - this.MainTab.SelectedIndex = 0; - this.MainTab.Size = new System.Drawing.Size(656, 372); - this.MainTab.TabIndex = 0; - this.MainTab.SelectedIndexChanged += new System.EventHandler(this.MainTab_SelectedIndexChanged); - // - // Form1 - // - this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); - this.ClientSize = new System.Drawing.Size(676, 393); - this.Controls.Add(this.MainTab); - this.Menu = this.mainMenu1; - this.Name = "Form1"; - this.Text = "AMX Mod X BinLogReader"; - this.Load += new System.EventHandler(this.Form1_Load); - this.PluginsTab.ResumeLayout(false); - this.LogTextTab.ResumeLayout(false); - this.MainTab.ResumeLayout(false); - this.ResumeLayout(false); + this.components = new System.ComponentModel.Container(); + this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); + this.menuItem1 = new System.Windows.Forms.MenuItem(); + this.MenuFileOpen = new System.Windows.Forms.MenuItem(); + this.menuItem3 = new System.Windows.Forms.MenuItem(); + this.menuItem4 = new System.Windows.Forms.MenuItem(); + this.menuItem5 = new System.Windows.Forms.MenuItem(); + this.menuItem6 = new System.Windows.Forms.MenuItem(); + this.ofd = new System.Windows.Forms.OpenFileDialog(); + this.PluginsTab = new System.Windows.Forms.TabPage(); + this.PluginList = new System.Windows.Forms.ListView(); + this.LogTextTab = new System.Windows.Forms.TabPage(); + this.TextLog = new System.Windows.Forms.RichTextBox(); + this.LogListTab = new System.Windows.Forms.TabPage(); + this.MainTab = new System.Windows.Forms.TabControl(); + this.PluginsTab.SuspendLayout(); + this.LogTextTab.SuspendLayout(); + this.MainTab.SuspendLayout(); + this.SuspendLayout(); + // + // mainMenu1 + // + this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem1, + this.menuItem5}); + // + // menuItem1 + // + this.menuItem1.Index = 0; + this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.MenuFileOpen, + this.menuItem3, + this.menuItem4}); + this.menuItem1.Text = "&File"; + // + // MenuFileOpen + // + this.MenuFileOpen.Index = 0; + this.MenuFileOpen.Text = "&Open"; + this.MenuFileOpen.Click += new System.EventHandler(this.MenuFileOpen_Click); + // + // menuItem3 + // + this.menuItem3.Index = 1; + this.menuItem3.Text = "-"; + // + // menuItem4 + // + this.menuItem4.Index = 2; + this.menuItem4.Text = "E&xit"; + this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); + // + // menuItem5 + // + this.menuItem5.Index = 1; + this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem6}); + this.menuItem5.Text = "&Help"; + // + // menuItem6 + // + this.menuItem6.Index = 0; + this.menuItem6.Text = "&About"; + // + // ofd + // + this.ofd.Filter = "Binary Log Files|*.blg"; + // + // PluginsTab + // + this.PluginsTab.Controls.Add(this.PluginList); + this.PluginsTab.Location = new System.Drawing.Point(4, 22); + this.PluginsTab.Name = "PluginsTab"; + this.PluginsTab.Size = new System.Drawing.Size(648, 346); + this.PluginsTab.TabIndex = 0; + this.PluginsTab.Text = "Plugins"; + // + // PluginList + // + this.PluginList.AllowColumnReorder = true; + this.PluginList.AutoArrange = false; + this.PluginList.Dock = System.Windows.Forms.DockStyle.Fill; + this.PluginList.FullRowSelect = true; + this.PluginList.Location = new System.Drawing.Point(0, 0); + this.PluginList.MultiSelect = false; + this.PluginList.Name = "PluginList"; + this.PluginList.Size = new System.Drawing.Size(648, 346); + this.PluginList.TabIndex = 0; + this.PluginList.UseCompatibleStateImageBehavior = false; + this.PluginList.View = System.Windows.Forms.View.Details; + // + // LogTextTab + // + this.LogTextTab.Controls.Add(this.TextLog); + this.LogTextTab.Location = new System.Drawing.Point(4, 22); + this.LogTextTab.Name = "LogTextTab"; + this.LogTextTab.Size = new System.Drawing.Size(648, 346); + this.LogTextTab.TabIndex = 1; + this.LogTextTab.Text = "Event Log (Text)"; + // + // TextLog + // + this.TextLog.Dock = System.Windows.Forms.DockStyle.Fill; + this.TextLog.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TextLog.Location = new System.Drawing.Point(0, 0); + this.TextLog.Name = "TextLog"; + this.TextLog.Size = new System.Drawing.Size(648, 346); + this.TextLog.TabIndex = 0; + this.TextLog.Text = ""; + // + // LogListTab + // + this.LogListTab.Location = new System.Drawing.Point(4, 22); + this.LogListTab.Name = "LogListTab"; + this.LogListTab.Size = new System.Drawing.Size(648, 346); + this.LogListTab.TabIndex = 3; + this.LogListTab.Text = "Event Log (List)"; + // + // MainTab + // + this.MainTab.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.MainTab.Controls.Add(this.PluginsTab); + this.MainTab.Controls.Add(this.LogTextTab); + this.MainTab.Controls.Add(this.LogListTab); + this.MainTab.ItemSize = new System.Drawing.Size(46, 18); + this.MainTab.Location = new System.Drawing.Point(8, 12); + this.MainTab.Name = "MainTab"; + this.MainTab.SelectedIndex = 0; + this.MainTab.Size = new System.Drawing.Size(656, 372); + this.MainTab.TabIndex = 0; + this.MainTab.SelectedIndexChanged += new System.EventHandler(this.MainTab_SelectedIndexChanged); + // + // Form1 + // + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.ClientSize = new System.Drawing.Size(676, 393); + this.Controls.Add(this.MainTab); + this.Menu = this.mainMenu1; + this.Name = "Form1"; + this.Text = "AMX Mod X BinLog Reader"; + this.Load += new System.EventHandler(this.Form1_Load); + this.PluginsTab.ResumeLayout(false); + this.LogTextTab.ResumeLayout(false); + this.MainTab.ResumeLayout(false); + this.ResumeLayout(false); } #endregion @@ -233,6 +232,8 @@ public enum ViewAreas [STAThread] static void Main() { + Application.EnableVisualStyles(); + Application.DoEvents(); Application.Run(new Form1()); } diff --git a/plugins/BinLogReader/Form1.resx b/plugins/BinLogReader/Form1.resx index a3cd0240..fde36d0a 100644 --- a/plugins/BinLogReader/Form1.resx +++ b/plugins/BinLogReader/Form1.resx @@ -3,7 +3,7 @@ + + + + + + + + + + + + + + + + + + - + + @@ -89,186 +109,21 @@ text/microsoft-resx - 1.3 + 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Private - - + 17, 17 - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - - Private - - + + 126, 17 - - - False - - - True - - - True - - - Private - - - Private - - - 8, 8 - - - False - - - Private - - - Private - - - False - - - True - - - True - - - Private - - - Private - - - 8, 8 - - - False - - - Private - - - Private - - - False - - - True - - - True - - - Private - - - Private - - - 8, 8 - - - True - - - False - - - True - - - Private - - - Private - - - 4, 4 - - - False - - - Form1 - - - (Default) - - - False - - - False - - - 4, 4 - - - True - - + + 49 - - - True - - - Private - + \ No newline at end of file diff --git a/plugins/BinLogReader/Properties/AssemblyInfo.cs b/plugins/BinLogReader/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..f3901f0d --- /dev/null +++ b/plugins/BinLogReader/Properties/AssemblyInfo.cs @@ -0,0 +1,34 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("AMXX BinLog Reader")] +[assembly: AssemblyDescription("BinLog reader for AMX Mod X")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("AlliedModders, LLC")] +[assembly: AssemblyProduct("AMXX BinLog Reader")] +[assembly: AssemblyCopyright("(C)Copyright 2004-2008 AlliedModders, LLC")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("57c7deb0-941a-4059-bceb-51c61f8739b3")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]