├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── packages
├── ModernUI.1.1.0.1
│ ├── ModernUI.1.1.0.1.nupkg
│ └── lib
│ │ ├── net20
│ │ └── MetroFramework.dll
│ │ ├── net35
│ │ └── MetroFramework.dll
│ │ ├── net40
│ │ └── MetroFramework.dll
│ │ └── net45
│ │ └── MetroFramework.dll
└── repositories.config
├── vbacGUI.sln
└── vbacGUI
├── App.config
├── ClassDiagram1.cd
├── Command
├── Explorer.cs
├── pt.cs
└── vbac.cs
├── Config.cs
├── Core.cs
├── FormMain.Designer.cs
├── FormMain.cs
├── FormMain.resx
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
├── packages.config
├── pt.exe
├── vbac.wsf
└── vbacGUI.csproj
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 | *.sln merge=union
7 | *.csproj merge=union
8 | *.vbproj merge=union
9 | *.fsproj merge=union
10 | *.dbproj merge=union
11 |
12 | # Standard to msysgit
13 | *.doc diff=astextplain
14 | *.DOC diff=astextplain
15 | *.docx diff=astextplain
16 | *.DOCX diff=astextplain
17 | *.dot diff=astextplain
18 | *.DOT diff=astextplain
19 | *.pdf diff=astextplain
20 | *.PDF diff=astextplain
21 | *.rtf diff=astextplain
22 | *.RTF diff=astextplain
23 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.sln.docstates
8 |
9 | # Build results
10 | [Dd]ebug/
11 | [Dd]ebugPublic/
12 | [Rr]elease/
13 | x64/
14 | build/
15 | bld/
16 | [Bb]in/
17 | [Oo]bj/
18 |
19 | # MSTest test Results
20 | [Tt]est[Rr]esult*/
21 | [Bb]uild[Ll]og.*
22 |
23 | #NUNIT
24 | *.VisualState.xml
25 | TestResult.xml
26 |
27 | # Build Results of an ATL Project
28 | [Dd]ebugPS/
29 | [Rr]eleasePS/
30 | dlldata.c
31 |
32 | *_i.c
33 | *_p.c
34 | *_i.h
35 | *.ilk
36 | *.meta
37 | *.obj
38 | *.pch
39 | *.pdb
40 | *.pgc
41 | *.pgd
42 | *.rsp
43 | *.sbr
44 | *.tlb
45 | *.tli
46 | *.tlh
47 | *.tmp
48 | *.tmp_proj
49 | *.log
50 | *.vspscc
51 | *.vssscc
52 | .builds
53 | *.pidb
54 | *.svclog
55 | *.scc
56 |
57 | # Chutzpah Test files
58 | _Chutzpah*
59 |
60 | # Visual C++ cache files
61 | ipch/
62 | *.aps
63 | *.ncb
64 | *.opensdf
65 | *.sdf
66 | *.cachefile
67 |
68 | # Visual Studio profiler
69 | *.psess
70 | *.vsp
71 | *.vspx
72 |
73 | # TFS 2012 Local Workspace
74 | $tf/
75 |
76 | # Guidance Automation Toolkit
77 | *.gpState
78 |
79 | # ReSharper is a .NET coding add-in
80 | _ReSharper*/
81 | *.[Rr]e[Ss]harper
82 | *.DotSettings.user
83 |
84 | # JustCode is a .NET coding addin-in
85 | .JustCode
86 |
87 | # TeamCity is a build add-in
88 | _TeamCity*
89 |
90 | # DotCover is a Code Coverage Tool
91 | *.dotCover
92 |
93 | # NCrunch
94 | *.ncrunch*
95 | _NCrunch_*
96 | .*crunch*.local.xml
97 |
98 | # MightyMoose
99 | *.mm.*
100 | AutoTest.Net/
101 |
102 | # Web workbench (sass)
103 | .sass-cache/
104 |
105 | # Installshield output folder
106 | [Ee]xpress/
107 |
108 | # DocProject is a documentation generator add-in
109 | DocProject/buildhelp/
110 | DocProject/Help/*.HxT
111 | DocProject/Help/*.HxC
112 | DocProject/Help/*.hhc
113 | DocProject/Help/*.hhk
114 | DocProject/Help/*.hhp
115 | DocProject/Help/Html2
116 | DocProject/Help/html
117 |
118 | # Click-Once directory
119 | publish/
120 |
121 | # Publish Web Output
122 | *.[Pp]ublish.xml
123 | *.azurePubxml
124 |
125 | # NuGet Packages Directory
126 | packages/
127 | ## TODO: If the tool you use requires repositories.config uncomment the next line
128 | #!packages/repositories.config
129 |
130 | # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
131 | # This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
132 | !packages/build/
133 |
134 | # Windows Azure Build Output
135 | csx/
136 | *.build.csdef
137 |
138 | # Windows Store app package directory
139 | AppPackages/
140 |
141 | # Others
142 | sql/
143 | *.Cache
144 | ClientBin/
145 | [Ss]tyle[Cc]op.*
146 | ~$*
147 | *~
148 | *.dbmdl
149 | *.dbproj.schemaview
150 | *.pfx
151 | *.publishsettings
152 | node_modules/
153 |
154 | # RIA/Silverlight projects
155 | Generated_Code/
156 |
157 | # Backup & report files from converting an old project file to a newer
158 | # Visual Studio version. Backup files are not needed, because we have git ;-)
159 | _UpgradeReport_Files/
160 | Backup*/
161 | UpgradeLog*.XML
162 | UpgradeLog*.htm
163 |
164 | # SQL Server files
165 | *.mdf
166 | *.ldf
167 |
168 | # Business Intelligence projects
169 | *.rdl.data
170 | *.bim.layout
171 | *.bim_*.settings
172 |
173 | # Microsoft Fakes
174 | FakesAssemblies/
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 D*isuke YAMAKAWA
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vbacGUI
2 |
3 | a GUI Frontend of the package including vbac & pt for VBA-er
4 |
5 | ## Required Enviroment
6 |
7 | - Windows 7, 8
8 | - .NET Framework 4.5
9 |
10 | # Acknowledgement
11 | - vbac.wsf is created by @igeta
12 | -- https://github.com/vbaidiot/Ariawase
13 | - pt.exe is created by @monochromegane
14 | -- https://github.com/monochromegane/the_platinum_searcher
15 |
16 | # Code Status
17 | - [](https://ci.appveyor.com/project/dck-jp/vbacgui)
18 |
--------------------------------------------------------------------------------
/packages/ModernUI.1.1.0.1/ModernUI.1.1.0.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dck-jp/vbacGUI/6e42374fabea92fa81b0bce28322e1778b1aeffa/packages/ModernUI.1.1.0.1/ModernUI.1.1.0.1.nupkg
--------------------------------------------------------------------------------
/packages/ModernUI.1.1.0.1/lib/net20/MetroFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dck-jp/vbacGUI/6e42374fabea92fa81b0bce28322e1778b1aeffa/packages/ModernUI.1.1.0.1/lib/net20/MetroFramework.dll
--------------------------------------------------------------------------------
/packages/ModernUI.1.1.0.1/lib/net35/MetroFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dck-jp/vbacGUI/6e42374fabea92fa81b0bce28322e1778b1aeffa/packages/ModernUI.1.1.0.1/lib/net35/MetroFramework.dll
--------------------------------------------------------------------------------
/packages/ModernUI.1.1.0.1/lib/net40/MetroFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dck-jp/vbacGUI/6e42374fabea92fa81b0bce28322e1778b1aeffa/packages/ModernUI.1.1.0.1/lib/net40/MetroFramework.dll
--------------------------------------------------------------------------------
/packages/ModernUI.1.1.0.1/lib/net45/MetroFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dck-jp/vbacGUI/6e42374fabea92fa81b0bce28322e1778b1aeffa/packages/ModernUI.1.1.0.1/lib/net45/MetroFramework.dll
--------------------------------------------------------------------------------
/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/vbacGUI.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.30110.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vbacGUI", "vbacGUI\vbacGUI.csproj", "{27DD91C9-A9B1-49E1-A69F-5FB4E02D8D8E}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {27DD91C9-A9B1-49E1-A69F-5FB4E02D8D8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {27DD91C9-A9B1-49E1-A69F-5FB4E02D8D8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {27DD91C9-A9B1-49E1-A69F-5FB4E02D8D8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {27DD91C9-A9B1-49E1-A69F-5FB4E02D8D8E}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/vbacGUI/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/vbacGUI/ClassDiagram1.cd:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/vbacGUI/Command/Explorer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace vbacGUI.Command
9 | {
10 | class Explorer
11 | {
12 | public void Execute(string path)
13 | {
14 | var p = new ProcessStartInfo();
15 | p.FileName = "explorer";
16 | p.Arguments = "/e /select," + path;
17 | //ref : http://support.microsoft.com/kb/152457/ja
18 |
19 | Process.Start(p);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/vbacGUI/Command/pt.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace vbacGUI.Command
9 | {
10 | public class pt
11 | {
12 | public string Version { get { return GetVersion(); } }
13 |
14 | public void Execute(string pattern, string path)
15 | {
16 | var p = new ProcessStartInfo();
17 | p.FileName = "cmd.exe";
18 |
19 | if(path == "") path = "src\"";
20 |
21 | p.Arguments = "/k " + Core.Config.pt.Path + " "+ pattern + " --nocolor " + path;
22 |
23 | p.UseShellExecute = true;
24 |
25 | Process.Start(p);
26 | }
27 |
28 | private string GetVersion()
29 | {
30 | var p = new ProcessStartInfo();
31 | p.FileName = Core.Config.pt.Path;
32 | p.Arguments = "--version";
33 |
34 | p.UseShellExecute = false;
35 | p.CreateNoWindow = true;
36 | p.RedirectStandardOutput = true;
37 |
38 | var process = Process.Start(p);
39 | var output = process.StandardOutput.ReadToEnd();
40 | process.WaitForExit();
41 |
42 | return output;
43 |
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/vbacGUI/Command/vbac.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.IO;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Text.RegularExpressions;
8 | using System.Threading.Tasks;
9 |
10 | namespace vbacGUI.Command
11 | {
12 | class vbac
13 | {
14 | public string Version { get { return GetVersion(); } }
15 |
16 | private string GetVersion()
17 | {
18 | var vbacSource = File.ReadAllLines(Core.Config.vbac.Path);
19 | var re = new Regex(@"vbac \(version (.+)\)");
20 | return vbacSource
21 | .Where(x => re.IsMatch(x))
22 | .Select(x => re.Match(x).Groups[1].Value)
23 | .First();
24 |
25 | }
26 |
27 | internal void Debuild(Config.vbacConfig vbacConfig)
28 | {
29 | Execute("decombine", vbacConfig.SourceDirectory, vbacConfig.BinaryDirectory,
30 | vbacConfig.EnableCompact, vbacConfig.EnableVbaproj, vbacConfig.EnableBackupBinary);
31 | }
32 |
33 | internal void Build(Config.vbacConfig vbacConfig)
34 | {
35 | Execute("combine", vbacConfig.SourceDirectory, vbacConfig.BinaryDirectory,
36 | vbacConfig.EnableCompact, vbacConfig.EnableVbaproj, vbacConfig.EnableBackupBinary);
37 | }
38 |
39 | internal void Execute(string command ,
40 | string sourceDirectory, string binaryDirectory,
41 | bool enableCompact, bool enableVbaproj, bool enableBackupBin)
42 | {
43 | var p = new ProcessStartInfo();
44 | p.FileName = "cscript.exe";
45 | p.Arguments = Core.Config.vbac.Path + " " + command;
46 |
47 | if (sourceDirectory != "") p.Arguments += " /source:\"" + sourceDirectory + "\"";
48 |
49 | if (binaryDirectory != "") p.Arguments += " /binary:\"" + binaryDirectory + "\"";
50 |
51 | if (enableCompact) p.Arguments += " /dbcompact";
52 |
53 | if (enableVbaproj) p.Arguments += " /vbaproj";
54 |
55 | EnableBackupBin(enableBackupBin);
56 | p.UseShellExecute = true;
57 |
58 | var process = Process.Start(p);
59 | process.WaitForExit();
60 | }
61 |
62 | private void EnableBackupBin(bool enableBackupBin)
63 | {
64 | var vbacSoruce = File.ReadAllLines(Core.Config.vbac.Path);
65 |
66 | var re = new Regex("param.binbak.flag = .+;");
67 | var replaceText = "param.binbak.flag = " + enableBackupBin.ToString().ToLower() +";";
68 | var vbaSourceNew = vbacSoruce.Select(x => re.IsMatch(x) ? re.Replace(x, replaceText) : x);
69 |
70 | File.WriteAllLines(Core.Config.vbac.Path, vbaSourceNew);
71 | }
72 |
73 |
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/vbacGUI/Config.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using System.Windows.Forms;
8 |
9 | namespace vbacGUI
10 | {
11 | public class Config
12 | {
13 | public readonly bool IsFirstBoot;
14 | public static string GetPath()
15 | {
16 | return Application.UserAppDataPath + "\\config.xml";
17 | }
18 | public Config()
19 | {
20 | IsFirstBoot = !File.Exists(Config.GetPath());
21 | }
22 | public void Save()
23 | {
24 | Files.SaveXML(Config.GetPath(), this);
25 | }
26 | public static Config Load()
27 | {
28 | if (File.Exists(Config.GetPath()))
29 | {
30 | return Files.LoadXML(Config.GetPath(), true);
31 | }
32 | else
33 | {
34 | return new Config();
35 | }
36 | }
37 |
38 | public vbacConfig vbac = new vbacConfig();
39 | public class vbacConfig
40 | {
41 | public readonly string Path = "vbac.wsf";
42 |
43 | public string SourceDirectory = "";
44 | public string BinaryDirectory = "";
45 | public bool EnableCompact = false;
46 | public bool EnableVbaproj = false;
47 | public bool EnableBackupBinary = false;
48 | }
49 |
50 | public ptConfig pt = new ptConfig();
51 | public class ptConfig
52 | {
53 | public readonly string Path = "pt.exe";
54 | public string searchWord = "";
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/vbacGUI/Core.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using System.Xml.Serialization;
8 |
9 | namespace vbacGUI
10 | {
11 | static public class Core
12 | {
13 | static public Config Config;
14 | static public FormMain FormMain;
15 | static public readonly string Version = "0.0.6";
16 | }
17 |
18 | static class Files
19 | {
20 | ///
21 | /// XMLファイルへオブジェクトをシリアライズします。
22 | ///
23 | /// シリアライズする型
24 | /// 保存先のファイルパス
25 | /// シリアライズするオブジェクト
26 | public static void SaveXML(string fpath, Type cfgclass)
27 | {
28 | var xsz = new XmlSerializer(typeof(Type));
29 | using (var fs = new FileStream(fpath, FileMode.Create, FileAccess.Write))
30 | {
31 | xsz.Serialize(fs, cfgclass);
32 | }
33 | }
34 |
35 | ///
36 | /// XMLファイルからオブジェクトをデシリアライズします。
37 | ///
38 | /// デシリアライズする型
39 | /// 読込先のファイルパス
40 | /// ファイルが存在しないときにFileNotFoundExceptionを発生させるか
41 | /// デシリアライズしたオブジェクト
42 | public static Type LoadXML(string fpath, bool raiseFileNotFoundException)
43 | {
44 | if (!File.Exists(fpath))
45 | {
46 | if (raiseFileNotFoundException)
47 | throw new FileNotFoundException("ファイル " + fpath + "が見つかりません。");
48 | return default(Type);
49 | }
50 |
51 | var xsz = new XmlSerializer(typeof(Type));
52 | using (var fs = new FileStream(fpath, FileMode.Open, FileAccess.Read))
53 | {
54 | return (Type)xsz.Deserialize(fs);
55 | }
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/vbacGUI/FormMain.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace vbacGUI
2 | {
3 | partial class FormMain
4 | {
5 | ///
6 | /// 必要なデザイナー変数です。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 使用中のリソースをすべてクリーンアップします。
12 | ///
13 | /// マネージ リソースが破棄される場合 true、破棄されない場合は false です。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows フォーム デザイナーで生成されたコード
24 |
25 | ///
26 | /// デザイナー サポートに必要なメソッドです。このメソッドの内容を
27 | /// コード エディターで変更しないでください。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.metroButtonCompile = new MetroFramework.Controls.MetroButton();
32 | this.metroButtonDecompile = new MetroFramework.Controls.MetroButton();
33 | this.metroButtonBrowseSourceDirectory = new MetroFramework.Controls.MetroButton();
34 | this.metroButtonBrowseBinaryDirectory = new MetroFramework.Controls.MetroButton();
35 | this.metroTextBoxSourceDirectory = new MetroFramework.Controls.MetroTextBox();
36 | this.metroTextBoxBinaryDirectory = new MetroFramework.Controls.MetroTextBox();
37 | this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
38 | this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
39 | this.metroButtonOpenSourceDirectory = new MetroFramework.Controls.MetroButton();
40 | this.metroButtonOpenBinaryDirectory = new MetroFramework.Controls.MetroButton();
41 | this.metroToggleOptionCompact = new MetroFramework.Controls.MetroToggle();
42 | this.metroTile1 = new MetroFramework.Controls.MetroTile();
43 | this.metroLabel3 = new MetroFramework.Controls.MetroLabel();
44 | this.metroLabel4 = new MetroFramework.Controls.MetroLabel();
45 | this.metroToggleOptionVbaproj = new MetroFramework.Controls.MetroToggle();
46 | this.metroTile2 = new MetroFramework.Controls.MetroTile();
47 | this.metroButtonSearch = new MetroFramework.Controls.MetroButton();
48 | this.metroTile3 = new MetroFramework.Controls.MetroTile();
49 | this.metroTextBoxSearchWord = new MetroFramework.Controls.MetroTextBox();
50 | this.metroLabel5 = new MetroFramework.Controls.MetroLabel();
51 | this.metroProgressSpinner = new MetroFramework.Controls.MetroProgressSpinner();
52 | this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
53 | this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage();
54 | this.metroTabPage2 = new MetroFramework.Controls.MetroTabPage();
55 | this.metroTile6 = new MetroFramework.Controls.MetroTile();
56 | this.metroTile5 = new MetroFramework.Controls.MetroTile();
57 | this.metroTile4 = new MetroFramework.Controls.MetroTile();
58 | this.metroLabel17 = new MetroFramework.Controls.MetroLabel();
59 | this.metroLabel16 = new MetroFramework.Controls.MetroLabel();
60 | this.metroLabel15 = new MetroFramework.Controls.MetroLabel();
61 | this.metroLabel14 = new MetroFramework.Controls.MetroLabel();
62 | this.metroLabel12 = new MetroFramework.Controls.MetroLabel();
63 | this.metroLabel10 = new MetroFramework.Controls.MetroLabel();
64 | this.metroLabel13 = new MetroFramework.Controls.MetroLabel();
65 | this.metroLabel11 = new MetroFramework.Controls.MetroLabel();
66 | this.metroLink6 = new MetroFramework.Controls.MetroLink();
67 | this.metroLink4 = new MetroFramework.Controls.MetroLink();
68 | this.metroLabel9 = new MetroFramework.Controls.MetroLabel();
69 | this.metroLink5 = new MetroFramework.Controls.MetroLink();
70 | this.metroLink3 = new MetroFramework.Controls.MetroLink();
71 | this.metroLink2 = new MetroFramework.Controls.MetroLink();
72 | this.metroLink1 = new MetroFramework.Controls.MetroLink();
73 | this.metroLabel8 = new MetroFramework.Controls.MetroLabel();
74 | this.metroLabel7 = new MetroFramework.Controls.MetroLabel();
75 | this.metroLabel6 = new MetroFramework.Controls.MetroLabel();
76 | this.metroLabelGUIVersion = new MetroFramework.Controls.MetroLabel();
77 | this.metroLabelvbacVersion = new MetroFramework.Controls.MetroLabel();
78 | this.metroLabelptVersion = new MetroFramework.Controls.MetroLabel();
79 | this.metroLabel18 = new MetroFramework.Controls.MetroLabel();
80 | this.metroToggleOptionBackupBinary = new MetroFramework.Controls.MetroToggle();
81 | this.metroTabControl1.SuspendLayout();
82 | this.metroTabPage1.SuspendLayout();
83 | this.metroTabPage2.SuspendLayout();
84 | this.SuspendLayout();
85 | //
86 | // metroButtonCompile
87 | //
88 | this.metroButtonCompile.Highlight = false;
89 | this.metroButtonCompile.Location = new System.Drawing.Point(374, 301);
90 | this.metroButtonCompile.Margin = new System.Windows.Forms.Padding(2);
91 | this.metroButtonCompile.Name = "metroButtonCompile";
92 | this.metroButtonCompile.Size = new System.Drawing.Size(184, 40);
93 | this.metroButtonCompile.Style = MetroFramework.MetroColorStyle.Orange;
94 | this.metroButtonCompile.StyleManager = null;
95 | this.metroButtonCompile.TabIndex = 6;
96 | this.metroButtonCompile.Text = "Combine";
97 | this.metroButtonCompile.Theme = MetroFramework.MetroThemeStyle.Light;
98 | this.metroButtonCompile.Click += new System.EventHandler(this.metroButtonCompile_Click);
99 | //
100 | // metroButtonDecompile
101 | //
102 | this.metroButtonDecompile.Highlight = false;
103 | this.metroButtonDecompile.Location = new System.Drawing.Point(185, 301);
104 | this.metroButtonDecompile.Margin = new System.Windows.Forms.Padding(2);
105 | this.metroButtonDecompile.Name = "metroButtonDecompile";
106 | this.metroButtonDecompile.Size = new System.Drawing.Size(184, 40);
107 | this.metroButtonDecompile.Style = MetroFramework.MetroColorStyle.Orange;
108 | this.metroButtonDecompile.StyleManager = null;
109 | this.metroButtonDecompile.TabIndex = 7;
110 | this.metroButtonDecompile.Text = "Decombine";
111 | this.metroButtonDecompile.Theme = MetroFramework.MetroThemeStyle.Light;
112 | this.metroButtonDecompile.Click += new System.EventHandler(this.metroButtonDecompile_Click);
113 | //
114 | // metroButtonBrowseSourceDirectory
115 | //
116 | this.metroButtonBrowseSourceDirectory.Highlight = false;
117 | this.metroButtonBrowseSourceDirectory.Location = new System.Drawing.Point(374, 51);
118 | this.metroButtonBrowseSourceDirectory.Margin = new System.Windows.Forms.Padding(2);
119 | this.metroButtonBrowseSourceDirectory.Name = "metroButtonBrowseSourceDirectory";
120 | this.metroButtonBrowseSourceDirectory.Size = new System.Drawing.Size(35, 39);
121 | this.metroButtonBrowseSourceDirectory.Style = MetroFramework.MetroColorStyle.Blue;
122 | this.metroButtonBrowseSourceDirectory.StyleManager = null;
123 | this.metroButtonBrowseSourceDirectory.TabIndex = 0;
124 | this.metroButtonBrowseSourceDirectory.Text = "…";
125 | this.metroButtonBrowseSourceDirectory.Theme = MetroFramework.MetroThemeStyle.Light;
126 | this.metroButtonBrowseSourceDirectory.Click += new System.EventHandler(this.metroButtonBrowseSourceDirectory_Click);
127 | //
128 | // metroButtonBrowseBinaryDirectory
129 | //
130 | this.metroButtonBrowseBinaryDirectory.Highlight = false;
131 | this.metroButtonBrowseBinaryDirectory.Location = new System.Drawing.Point(374, 101);
132 | this.metroButtonBrowseBinaryDirectory.Margin = new System.Windows.Forms.Padding(2);
133 | this.metroButtonBrowseBinaryDirectory.Name = "metroButtonBrowseBinaryDirectory";
134 | this.metroButtonBrowseBinaryDirectory.Size = new System.Drawing.Size(35, 39);
135 | this.metroButtonBrowseBinaryDirectory.Style = MetroFramework.MetroColorStyle.Blue;
136 | this.metroButtonBrowseBinaryDirectory.StyleManager = null;
137 | this.metroButtonBrowseBinaryDirectory.TabIndex = 1;
138 | this.metroButtonBrowseBinaryDirectory.Text = "…";
139 | this.metroButtonBrowseBinaryDirectory.Theme = MetroFramework.MetroThemeStyle.Light;
140 | this.metroButtonBrowseBinaryDirectory.Click += new System.EventHandler(this.metroButtonBrowseBinaryDirectory_Click);
141 | //
142 | // metroTextBoxSourceDirectory
143 | //
144 | this.metroTextBoxSourceDirectory.CustomBackground = false;
145 | this.metroTextBoxSourceDirectory.CustomForeColor = false;
146 | this.metroTextBoxSourceDirectory.FontSize = MetroFramework.MetroTextBoxSize.Small;
147 | this.metroTextBoxSourceDirectory.FontWeight = MetroFramework.MetroTextBoxWeight.Regular;
148 | this.metroTextBoxSourceDirectory.Location = new System.Drawing.Point(2, 70);
149 | this.metroTextBoxSourceDirectory.Margin = new System.Windows.Forms.Padding(2);
150 | this.metroTextBoxSourceDirectory.Multiline = false;
151 | this.metroTextBoxSourceDirectory.Name = "metroTextBoxSourceDirectory";
152 | this.metroTextBoxSourceDirectory.SelectedText = "";
153 | this.metroTextBoxSourceDirectory.Size = new System.Drawing.Size(366, 20);
154 | this.metroTextBoxSourceDirectory.Style = MetroFramework.MetroColorStyle.Blue;
155 | this.metroTextBoxSourceDirectory.StyleManager = null;
156 | this.metroTextBoxSourceDirectory.TabIndex = 2;
157 | this.metroTextBoxSourceDirectory.Theme = MetroFramework.MetroThemeStyle.Light;
158 | this.metroTextBoxSourceDirectory.UseStyleColors = false;
159 | //
160 | // metroTextBoxBinaryDirectory
161 | //
162 | this.metroTextBoxBinaryDirectory.CustomBackground = false;
163 | this.metroTextBoxBinaryDirectory.CustomForeColor = false;
164 | this.metroTextBoxBinaryDirectory.FontSize = MetroFramework.MetroTextBoxSize.Small;
165 | this.metroTextBoxBinaryDirectory.FontWeight = MetroFramework.MetroTextBoxWeight.Regular;
166 | this.metroTextBoxBinaryDirectory.Location = new System.Drawing.Point(2, 121);
167 | this.metroTextBoxBinaryDirectory.Margin = new System.Windows.Forms.Padding(2);
168 | this.metroTextBoxBinaryDirectory.Multiline = false;
169 | this.metroTextBoxBinaryDirectory.Name = "metroTextBoxBinaryDirectory";
170 | this.metroTextBoxBinaryDirectory.SelectedText = "";
171 | this.metroTextBoxBinaryDirectory.Size = new System.Drawing.Size(366, 20);
172 | this.metroTextBoxBinaryDirectory.Style = MetroFramework.MetroColorStyle.Blue;
173 | this.metroTextBoxBinaryDirectory.StyleManager = null;
174 | this.metroTextBoxBinaryDirectory.TabIndex = 3;
175 | this.metroTextBoxBinaryDirectory.Theme = MetroFramework.MetroThemeStyle.Light;
176 | this.metroTextBoxBinaryDirectory.UseStyleColors = false;
177 | //
178 | // metroLabel1
179 | //
180 | this.metroLabel1.AutoSize = true;
181 | this.metroLabel1.CustomBackground = false;
182 | this.metroLabel1.CustomForeColor = false;
183 | this.metroLabel1.FontSize = MetroFramework.MetroLabelSize.Medium;
184 | this.metroLabel1.FontWeight = MetroFramework.MetroLabelWeight.Light;
185 | this.metroLabel1.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
186 | this.metroLabel1.Location = new System.Drawing.Point(1, 409);
187 | this.metroLabel1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
188 | this.metroLabel1.Name = "metroLabel1";
189 | this.metroLabel1.Size = new System.Drawing.Size(88, 19);
190 | this.metroLabel1.Style = MetroFramework.MetroColorStyle.Blue;
191 | this.metroLabel1.StyleManager = null;
192 | this.metroLabel1.TabIndex = 4;
193 | this.metroLabel1.Text = "Search Word:";
194 | this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Light;
195 | this.metroLabel1.UseStyleColors = false;
196 | //
197 | // metroLabel2
198 | //
199 | this.metroLabel2.AutoSize = true;
200 | this.metroLabel2.CustomBackground = false;
201 | this.metroLabel2.CustomForeColor = false;
202 | this.metroLabel2.FontSize = MetroFramework.MetroLabelSize.Medium;
203 | this.metroLabel2.FontWeight = MetroFramework.MetroLabelWeight.Light;
204 | this.metroLabel2.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
205 | this.metroLabel2.Location = new System.Drawing.Point(2, 98);
206 | this.metroLabel2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
207 | this.metroLabel2.Name = "metroLabel2";
208 | this.metroLabel2.Size = new System.Drawing.Size(107, 19);
209 | this.metroLabel2.Style = MetroFramework.MetroColorStyle.Blue;
210 | this.metroLabel2.StyleManager = null;
211 | this.metroLabel2.TabIndex = 5;
212 | this.metroLabel2.Text = "Binary Directory:";
213 | this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Light;
214 | this.metroLabel2.UseStyleColors = false;
215 | //
216 | // metroButtonOpenSourceDirectory
217 | //
218 | this.metroButtonOpenSourceDirectory.Highlight = false;
219 | this.metroButtonOpenSourceDirectory.Location = new System.Drawing.Point(413, 52);
220 | this.metroButtonOpenSourceDirectory.Margin = new System.Windows.Forms.Padding(2);
221 | this.metroButtonOpenSourceDirectory.Name = "metroButtonOpenSourceDirectory";
222 | this.metroButtonOpenSourceDirectory.Size = new System.Drawing.Size(137, 38);
223 | this.metroButtonOpenSourceDirectory.Style = MetroFramework.MetroColorStyle.Blue;
224 | this.metroButtonOpenSourceDirectory.StyleManager = null;
225 | this.metroButtonOpenSourceDirectory.TabIndex = 8;
226 | this.metroButtonOpenSourceDirectory.Text = "Open in Explorer";
227 | this.metroButtonOpenSourceDirectory.Theme = MetroFramework.MetroThemeStyle.Light;
228 | this.metroButtonOpenSourceDirectory.Click += new System.EventHandler(this.metroButtonOpenSourceDirectory_Click);
229 | //
230 | // metroButtonOpenBinaryDirectory
231 | //
232 | this.metroButtonOpenBinaryDirectory.Highlight = false;
233 | this.metroButtonOpenBinaryDirectory.Location = new System.Drawing.Point(413, 101);
234 | this.metroButtonOpenBinaryDirectory.Margin = new System.Windows.Forms.Padding(2);
235 | this.metroButtonOpenBinaryDirectory.Name = "metroButtonOpenBinaryDirectory";
236 | this.metroButtonOpenBinaryDirectory.Size = new System.Drawing.Size(136, 40);
237 | this.metroButtonOpenBinaryDirectory.Style = MetroFramework.MetroColorStyle.Blue;
238 | this.metroButtonOpenBinaryDirectory.StyleManager = null;
239 | this.metroButtonOpenBinaryDirectory.TabIndex = 9;
240 | this.metroButtonOpenBinaryDirectory.Text = "Open in Explorer";
241 | this.metroButtonOpenBinaryDirectory.Theme = MetroFramework.MetroThemeStyle.Light;
242 | this.metroButtonOpenBinaryDirectory.Click += new System.EventHandler(this.metroButtonOpenBinaryDirectory_Click);
243 | //
244 | // metroToggleOptionCompact
245 | //
246 | this.metroToggleOptionCompact.AutoSize = true;
247 | this.metroToggleOptionCompact.CustomBackground = false;
248 | this.metroToggleOptionCompact.DisplayStatus = true;
249 | this.metroToggleOptionCompact.FontSize = MetroFramework.MetroLinkSize.Small;
250 | this.metroToggleOptionCompact.FontWeight = MetroFramework.MetroLinkWeight.Regular;
251 | this.metroToggleOptionCompact.Location = new System.Drawing.Point(164, 170);
252 | this.metroToggleOptionCompact.Margin = new System.Windows.Forms.Padding(2);
253 | this.metroToggleOptionCompact.Name = "metroToggleOptionCompact";
254 | this.metroToggleOptionCompact.Size = new System.Drawing.Size(80, 17);
255 | this.metroToggleOptionCompact.Style = MetroFramework.MetroColorStyle.Blue;
256 | this.metroToggleOptionCompact.StyleManager = null;
257 | this.metroToggleOptionCompact.TabIndex = 10;
258 | this.metroToggleOptionCompact.Text = "Off";
259 | this.metroToggleOptionCompact.Theme = MetroFramework.MetroThemeStyle.Light;
260 | this.metroToggleOptionCompact.UseStyleColors = false;
261 | this.metroToggleOptionCompact.UseVisualStyleBackColor = true;
262 | //
263 | // metroTile1
264 | //
265 | this.metroTile1.ActiveControl = null;
266 | this.metroTile1.CustomBackground = false;
267 | this.metroTile1.CustomForeColor = false;
268 | this.metroTile1.Location = new System.Drawing.Point(2, 12);
269 | this.metroTile1.Margin = new System.Windows.Forms.Padding(2);
270 | this.metroTile1.Name = "metroTile1";
271 | this.metroTile1.PaintTileCount = true;
272 | this.metroTile1.Size = new System.Drawing.Size(548, 24);
273 | this.metroTile1.Style = MetroFramework.MetroColorStyle.Silver;
274 | this.metroTile1.StyleManager = null;
275 | this.metroTile1.TabIndex = 11;
276 | this.metroTile1.Text = "Option";
277 | this.metroTile1.Theme = MetroFramework.MetroThemeStyle.Light;
278 | this.metroTile1.TileCount = 0;
279 | //
280 | // metroLabel3
281 | //
282 | this.metroLabel3.AutoSize = true;
283 | this.metroLabel3.CustomBackground = false;
284 | this.metroLabel3.CustomForeColor = false;
285 | this.metroLabel3.FontSize = MetroFramework.MetroLabelSize.Medium;
286 | this.metroLabel3.FontWeight = MetroFramework.MetroLabelWeight.Light;
287 | this.metroLabel3.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
288 | this.metroLabel3.Location = new System.Drawing.Point(2, 166);
289 | this.metroLabel3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
290 | this.metroLabel3.Name = "metroLabel3";
291 | this.metroLabel3.Size = new System.Drawing.Size(120, 19);
292 | this.metroLabel3.Style = MetroFramework.MetroColorStyle.Blue;
293 | this.metroLabel3.StyleManager = null;
294 | this.metroLabel3.TabIndex = 5;
295 | this.metroLabel3.Text = "Compact accessDB";
296 | this.metroLabel3.Theme = MetroFramework.MetroThemeStyle.Light;
297 | this.metroLabel3.UseStyleColors = false;
298 | //
299 | // metroLabel4
300 | //
301 | this.metroLabel4.AutoSize = true;
302 | this.metroLabel4.CustomBackground = false;
303 | this.metroLabel4.CustomForeColor = false;
304 | this.metroLabel4.FontSize = MetroFramework.MetroLabelSize.Medium;
305 | this.metroLabel4.FontWeight = MetroFramework.MetroLabelWeight.Light;
306 | this.metroLabel4.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
307 | this.metroLabel4.Location = new System.Drawing.Point(2, 205);
308 | this.metroLabel4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
309 | this.metroLabel4.Name = "metroLabel4";
310 | this.metroLabel4.Size = new System.Drawing.Size(100, 19);
311 | this.metroLabel4.Style = MetroFramework.MetroColorStyle.Blue;
312 | this.metroLabel4.StyleManager = null;
313 | this.metroLabel4.TabIndex = 5;
314 | this.metroLabel4.Text = "Create .vbaproj";
315 | this.metroLabel4.Theme = MetroFramework.MetroThemeStyle.Light;
316 | this.metroLabel4.UseStyleColors = false;
317 | //
318 | // metroToggleOptionVbaproj
319 | //
320 | this.metroToggleOptionVbaproj.AutoSize = true;
321 | this.metroToggleOptionVbaproj.CustomBackground = false;
322 | this.metroToggleOptionVbaproj.DisplayStatus = true;
323 | this.metroToggleOptionVbaproj.FontSize = MetroFramework.MetroLinkSize.Small;
324 | this.metroToggleOptionVbaproj.FontWeight = MetroFramework.MetroLinkWeight.Regular;
325 | this.metroToggleOptionVbaproj.Location = new System.Drawing.Point(164, 209);
326 | this.metroToggleOptionVbaproj.Margin = new System.Windows.Forms.Padding(2);
327 | this.metroToggleOptionVbaproj.Name = "metroToggleOptionVbaproj";
328 | this.metroToggleOptionVbaproj.Size = new System.Drawing.Size(80, 17);
329 | this.metroToggleOptionVbaproj.Style = MetroFramework.MetroColorStyle.Blue;
330 | this.metroToggleOptionVbaproj.StyleManager = null;
331 | this.metroToggleOptionVbaproj.TabIndex = 10;
332 | this.metroToggleOptionVbaproj.Text = "Off";
333 | this.metroToggleOptionVbaproj.Theme = MetroFramework.MetroThemeStyle.Light;
334 | this.metroToggleOptionVbaproj.UseStyleColors = false;
335 | this.metroToggleOptionVbaproj.UseVisualStyleBackColor = true;
336 | //
337 | // metroTile2
338 | //
339 | this.metroTile2.ActiveControl = null;
340 | this.metroTile2.CustomBackground = false;
341 | this.metroTile2.CustomForeColor = false;
342 | this.metroTile2.Location = new System.Drawing.Point(2, 272);
343 | this.metroTile2.Margin = new System.Windows.Forms.Padding(2);
344 | this.metroTile2.Name = "metroTile2";
345 | this.metroTile2.PaintTileCount = true;
346 | this.metroTile2.Size = new System.Drawing.Size(555, 24);
347 | this.metroTile2.Style = MetroFramework.MetroColorStyle.Silver;
348 | this.metroTile2.StyleManager = null;
349 | this.metroTile2.TabIndex = 11;
350 | this.metroTile2.Text = "vbac Command";
351 | this.metroTile2.Theme = MetroFramework.MetroThemeStyle.Light;
352 | this.metroTile2.TileCount = 0;
353 | //
354 | // metroButtonSearch
355 | //
356 | this.metroButtonSearch.Highlight = false;
357 | this.metroButtonSearch.Location = new System.Drawing.Point(373, 410);
358 | this.metroButtonSearch.Margin = new System.Windows.Forms.Padding(2);
359 | this.metroButtonSearch.Name = "metroButtonSearch";
360 | this.metroButtonSearch.Size = new System.Drawing.Size(184, 40);
361 | this.metroButtonSearch.Style = MetroFramework.MetroColorStyle.Orange;
362 | this.metroButtonSearch.StyleManager = null;
363 | this.metroButtonSearch.TabIndex = 6;
364 | this.metroButtonSearch.Text = "Search";
365 | this.metroButtonSearch.Theme = MetroFramework.MetroThemeStyle.Light;
366 | this.metroButtonSearch.Click += new System.EventHandler(this.metroButtonSearch_Click);
367 | //
368 | // metroTile3
369 | //
370 | this.metroTile3.ActiveControl = null;
371 | this.metroTile3.CustomBackground = false;
372 | this.metroTile3.CustomForeColor = false;
373 | this.metroTile3.Location = new System.Drawing.Point(2, 369);
374 | this.metroTile3.Margin = new System.Windows.Forms.Padding(2);
375 | this.metroTile3.Name = "metroTile3";
376 | this.metroTile3.PaintTileCount = true;
377 | this.metroTile3.Size = new System.Drawing.Size(555, 24);
378 | this.metroTile3.Style = MetroFramework.MetroColorStyle.Silver;
379 | this.metroTile3.StyleManager = null;
380 | this.metroTile3.TabIndex = 11;
381 | this.metroTile3.Text = "pt Command";
382 | this.metroTile3.Theme = MetroFramework.MetroThemeStyle.Light;
383 | this.metroTile3.TileCount = 0;
384 | //
385 | // metroTextBoxSearchWord
386 | //
387 | this.metroTextBoxSearchWord.CustomBackground = false;
388 | this.metroTextBoxSearchWord.CustomForeColor = false;
389 | this.metroTextBoxSearchWord.FontSize = MetroFramework.MetroTextBoxSize.Small;
390 | this.metroTextBoxSearchWord.FontWeight = MetroFramework.MetroTextBoxWeight.Regular;
391 | this.metroTextBoxSearchWord.Location = new System.Drawing.Point(2, 430);
392 | this.metroTextBoxSearchWord.Margin = new System.Windows.Forms.Padding(2);
393 | this.metroTextBoxSearchWord.Multiline = false;
394 | this.metroTextBoxSearchWord.Name = "metroTextBoxSearchWord";
395 | this.metroTextBoxSearchWord.SelectedText = "";
396 | this.metroTextBoxSearchWord.Size = new System.Drawing.Size(366, 20);
397 | this.metroTextBoxSearchWord.Style = MetroFramework.MetroColorStyle.Blue;
398 | this.metroTextBoxSearchWord.StyleManager = null;
399 | this.metroTextBoxSearchWord.TabIndex = 2;
400 | this.metroTextBoxSearchWord.Theme = MetroFramework.MetroThemeStyle.Light;
401 | this.metroTextBoxSearchWord.UseStyleColors = false;
402 | //
403 | // metroLabel5
404 | //
405 | this.metroLabel5.AutoSize = true;
406 | this.metroLabel5.CustomBackground = false;
407 | this.metroLabel5.CustomForeColor = false;
408 | this.metroLabel5.FontSize = MetroFramework.MetroLabelSize.Medium;
409 | this.metroLabel5.FontWeight = MetroFramework.MetroLabelWeight.Light;
410 | this.metroLabel5.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
411 | this.metroLabel5.Location = new System.Drawing.Point(2, 47);
412 | this.metroLabel5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
413 | this.metroLabel5.Name = "metroLabel5";
414 | this.metroLabel5.Size = new System.Drawing.Size(219, 19);
415 | this.metroLabel5.Style = MetroFramework.MetroColorStyle.Blue;
416 | this.metroLabel5.StyleManager = null;
417 | this.metroLabel5.TabIndex = 4;
418 | this.metroLabel5.Text = "Source Directory (Search Directory):";
419 | this.metroLabel5.Theme = MetroFramework.MetroThemeStyle.Light;
420 | this.metroLabel5.UseStyleColors = false;
421 | //
422 | // metroProgressSpinner
423 | //
424 | this.metroProgressSpinner.Backwards = true;
425 | this.metroProgressSpinner.CustomBackground = false;
426 | this.metroProgressSpinner.Enabled = false;
427 | this.metroProgressSpinner.EnsureVisible = false;
428 | this.metroProgressSpinner.Location = new System.Drawing.Point(397, 20);
429 | this.metroProgressSpinner.Margin = new System.Windows.Forms.Padding(2);
430 | this.metroProgressSpinner.Maximum = 100;
431 | this.metroProgressSpinner.Name = "metroProgressSpinner";
432 | this.metroProgressSpinner.Size = new System.Drawing.Size(36, 38);
433 | this.metroProgressSpinner.Speed = 0.8F;
434 | this.metroProgressSpinner.Style = MetroFramework.MetroColorStyle.Orange;
435 | this.metroProgressSpinner.StyleManager = null;
436 | this.metroProgressSpinner.TabIndex = 12;
437 | this.metroProgressSpinner.Theme = MetroFramework.MetroThemeStyle.Light;
438 | this.metroProgressSpinner.Value = 25;
439 | //
440 | // metroTabControl1
441 | //
442 | this.metroTabControl1.Controls.Add(this.metroTabPage1);
443 | this.metroTabControl1.Controls.Add(this.metroTabPage2);
444 | this.metroTabControl1.CustomBackground = false;
445 | this.metroTabControl1.FontSize = MetroFramework.MetroTabControlSize.Medium;
446 | this.metroTabControl1.FontWeight = MetroFramework.MetroTabControlWeight.Light;
447 | this.metroTabControl1.Location = new System.Drawing.Point(20, 63);
448 | this.metroTabControl1.Name = "metroTabControl1";
449 | this.metroTabControl1.SelectedIndex = 1;
450 | this.metroTabControl1.Size = new System.Drawing.Size(574, 527);
451 | this.metroTabControl1.Style = MetroFramework.MetroColorStyle.Orange;
452 | this.metroTabControl1.StyleManager = null;
453 | this.metroTabControl1.TabIndex = 13;
454 | this.metroTabControl1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
455 | this.metroTabControl1.Theme = MetroFramework.MetroThemeStyle.Light;
456 | this.metroTabControl1.UseStyleColors = false;
457 | this.metroTabControl1.SelectedIndexChanged += new System.EventHandler(this.metroTabControl1_SelectedIndexChanged);
458 | //
459 | // metroTabPage1
460 | //
461 | this.metroTabPage1.Controls.Add(this.metroTile1);
462 | this.metroTabPage1.Controls.Add(this.metroTile2);
463 | this.metroTabPage1.Controls.Add(this.metroTile3);
464 | this.metroTabPage1.Controls.Add(this.metroButtonBrowseBinaryDirectory);
465 | this.metroTabPage1.Controls.Add(this.metroTextBoxSourceDirectory);
466 | this.metroTabPage1.Controls.Add(this.metroToggleOptionBackupBinary);
467 | this.metroTabPage1.Controls.Add(this.metroToggleOptionVbaproj);
468 | this.metroTabPage1.Controls.Add(this.metroTextBoxSearchWord);
469 | this.metroTabPage1.Controls.Add(this.metroToggleOptionCompact);
470 | this.metroTabPage1.Controls.Add(this.metroButtonBrowseSourceDirectory);
471 | this.metroTabPage1.Controls.Add(this.metroButtonOpenBinaryDirectory);
472 | this.metroTabPage1.Controls.Add(this.metroTextBoxBinaryDirectory);
473 | this.metroTabPage1.Controls.Add(this.metroButtonOpenSourceDirectory);
474 | this.metroTabPage1.Controls.Add(this.metroLabel1);
475 | this.metroTabPage1.Controls.Add(this.metroButtonDecompile);
476 | this.metroTabPage1.Controls.Add(this.metroLabel5);
477 | this.metroTabPage1.Controls.Add(this.metroLabel18);
478 | this.metroTabPage1.Controls.Add(this.metroLabel4);
479 | this.metroTabPage1.Controls.Add(this.metroButtonCompile);
480 | this.metroTabPage1.Controls.Add(this.metroLabel3);
481 | this.metroTabPage1.Controls.Add(this.metroLabel2);
482 | this.metroTabPage1.Controls.Add(this.metroButtonSearch);
483 | this.metroTabPage1.CustomBackground = false;
484 | this.metroTabPage1.HorizontalScrollbar = false;
485 | this.metroTabPage1.HorizontalScrollbarBarColor = true;
486 | this.metroTabPage1.HorizontalScrollbarHighlightOnWheel = false;
487 | this.metroTabPage1.HorizontalScrollbarSize = 10;
488 | this.metroTabPage1.Location = new System.Drawing.Point(4, 38);
489 | this.metroTabPage1.Name = "metroTabPage1";
490 | this.metroTabPage1.Size = new System.Drawing.Size(566, 485);
491 | this.metroTabPage1.Style = MetroFramework.MetroColorStyle.Blue;
492 | this.metroTabPage1.StyleManager = null;
493 | this.metroTabPage1.TabIndex = 0;
494 | this.metroTabPage1.Text = "Main";
495 | this.metroTabPage1.Theme = MetroFramework.MetroThemeStyle.Light;
496 | this.metroTabPage1.VerticalScrollbar = false;
497 | this.metroTabPage1.VerticalScrollbarBarColor = true;
498 | this.metroTabPage1.VerticalScrollbarHighlightOnWheel = false;
499 | this.metroTabPage1.VerticalScrollbarSize = 10;
500 | //
501 | // metroTabPage2
502 | //
503 | this.metroTabPage2.Controls.Add(this.metroLabelptVersion);
504 | this.metroTabPage2.Controls.Add(this.metroLabelvbacVersion);
505 | this.metroTabPage2.Controls.Add(this.metroLabelGUIVersion);
506 | this.metroTabPage2.Controls.Add(this.metroTile6);
507 | this.metroTabPage2.Controls.Add(this.metroTile5);
508 | this.metroTabPage2.Controls.Add(this.metroTile4);
509 | this.metroTabPage2.Controls.Add(this.metroLabel17);
510 | this.metroTabPage2.Controls.Add(this.metroLabel16);
511 | this.metroTabPage2.Controls.Add(this.metroLabel15);
512 | this.metroTabPage2.Controls.Add(this.metroLabel14);
513 | this.metroTabPage2.Controls.Add(this.metroLabel12);
514 | this.metroTabPage2.Controls.Add(this.metroLabel10);
515 | this.metroTabPage2.Controls.Add(this.metroLabel13);
516 | this.metroTabPage2.Controls.Add(this.metroLabel11);
517 | this.metroTabPage2.Controls.Add(this.metroLink6);
518 | this.metroTabPage2.Controls.Add(this.metroLink4);
519 | this.metroTabPage2.Controls.Add(this.metroLabel9);
520 | this.metroTabPage2.Controls.Add(this.metroLink5);
521 | this.metroTabPage2.Controls.Add(this.metroLink3);
522 | this.metroTabPage2.Controls.Add(this.metroLink2);
523 | this.metroTabPage2.Controls.Add(this.metroLink1);
524 | this.metroTabPage2.Controls.Add(this.metroLabel8);
525 | this.metroTabPage2.Controls.Add(this.metroLabel7);
526 | this.metroTabPage2.Controls.Add(this.metroLabel6);
527 | this.metroTabPage2.CustomBackground = false;
528 | this.metroTabPage2.HorizontalScrollbar = false;
529 | this.metroTabPage2.HorizontalScrollbarBarColor = true;
530 | this.metroTabPage2.HorizontalScrollbarHighlightOnWheel = false;
531 | this.metroTabPage2.HorizontalScrollbarSize = 10;
532 | this.metroTabPage2.Location = new System.Drawing.Point(4, 38);
533 | this.metroTabPage2.Name = "metroTabPage2";
534 | this.metroTabPage2.Size = new System.Drawing.Size(566, 485);
535 | this.metroTabPage2.Style = MetroFramework.MetroColorStyle.Blue;
536 | this.metroTabPage2.StyleManager = null;
537 | this.metroTabPage2.TabIndex = 1;
538 | this.metroTabPage2.Text = "Info";
539 | this.metroTabPage2.Theme = MetroFramework.MetroThemeStyle.Light;
540 | this.metroTabPage2.VerticalScrollbar = false;
541 | this.metroTabPage2.VerticalScrollbarBarColor = true;
542 | this.metroTabPage2.VerticalScrollbarHighlightOnWheel = false;
543 | this.metroTabPage2.VerticalScrollbarSize = 10;
544 | //
545 | // metroTile6
546 | //
547 | this.metroTile6.ActiveControl = null;
548 | this.metroTile6.CustomBackground = false;
549 | this.metroTile6.CustomForeColor = false;
550 | this.metroTile6.Location = new System.Drawing.Point(3, 287);
551 | this.metroTile6.Name = "metroTile6";
552 | this.metroTile6.PaintTileCount = true;
553 | this.metroTile6.Size = new System.Drawing.Size(75, 108);
554 | this.metroTile6.Style = MetroFramework.MetroColorStyle.Silver;
555 | this.metroTile6.StyleManager = null;
556 | this.metroTile6.TabIndex = 5;
557 | this.metroTile6.Text = "pt";
558 | this.metroTile6.Theme = MetroFramework.MetroThemeStyle.Light;
559 | this.metroTile6.TileCount = 0;
560 | //
561 | // metroTile5
562 | //
563 | this.metroTile5.ActiveControl = null;
564 | this.metroTile5.CustomBackground = false;
565 | this.metroTile5.CustomForeColor = false;
566 | this.metroTile5.Location = new System.Drawing.Point(3, 157);
567 | this.metroTile5.Name = "metroTile5";
568 | this.metroTile5.PaintTileCount = true;
569 | this.metroTile5.Size = new System.Drawing.Size(75, 108);
570 | this.metroTile5.Style = MetroFramework.MetroColorStyle.Yellow;
571 | this.metroTile5.StyleManager = null;
572 | this.metroTile5.TabIndex = 5;
573 | this.metroTile5.Text = "vbac";
574 | this.metroTile5.Theme = MetroFramework.MetroThemeStyle.Light;
575 | this.metroTile5.TileCount = 0;
576 | //
577 | // metroTile4
578 | //
579 | this.metroTile4.ActiveControl = null;
580 | this.metroTile4.CustomBackground = false;
581 | this.metroTile4.CustomForeColor = false;
582 | this.metroTile4.Location = new System.Drawing.Point(3, 27);
583 | this.metroTile4.Name = "metroTile4";
584 | this.metroTile4.PaintTileCount = true;
585 | this.metroTile4.Size = new System.Drawing.Size(75, 108);
586 | this.metroTile4.Style = MetroFramework.MetroColorStyle.Orange;
587 | this.metroTile4.StyleManager = null;
588 | this.metroTile4.TabIndex = 5;
589 | this.metroTile4.Text = "vbac GUI";
590 | this.metroTile4.Theme = MetroFramework.MetroThemeStyle.Light;
591 | this.metroTile4.TileCount = 0;
592 | //
593 | // metroLabel17
594 | //
595 | this.metroLabel17.AutoSize = true;
596 | this.metroLabel17.CustomBackground = false;
597 | this.metroLabel17.CustomForeColor = false;
598 | this.metroLabel17.FontSize = MetroFramework.MetroLabelSize.Medium;
599 | this.metroLabel17.FontWeight = MetroFramework.MetroLabelWeight.Light;
600 | this.metroLabel17.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
601 | this.metroLabel17.Location = new System.Drawing.Point(126, 116);
602 | this.metroLabel17.Name = "metroLabel17";
603 | this.metroLabel17.Size = new System.Drawing.Size(102, 19);
604 | this.metroLabel17.Style = MetroFramework.MetroColorStyle.Blue;
605 | this.metroLabel17.StyleManager = null;
606 | this.metroLabel17.TabIndex = 4;
607 | this.metroLabel17.Text = "Current Version:";
608 | this.metroLabel17.Theme = MetroFramework.MetroThemeStyle.Light;
609 | this.metroLabel17.UseStyleColors = false;
610 | //
611 | // metroLabel16
612 | //
613 | this.metroLabel16.AutoSize = true;
614 | this.metroLabel16.CustomBackground = false;
615 | this.metroLabel16.CustomForeColor = false;
616 | this.metroLabel16.FontSize = MetroFramework.MetroLabelSize.Medium;
617 | this.metroLabel16.FontWeight = MetroFramework.MetroLabelWeight.Light;
618 | this.metroLabel16.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
619 | this.metroLabel16.Location = new System.Drawing.Point(127, 246);
620 | this.metroLabel16.Name = "metroLabel16";
621 | this.metroLabel16.Size = new System.Drawing.Size(102, 19);
622 | this.metroLabel16.Style = MetroFramework.MetroColorStyle.Blue;
623 | this.metroLabel16.StyleManager = null;
624 | this.metroLabel16.TabIndex = 4;
625 | this.metroLabel16.Text = "Current Version:";
626 | this.metroLabel16.Theme = MetroFramework.MetroThemeStyle.Light;
627 | this.metroLabel16.UseStyleColors = false;
628 | //
629 | // metroLabel15
630 | //
631 | this.metroLabel15.AutoSize = true;
632 | this.metroLabel15.CustomBackground = false;
633 | this.metroLabel15.CustomForeColor = false;
634 | this.metroLabel15.FontSize = MetroFramework.MetroLabelSize.Medium;
635 | this.metroLabel15.FontWeight = MetroFramework.MetroLabelWeight.Light;
636 | this.metroLabel15.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
637 | this.metroLabel15.Location = new System.Drawing.Point(126, 376);
638 | this.metroLabel15.Name = "metroLabel15";
639 | this.metroLabel15.Size = new System.Drawing.Size(102, 19);
640 | this.metroLabel15.Style = MetroFramework.MetroColorStyle.Blue;
641 | this.metroLabel15.StyleManager = null;
642 | this.metroLabel15.TabIndex = 4;
643 | this.metroLabel15.Text = "Current Version:";
644 | this.metroLabel15.Theme = MetroFramework.MetroThemeStyle.Light;
645 | this.metroLabel15.UseStyleColors = false;
646 | //
647 | // metroLabel14
648 | //
649 | this.metroLabel14.AutoSize = true;
650 | this.metroLabel14.CustomBackground = false;
651 | this.metroLabel14.CustomForeColor = false;
652 | this.metroLabel14.FontSize = MetroFramework.MetroLabelSize.Medium;
653 | this.metroLabel14.FontWeight = MetroFramework.MetroLabelWeight.Light;
654 | this.metroLabel14.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
655 | this.metroLabel14.Location = new System.Drawing.Point(126, 345);
656 | this.metroLabel14.Name = "metroLabel14";
657 | this.metroLabel14.Size = new System.Drawing.Size(50, 19);
658 | this.metroLabel14.Style = MetroFramework.MetroColorStyle.Blue;
659 | this.metroLabel14.StyleManager = null;
660 | this.metroLabel14.TabIndex = 4;
661 | this.metroLabel14.Text = "Github:";
662 | this.metroLabel14.Theme = MetroFramework.MetroThemeStyle.Light;
663 | this.metroLabel14.UseStyleColors = false;
664 | //
665 | // metroLabel12
666 | //
667 | this.metroLabel12.AutoSize = true;
668 | this.metroLabel12.CustomBackground = false;
669 | this.metroLabel12.CustomForeColor = false;
670 | this.metroLabel12.FontSize = MetroFramework.MetroLabelSize.Medium;
671 | this.metroLabel12.FontWeight = MetroFramework.MetroLabelWeight.Light;
672 | this.metroLabel12.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
673 | this.metroLabel12.Location = new System.Drawing.Point(127, 215);
674 | this.metroLabel12.Name = "metroLabel12";
675 | this.metroLabel12.Size = new System.Drawing.Size(50, 19);
676 | this.metroLabel12.Style = MetroFramework.MetroColorStyle.Blue;
677 | this.metroLabel12.StyleManager = null;
678 | this.metroLabel12.TabIndex = 4;
679 | this.metroLabel12.Text = "Github:";
680 | this.metroLabel12.Theme = MetroFramework.MetroThemeStyle.Light;
681 | this.metroLabel12.UseStyleColors = false;
682 | //
683 | // metroLabel10
684 | //
685 | this.metroLabel10.AutoSize = true;
686 | this.metroLabel10.CustomBackground = false;
687 | this.metroLabel10.CustomForeColor = false;
688 | this.metroLabel10.FontSize = MetroFramework.MetroLabelSize.Medium;
689 | this.metroLabel10.FontWeight = MetroFramework.MetroLabelWeight.Light;
690 | this.metroLabel10.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
691 | this.metroLabel10.Location = new System.Drawing.Point(127, 84);
692 | this.metroLabel10.Name = "metroLabel10";
693 | this.metroLabel10.Size = new System.Drawing.Size(50, 19);
694 | this.metroLabel10.Style = MetroFramework.MetroColorStyle.Blue;
695 | this.metroLabel10.StyleManager = null;
696 | this.metroLabel10.TabIndex = 4;
697 | this.metroLabel10.Text = "Github:";
698 | this.metroLabel10.Theme = MetroFramework.MetroThemeStyle.Light;
699 | this.metroLabel10.UseStyleColors = false;
700 | //
701 | // metroLabel13
702 | //
703 | this.metroLabel13.AutoSize = true;
704 | this.metroLabel13.CustomBackground = false;
705 | this.metroLabel13.CustomForeColor = false;
706 | this.metroLabel13.FontSize = MetroFramework.MetroLabelSize.Medium;
707 | this.metroLabel13.FontWeight = MetroFramework.MetroLabelWeight.Light;
708 | this.metroLabel13.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
709 | this.metroLabel13.Location = new System.Drawing.Point(126, 316);
710 | this.metroLabel13.Name = "metroLabel13";
711 | this.metroLabel13.Size = new System.Drawing.Size(51, 19);
712 | this.metroLabel13.Style = MetroFramework.MetroColorStyle.Blue;
713 | this.metroLabel13.StyleManager = null;
714 | this.metroLabel13.TabIndex = 4;
715 | this.metroLabel13.Text = "Twitter:";
716 | this.metroLabel13.Theme = MetroFramework.MetroThemeStyle.Light;
717 | this.metroLabel13.UseStyleColors = false;
718 | //
719 | // metroLabel11
720 | //
721 | this.metroLabel11.AutoSize = true;
722 | this.metroLabel11.CustomBackground = false;
723 | this.metroLabel11.CustomForeColor = false;
724 | this.metroLabel11.FontSize = MetroFramework.MetroLabelSize.Medium;
725 | this.metroLabel11.FontWeight = MetroFramework.MetroLabelWeight.Light;
726 | this.metroLabel11.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
727 | this.metroLabel11.Location = new System.Drawing.Point(127, 186);
728 | this.metroLabel11.Name = "metroLabel11";
729 | this.metroLabel11.Size = new System.Drawing.Size(51, 19);
730 | this.metroLabel11.Style = MetroFramework.MetroColorStyle.Blue;
731 | this.metroLabel11.StyleManager = null;
732 | this.metroLabel11.TabIndex = 4;
733 | this.metroLabel11.Text = "Twitter:";
734 | this.metroLabel11.Theme = MetroFramework.MetroThemeStyle.Light;
735 | this.metroLabel11.UseStyleColors = false;
736 | //
737 | // metroLink6
738 | //
739 | this.metroLink6.CustomBackground = false;
740 | this.metroLink6.CustomForeColor = false;
741 | this.metroLink6.FontSize = MetroFramework.MetroLinkSize.Small;
742 | this.metroLink6.FontWeight = MetroFramework.MetroLinkWeight.Bold;
743 | this.metroLink6.Location = new System.Drawing.Point(172, 345);
744 | this.metroLink6.Name = "metroLink6";
745 | this.metroLink6.Size = new System.Drawing.Size(377, 23);
746 | this.metroLink6.Style = MetroFramework.MetroColorStyle.Blue;
747 | this.metroLink6.StyleManager = null;
748 | this.metroLink6.TabIndex = 3;
749 | this.metroLink6.Text = "https://github.com/monochromegane/the_platinum_searcher";
750 | this.metroLink6.Theme = MetroFramework.MetroThemeStyle.Light;
751 | this.metroLink6.UseStyleColors = false;
752 | this.metroLink6.Click += new System.EventHandler(this.metroLink6_Click);
753 | //
754 | // metroLink4
755 | //
756 | this.metroLink4.CustomBackground = false;
757 | this.metroLink4.CustomForeColor = false;
758 | this.metroLink4.FontSize = MetroFramework.MetroLinkSize.Small;
759 | this.metroLink4.FontWeight = MetroFramework.MetroLinkWeight.Bold;
760 | this.metroLink4.Location = new System.Drawing.Point(173, 215);
761 | this.metroLink4.Name = "metroLink4";
762 | this.metroLink4.Size = new System.Drawing.Size(241, 23);
763 | this.metroLink4.Style = MetroFramework.MetroColorStyle.Blue;
764 | this.metroLink4.StyleManager = null;
765 | this.metroLink4.TabIndex = 3;
766 | this.metroLink4.Text = "https://github.com/vbaidiot/Ariawase";
767 | this.metroLink4.Theme = MetroFramework.MetroThemeStyle.Light;
768 | this.metroLink4.UseStyleColors = false;
769 | this.metroLink4.Click += new System.EventHandler(this.metroLink4_Click);
770 | //
771 | // metroLabel9
772 | //
773 | this.metroLabel9.AutoSize = true;
774 | this.metroLabel9.CustomBackground = false;
775 | this.metroLabel9.CustomForeColor = false;
776 | this.metroLabel9.FontSize = MetroFramework.MetroLabelSize.Medium;
777 | this.metroLabel9.FontWeight = MetroFramework.MetroLabelWeight.Light;
778 | this.metroLabel9.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
779 | this.metroLabel9.Location = new System.Drawing.Point(127, 55);
780 | this.metroLabel9.Name = "metroLabel9";
781 | this.metroLabel9.Size = new System.Drawing.Size(40, 19);
782 | this.metroLabel9.Style = MetroFramework.MetroColorStyle.Blue;
783 | this.metroLabel9.StyleManager = null;
784 | this.metroLabel9.TabIndex = 4;
785 | this.metroLabel9.Text = "WEB:";
786 | this.metroLabel9.Theme = MetroFramework.MetroThemeStyle.Light;
787 | this.metroLabel9.UseStyleColors = false;
788 | //
789 | // metroLink5
790 | //
791 | this.metroLink5.CustomBackground = false;
792 | this.metroLink5.CustomForeColor = false;
793 | this.metroLink5.FontSize = MetroFramework.MetroLinkSize.Small;
794 | this.metroLink5.FontWeight = MetroFramework.MetroLinkWeight.Bold;
795 | this.metroLink5.Location = new System.Drawing.Point(172, 316);
796 | this.metroLink5.Name = "metroLink5";
797 | this.metroLink5.Size = new System.Drawing.Size(246, 23);
798 | this.metroLink5.Style = MetroFramework.MetroColorStyle.Blue;
799 | this.metroLink5.StyleManager = null;
800 | this.metroLink5.TabIndex = 3;
801 | this.metroLink5.Text = "https://twitter.com/monochromegane";
802 | this.metroLink5.Theme = MetroFramework.MetroThemeStyle.Light;
803 | this.metroLink5.UseStyleColors = false;
804 | this.metroLink5.Click += new System.EventHandler(this.metroLink5_Click);
805 | //
806 | // metroLink3
807 | //
808 | this.metroLink3.CustomBackground = false;
809 | this.metroLink3.CustomForeColor = false;
810 | this.metroLink3.FontSize = MetroFramework.MetroLinkSize.Small;
811 | this.metroLink3.FontWeight = MetroFramework.MetroLinkWeight.Bold;
812 | this.metroLink3.Location = new System.Drawing.Point(173, 186);
813 | this.metroLink3.Name = "metroLink3";
814 | this.metroLink3.Size = new System.Drawing.Size(177, 23);
815 | this.metroLink3.Style = MetroFramework.MetroColorStyle.Blue;
816 | this.metroLink3.StyleManager = null;
817 | this.metroLink3.TabIndex = 3;
818 | this.metroLink3.Text = "https://twitter.com/igeta/";
819 | this.metroLink3.Theme = MetroFramework.MetroThemeStyle.Light;
820 | this.metroLink3.UseStyleColors = false;
821 | this.metroLink3.Click += new System.EventHandler(this.metroLink3_Click);
822 | //
823 | // metroLink2
824 | //
825 | this.metroLink2.CustomBackground = false;
826 | this.metroLink2.CustomForeColor = false;
827 | this.metroLink2.FontSize = MetroFramework.MetroLinkSize.Small;
828 | this.metroLink2.FontWeight = MetroFramework.MetroLinkWeight.Bold;
829 | this.metroLink2.Location = new System.Drawing.Point(173, 84);
830 | this.metroLink2.Name = "metroLink2";
831 | this.metroLink2.Size = new System.Drawing.Size(233, 23);
832 | this.metroLink2.Style = MetroFramework.MetroColorStyle.Blue;
833 | this.metroLink2.StyleManager = null;
834 | this.metroLink2.TabIndex = 3;
835 | this.metroLink2.Text = "https://github.com/dck-jp/vbacGUI";
836 | this.metroLink2.Theme = MetroFramework.MetroThemeStyle.Light;
837 | this.metroLink2.UseStyleColors = false;
838 | this.metroLink2.Click += new System.EventHandler(this.metroLink2_Click);
839 | //
840 | // metroLink1
841 | //
842 | this.metroLink1.CustomBackground = false;
843 | this.metroLink1.CustomForeColor = false;
844 | this.metroLink1.FontSize = MetroFramework.MetroLinkSize.Small;
845 | this.metroLink1.FontWeight = MetroFramework.MetroLinkWeight.Bold;
846 | this.metroLink1.Location = new System.Drawing.Point(173, 55);
847 | this.metroLink1.Name = "metroLink1";
848 | this.metroLink1.Size = new System.Drawing.Size(197, 23);
849 | this.metroLink1.Style = MetroFramework.MetroColorStyle.Blue;
850 | this.metroLink1.StyleManager = null;
851 | this.metroLink1.TabIndex = 3;
852 | this.metroLink1.Text = "http://www.clockahead.com/";
853 | this.metroLink1.Theme = MetroFramework.MetroThemeStyle.Light;
854 | this.metroLink1.UseStyleColors = false;
855 | this.metroLink1.Click += new System.EventHandler(this.metroLink1_Click);
856 | //
857 | // metroLabel8
858 | //
859 | this.metroLabel8.AutoSize = true;
860 | this.metroLabel8.CustomBackground = false;
861 | this.metroLabel8.CustomForeColor = false;
862 | this.metroLabel8.FontSize = MetroFramework.MetroLabelSize.Medium;
863 | this.metroLabel8.FontWeight = MetroFramework.MetroLabelWeight.Light;
864 | this.metroLabel8.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
865 | this.metroLabel8.Location = new System.Drawing.Point(84, 287);
866 | this.metroLabel8.Name = "metroLabel8";
867 | this.metroLabel8.Size = new System.Drawing.Size(365, 19);
868 | this.metroLabel8.Style = MetroFramework.MetroColorStyle.Blue;
869 | this.metroLabel8.StyleManager = null;
870 | this.metroLabel8.TabIndex = 2;
871 | this.metroLabel8.Text = "pt (the Platinum Searcher) is created by @monochromegane";
872 | this.metroLabel8.Theme = MetroFramework.MetroThemeStyle.Light;
873 | this.metroLabel8.UseStyleColors = false;
874 | //
875 | // metroLabel7
876 | //
877 | this.metroLabel7.AutoSize = true;
878 | this.metroLabel7.CustomBackground = false;
879 | this.metroLabel7.CustomForeColor = false;
880 | this.metroLabel7.FontSize = MetroFramework.MetroLabelSize.Medium;
881 | this.metroLabel7.FontWeight = MetroFramework.MetroLabelWeight.Light;
882 | this.metroLabel7.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
883 | this.metroLabel7.Location = new System.Drawing.Point(84, 157);
884 | this.metroLabel7.Name = "metroLabel7";
885 | this.metroLabel7.Size = new System.Drawing.Size(322, 19);
886 | this.metroLabel7.Style = MetroFramework.MetroColorStyle.Blue;
887 | this.metroLabel7.StyleManager = null;
888 | this.metroLabel7.TabIndex = 2;
889 | this.metroLabel7.Text = "vbac (vbac is not VBA Compiler) is created by @igeta";
890 | this.metroLabel7.Theme = MetroFramework.MetroThemeStyle.Light;
891 | this.metroLabel7.UseStyleColors = false;
892 | //
893 | // metroLabel6
894 | //
895 | this.metroLabel6.AutoSize = true;
896 | this.metroLabel6.CustomBackground = false;
897 | this.metroLabel6.CustomForeColor = false;
898 | this.metroLabel6.FontSize = MetroFramework.MetroLabelSize.Medium;
899 | this.metroLabel6.FontWeight = MetroFramework.MetroLabelWeight.Light;
900 | this.metroLabel6.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
901 | this.metroLabel6.Location = new System.Drawing.Point(84, 27);
902 | this.metroLabel6.Name = "metroLabel6";
903 | this.metroLabel6.Size = new System.Drawing.Size(266, 19);
904 | this.metroLabel6.Style = MetroFramework.MetroColorStyle.Blue;
905 | this.metroLabel6.StyleManager = null;
906 | this.metroLabel6.TabIndex = 2;
907 | this.metroLabel6.Text = "vbac GUI is created by D*isuke YAMAKAWA";
908 | this.metroLabel6.Theme = MetroFramework.MetroThemeStyle.Light;
909 | this.metroLabel6.UseStyleColors = false;
910 | //
911 | // metroLabelGUIVersion
912 | //
913 | this.metroLabelGUIVersion.AutoSize = true;
914 | this.metroLabelGUIVersion.CustomBackground = false;
915 | this.metroLabelGUIVersion.CustomForeColor = false;
916 | this.metroLabelGUIVersion.FontSize = MetroFramework.MetroLabelSize.Medium;
917 | this.metroLabelGUIVersion.FontWeight = MetroFramework.MetroLabelWeight.Light;
918 | this.metroLabelGUIVersion.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
919 | this.metroLabelGUIVersion.Location = new System.Drawing.Point(234, 116);
920 | this.metroLabelGUIVersion.Name = "metroLabelGUIVersion";
921 | this.metroLabelGUIVersion.Size = new System.Drawing.Size(40, 19);
922 | this.metroLabelGUIVersion.Style = MetroFramework.MetroColorStyle.Blue;
923 | this.metroLabelGUIVersion.StyleManager = null;
924 | this.metroLabelGUIVersion.TabIndex = 6;
925 | this.metroLabelGUIVersion.Text = "NULL";
926 | this.metroLabelGUIVersion.Theme = MetroFramework.MetroThemeStyle.Light;
927 | this.metroLabelGUIVersion.UseStyleColors = false;
928 | //
929 | // metroLabelvbacVersion
930 | //
931 | this.metroLabelvbacVersion.AutoSize = true;
932 | this.metroLabelvbacVersion.CustomBackground = false;
933 | this.metroLabelvbacVersion.CustomForeColor = false;
934 | this.metroLabelvbacVersion.FontSize = MetroFramework.MetroLabelSize.Medium;
935 | this.metroLabelvbacVersion.FontWeight = MetroFramework.MetroLabelWeight.Light;
936 | this.metroLabelvbacVersion.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
937 | this.metroLabelvbacVersion.Location = new System.Drawing.Point(235, 246);
938 | this.metroLabelvbacVersion.Name = "metroLabelvbacVersion";
939 | this.metroLabelvbacVersion.Size = new System.Drawing.Size(40, 19);
940 | this.metroLabelvbacVersion.Style = MetroFramework.MetroColorStyle.Blue;
941 | this.metroLabelvbacVersion.StyleManager = null;
942 | this.metroLabelvbacVersion.TabIndex = 7;
943 | this.metroLabelvbacVersion.Text = "NULL";
944 | this.metroLabelvbacVersion.Theme = MetroFramework.MetroThemeStyle.Light;
945 | this.metroLabelvbacVersion.UseStyleColors = false;
946 | //
947 | // metroLabelptVersion
948 | //
949 | this.metroLabelptVersion.AutoSize = true;
950 | this.metroLabelptVersion.CustomBackground = false;
951 | this.metroLabelptVersion.CustomForeColor = false;
952 | this.metroLabelptVersion.FontSize = MetroFramework.MetroLabelSize.Medium;
953 | this.metroLabelptVersion.FontWeight = MetroFramework.MetroLabelWeight.Light;
954 | this.metroLabelptVersion.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
955 | this.metroLabelptVersion.Location = new System.Drawing.Point(234, 376);
956 | this.metroLabelptVersion.Name = "metroLabelptVersion";
957 | this.metroLabelptVersion.Size = new System.Drawing.Size(40, 19);
958 | this.metroLabelptVersion.Style = MetroFramework.MetroColorStyle.Blue;
959 | this.metroLabelptVersion.StyleManager = null;
960 | this.metroLabelptVersion.TabIndex = 8;
961 | this.metroLabelptVersion.Text = "NULL";
962 | this.metroLabelptVersion.Theme = MetroFramework.MetroThemeStyle.Light;
963 | this.metroLabelptVersion.UseStyleColors = false;
964 | //
965 | // metroLabel18
966 | //
967 | this.metroLabel18.AutoSize = true;
968 | this.metroLabel18.CustomBackground = false;
969 | this.metroLabel18.CustomForeColor = false;
970 | this.metroLabel18.FontSize = MetroFramework.MetroLabelSize.Medium;
971 | this.metroLabel18.FontWeight = MetroFramework.MetroLabelWeight.Light;
972 | this.metroLabel18.LabelMode = MetroFramework.Controls.MetroLabelMode.Default;
973 | this.metroLabel18.Location = new System.Drawing.Point(293, 205);
974 | this.metroLabel18.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
975 | this.metroLabel18.Name = "metroLabel18";
976 | this.metroLabel18.Size = new System.Drawing.Size(92, 19);
977 | this.metroLabel18.Style = MetroFramework.MetroColorStyle.Blue;
978 | this.metroLabel18.StyleManager = null;
979 | this.metroLabel18.TabIndex = 5;
980 | this.metroLabel18.Text = "Backup Binary";
981 | this.metroLabel18.Theme = MetroFramework.MetroThemeStyle.Light;
982 | this.metroLabel18.UseStyleColors = false;
983 | //
984 | // metroToggleOptionBackupBinary
985 | //
986 | this.metroToggleOptionBackupBinary.AutoSize = true;
987 | this.metroToggleOptionBackupBinary.CustomBackground = false;
988 | this.metroToggleOptionBackupBinary.DisplayStatus = true;
989 | this.metroToggleOptionBackupBinary.FontSize = MetroFramework.MetroLinkSize.Small;
990 | this.metroToggleOptionBackupBinary.FontWeight = MetroFramework.MetroLinkWeight.Regular;
991 | this.metroToggleOptionBackupBinary.Location = new System.Drawing.Point(413, 209);
992 | this.metroToggleOptionBackupBinary.Margin = new System.Windows.Forms.Padding(2);
993 | this.metroToggleOptionBackupBinary.Name = "metroToggleOptionBackupBinary";
994 | this.metroToggleOptionBackupBinary.Size = new System.Drawing.Size(80, 17);
995 | this.metroToggleOptionBackupBinary.Style = MetroFramework.MetroColorStyle.Blue;
996 | this.metroToggleOptionBackupBinary.StyleManager = null;
997 | this.metroToggleOptionBackupBinary.TabIndex = 10;
998 | this.metroToggleOptionBackupBinary.Text = "Off";
999 | this.metroToggleOptionBackupBinary.Theme = MetroFramework.MetroThemeStyle.Light;
1000 | this.metroToggleOptionBackupBinary.UseStyleColors = false;
1001 | this.metroToggleOptionBackupBinary.UseVisualStyleBackColor = true;
1002 | //
1003 | // FormMain
1004 | //
1005 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
1006 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1007 | this.ClientSize = new System.Drawing.Size(613, 602);
1008 | this.Controls.Add(this.metroTabControl1);
1009 | this.Controls.Add(this.metroProgressSpinner);
1010 | this.Font = new System.Drawing.Font("MS UI Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
1011 | this.Location = new System.Drawing.Point(0, 0);
1012 | this.Margin = new System.Windows.Forms.Padding(2);
1013 | this.MaximizeBox = false;
1014 | this.MinimizeBox = false;
1015 | this.Name = "FormMain";
1016 | this.Padding = new System.Windows.Forms.Padding(17, 60, 17, 17);
1017 | this.Resizable = false;
1018 | this.ShadowType = MetroFramework.Forms.ShadowType.DropShadow;
1019 | this.ShowIcon = false;
1020 | this.Style = MetroFramework.MetroColorStyle.Orange;
1021 | this.Text = "vbac GUI";
1022 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
1023 | this.metroTabControl1.ResumeLayout(false);
1024 | this.metroTabPage1.ResumeLayout(false);
1025 | this.metroTabPage1.PerformLayout();
1026 | this.metroTabPage2.ResumeLayout(false);
1027 | this.metroTabPage2.PerformLayout();
1028 | this.ResumeLayout(false);
1029 |
1030 | }
1031 |
1032 | #endregion
1033 |
1034 | private MetroFramework.Controls.MetroButton metroButtonCompile;
1035 | private MetroFramework.Controls.MetroButton metroButtonDecompile;
1036 | private MetroFramework.Controls.MetroButton metroButtonBrowseSourceDirectory;
1037 | private MetroFramework.Controls.MetroButton metroButtonBrowseBinaryDirectory;
1038 | private MetroFramework.Controls.MetroTextBox metroTextBoxSourceDirectory;
1039 | private MetroFramework.Controls.MetroTextBox metroTextBoxBinaryDirectory;
1040 | private MetroFramework.Controls.MetroLabel metroLabel1;
1041 | private MetroFramework.Controls.MetroLabel metroLabel2;
1042 | private MetroFramework.Controls.MetroButton metroButtonOpenSourceDirectory;
1043 | private MetroFramework.Controls.MetroButton metroButtonOpenBinaryDirectory;
1044 | private MetroFramework.Controls.MetroToggle metroToggleOptionCompact;
1045 | private MetroFramework.Controls.MetroTile metroTile1;
1046 | private MetroFramework.Controls.MetroLabel metroLabel3;
1047 | private MetroFramework.Controls.MetroLabel metroLabel4;
1048 | private MetroFramework.Controls.MetroToggle metroToggleOptionVbaproj;
1049 | private MetroFramework.Controls.MetroTile metroTile2;
1050 | private MetroFramework.Controls.MetroButton metroButtonSearch;
1051 | private MetroFramework.Controls.MetroTile metroTile3;
1052 | private MetroFramework.Controls.MetroTextBox metroTextBoxSearchWord;
1053 | private MetroFramework.Controls.MetroLabel metroLabel5;
1054 | private MetroFramework.Controls.MetroProgressSpinner metroProgressSpinner;
1055 | private MetroFramework.Controls.MetroTabControl metroTabControl1;
1056 | private MetroFramework.Controls.MetroTabPage metroTabPage1;
1057 | private MetroFramework.Controls.MetroTabPage metroTabPage2;
1058 | private MetroFramework.Controls.MetroLabel metroLabel14;
1059 | private MetroFramework.Controls.MetroLabel metroLabel12;
1060 | private MetroFramework.Controls.MetroLabel metroLabel10;
1061 | private MetroFramework.Controls.MetroLabel metroLabel13;
1062 | private MetroFramework.Controls.MetroLabel metroLabel11;
1063 | private MetroFramework.Controls.MetroLink metroLink6;
1064 | private MetroFramework.Controls.MetroLink metroLink4;
1065 | private MetroFramework.Controls.MetroLabel metroLabel9;
1066 | private MetroFramework.Controls.MetroLink metroLink5;
1067 | private MetroFramework.Controls.MetroLink metroLink3;
1068 | private MetroFramework.Controls.MetroLink metroLink2;
1069 | private MetroFramework.Controls.MetroLink metroLink1;
1070 | private MetroFramework.Controls.MetroLabel metroLabel8;
1071 | private MetroFramework.Controls.MetroLabel metroLabel7;
1072 | private MetroFramework.Controls.MetroLabel metroLabel6;
1073 | private MetroFramework.Controls.MetroTile metroTile6;
1074 | private MetroFramework.Controls.MetroTile metroTile5;
1075 | private MetroFramework.Controls.MetroTile metroTile4;
1076 | private MetroFramework.Controls.MetroLabel metroLabel17;
1077 | private MetroFramework.Controls.MetroLabel metroLabel16;
1078 | private MetroFramework.Controls.MetroLabel metroLabel15;
1079 | private MetroFramework.Controls.MetroLabel metroLabelptVersion;
1080 | private MetroFramework.Controls.MetroLabel metroLabelvbacVersion;
1081 | private MetroFramework.Controls.MetroLabel metroLabelGUIVersion;
1082 | private MetroFramework.Controls.MetroToggle metroToggleOptionBackupBinary;
1083 | private MetroFramework.Controls.MetroLabel metroLabel18;
1084 | }
1085 | }
1086 |
1087 |
--------------------------------------------------------------------------------
/vbacGUI/FormMain.cs:
--------------------------------------------------------------------------------
1 | using MetroFramework.Controls;
2 | using MetroFramework.Forms;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel;
6 | using System.Data;
7 | using System.Diagnostics;
8 | using System.Drawing;
9 | using System.Linq;
10 | using System.Text;
11 | using System.Threading.Tasks;
12 | using System.Windows.Forms;
13 | using vbacGUI.Command;
14 |
15 | namespace vbacGUI
16 | {
17 | public partial class FormMain : MetroForm
18 | {
19 | public FormMain()
20 | {
21 | InitializeComponent();
22 | metroTabControl1.SelectedIndex = 0;
23 | Core.FormMain = this;
24 | Core.Config = Config.Load();
25 | SetConfig();
26 | EnableUI(true);
27 | }
28 |
29 |
30 | private void SetConfig()
31 | {
32 | metroTextBoxSearchWord.Text=Core.Config.pt.searchWord ;
33 | metroTextBoxSourceDirectory.Text = Core.Config.vbac.SourceDirectory;
34 | metroTextBoxBinaryDirectory.Text = Core.Config.vbac.BinaryDirectory;
35 | metroToggleOptionCompact.Checked = Core.Config.vbac.EnableCompact;
36 | metroToggleOptionVbaproj.Checked = Core.Config.vbac.EnableVbaproj;
37 | metroToggleOptionBackupBinary.Checked = Core.Config.vbac.EnableBackupBinary;
38 | }
39 |
40 | async private void metroButtonCompile_Click(object sender, EventArgs e)
41 | {
42 | EnableUI(false);
43 | try
44 | {
45 | await Task.Run(() => { new vbac().Build(Core.Config.vbac); });
46 | }
47 | finally
48 | {
49 | EnableUI(true);
50 | }
51 | }
52 |
53 | async private void metroButtonDecompile_Click(object sender, EventArgs e)
54 | {
55 | EnableUI(false);
56 | try
57 | {
58 | await Task.Run(() => { new vbac().Debuild(Core.Config.vbac); });
59 | }
60 | finally
61 | {
62 | EnableUI(true);
63 | }
64 |
65 | }
66 |
67 | async private void metroButtonSearch_Click(object sender, EventArgs e)
68 | {
69 | if (metroTextBoxSearchWord.Text == "") return;
70 |
71 | EnableUI(false);
72 | try
73 | {
74 | await Task.Run(() =>
75 | {
76 | new pt().Execute(
77 | Core.Config.pt.searchWord,
78 | Core.Config.vbac.SourceDirectory);
79 | });
80 | }
81 | finally
82 | {
83 | EnableUI(true);
84 | }
85 | }
86 |
87 | private void EnableUI(bool boolean)
88 | {
89 | metroButtonSearch.Enabled =
90 | metroButtonDecompile.Enabled =
91 | metroButtonCompile.Enabled = boolean;
92 |
93 | metroProgressSpinner.Visible = !boolean;
94 |
95 | Core.Config.pt.searchWord = metroTextBoxSearchWord.Text;
96 | Core.Config.vbac.SourceDirectory = metroTextBoxSourceDirectory.Text;
97 | Core.Config.vbac.BinaryDirectory = metroTextBoxBinaryDirectory.Text;
98 | Core.Config.vbac.EnableCompact = metroToggleOptionCompact.Checked;
99 | Core.Config.vbac.EnableVbaproj = metroToggleOptionVbaproj.Checked;
100 | Core.Config.vbac.EnableBackupBinary = metroToggleOptionBackupBinary.Checked;
101 |
102 | Restrict_Win8_64bit();
103 | }
104 |
105 | private void Restrict_Win8_64bit()
106 | {
107 | if(Environment.OSVersion.VersionString.Contains("6.2")
108 | || Environment.OSVersion.VersionString.Contains("6.3") )
109 | {
110 | if( Environment.Is64BitOperatingSystem)
111 | {
112 | metroToggleOptionVbaproj.Enabled = false;
113 | metroToggleOptionVbaproj.Checked = false;
114 | }
115 | }
116 | }
117 |
118 | private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
119 | {
120 | Core.Config.Save();
121 | }
122 |
123 | private void metroButtonOpenSourceDirectory_Click(object sender, EventArgs e)
124 | {
125 | var srcText = metroTextBoxSourceDirectory.Text;
126 | var path = srcText == "" ? Environment.CurrentDirectory + @"\src" : srcText;
127 | new Explorer().Execute(path);
128 | }
129 |
130 | private void metroButtonOpenBinaryDirectory_Click(object sender, EventArgs e)
131 | {
132 | var binText = metroTextBoxBinaryDirectory.Text;
133 | var path = binText == "" ? Environment.CurrentDirectory + @"\bin" : binText;
134 | new Explorer().Execute(path);
135 | }
136 |
137 | private void metroButtonBrowseSourceDirectory_Click(object sender, EventArgs e)
138 | {
139 | var dlg = new FolderBrowserDialog();
140 | if(dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
141 | {
142 | metroTextBoxSourceDirectory.Text = dlg.SelectedPath;
143 | }
144 | }
145 |
146 | private void metroButtonBrowseBinaryDirectory_Click(object sender, EventArgs e)
147 | {
148 | var dlg = new FolderBrowserDialog();
149 | if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
150 | {
151 | metroTextBoxBinaryDirectory.Text = dlg.SelectedPath;
152 | }
153 | }
154 |
155 | async private void metroTabControl1_SelectedIndexChanged(object sender, EventArgs e)
156 | {
157 | if (metroTabControl1.SelectedTab != metroTabPage2) return;
158 |
159 | metroLabelGUIVersion.Text = Core.Version;
160 | metroLabelvbacVersion.Text = await Task.Run(() => { return new vbac().Version; });
161 | metroLabelptVersion.Text = await Task.Run(() => { return new pt().Version; });
162 |
163 | }
164 |
165 | private void metroLink6_Click(object sender, EventArgs e)
166 | {
167 | Process.Start(((MetroLink)sender).Text);
168 | }
169 |
170 | private void metroLink5_Click(object sender, EventArgs e)
171 | {
172 | Process.Start(((MetroLink)sender).Text);
173 | }
174 |
175 | private void metroLink4_Click(object sender, EventArgs e)
176 | {
177 | Process.Start(((MetroLink)sender).Text);
178 | }
179 |
180 | private void metroLink3_Click(object sender, EventArgs e)
181 | {
182 | Process.Start(((MetroLink)sender).Text);
183 | }
184 |
185 | private void metroLink2_Click(object sender, EventArgs e)
186 | {
187 | Process.Start(((MetroLink)sender).Text);
188 | }
189 |
190 | private void metroLink1_Click(object sender, EventArgs e)
191 | {
192 | Process.Start(((MetroLink)sender).Text);
193 | }
194 |
195 | }
196 | }
197 |
--------------------------------------------------------------------------------
/vbacGUI/FormMain.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/vbacGUI/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace vbacGUI
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// アプリケーションのメイン エントリ ポイントです。
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new FormMain());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/vbacGUI/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
6 | // アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更してください。
8 | [assembly: AssemblyTitle("vbacGUI")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("vbacGUI")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから
18 | // 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
19 | // その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
23 | [assembly: Guid("75c23f68-7470-405c-9422-0bcee6c3c41a")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
33 | // 既定値にすることができます:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/vbacGUI/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // このコードはツールによって生成されました。
4 | // ランタイム バージョン:4.0.30319.34011
5 | //
6 | // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
7 | // コードが再生成されるときに損失したりします
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace vbacGUI.Properties
12 | {
13 |
14 |
15 | ///
16 | /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
17 | ///
18 | // このクラスは StronglyTypedResourceBuilder クラスが ResGen
19 | // または Visual Studio のようなツールを使用して自動生成されました。
20 | // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
21 | // ResGen を実行し直すか、または VS プロジェクトをリビルドします。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// このクラスに使用される、キャッシュされた ResourceManager のインスタンスを返します。
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("vbacGUI.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// 厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、
56 | /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/vbacGUI/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/vbacGUI/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.34011
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace vbacGUI.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/vbacGUI/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/vbacGUI/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/vbacGUI/pt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dck-jp/vbacGUI/6e42374fabea92fa81b0bce28322e1778b1aeffa/vbacGUI/pt.exe
--------------------------------------------------------------------------------
/vbacGUI/vbac.wsf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | The vbac is not VBA compiler.
5 | Instead, this tiny script frees VBA code from binary files.
6 | This script is distributed as part of the Ariawase library.
7 |
8 | The Project Page: https://github.com/vbaidiot/Ariawase
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | vbac (version 0.6.0 Beta)
18 |
19 | Usage: cscript vbac.wsf <command> [<options>]
20 |
21 | Commands:
22 | combine Import all VBComponents
23 | decombine Export all VBComponents
24 | clear Remove all VBComponents
25 | help Display this help message
26 |
27 | Options:
28 | /binary:<dir> Specify directory of macro-enabled Office files
29 | (default: bin)
30 | /source:<dir> Specify directory of source code files
31 | (default: src)
32 | /vbaproj Use .vbaproj file (It's buggy! Please FIXME.)
33 | /dbcompact With Access DB compaction
34 |
35 |
1002 |
1003 |
--------------------------------------------------------------------------------
/vbacGUI/vbacGUI.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {27DD91C9-A9B1-49E1-A69F-5FB4E02D8D8E}
8 | WinExe
9 | Properties
10 | vbacGUI
11 | vbacGUI
12 | v4.5
13 | 512
14 |
15 |
16 | AnyCPU
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | AnyCPU
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 |
36 | ..\packages\ModernUI.1.1.0.1\lib\net45\MetroFramework.dll
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | Form
57 |
58 |
59 | FormMain.cs
60 |
61 |
62 |
63 |
64 | FormMain.cs
65 |
66 |
67 | ResXFileCodeGenerator
68 | Resources.Designer.cs
69 | Designer
70 |
71 |
72 | True
73 | Resources.resx
74 |
75 |
76 |
77 |
78 | SettingsSingleFileGenerator
79 | Settings.Designer.cs
80 |
81 |
82 | True
83 | Settings.settings
84 | True
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 | Always
93 |
94 |
95 | Always
96 |
97 |
98 |
99 |
106 |
--------------------------------------------------------------------------------