Permalink
Browse files

Switched to WinForms only.

  • Loading branch information...
1 parent 7daf92d commit 4c2f3ca0951caffcfe9ab1f34db2f18dcbdd52d9 @polyethene committed May 12, 2010
View
@@ -7,9 +7,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronAHK", "IronAHK\IronAHK.
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rusty", "Rusty\Rusty.csproj", "{818030A8-5FFE-4CA1-8248-0940C72EA47A}"
- ProjectSection(ProjectDependencies) = postProject
- {ED8B2B00-18F8-4187-A810-9C4028C80A56} = {ED8B2B00-18F8-4187-A810-9C4028C80A56}
- EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Scripting", "Scripting\Scripting.csproj", "{D7C6B1FD-2247-40A4-8DAB-199F3B8084E0}"
ProjectSection(ProjectDependencies) = postProject
@@ -20,8 +17,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Deploy", "Deploy\Deploy.csproj", "{2ED27EA6-FC9E-49B4-B80F-2343FD070510}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gtk", "Gtk\Gtk.csproj", "{ED8B2B00-18F8-4187-A810-9C4028C80A56}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -47,10 +42,6 @@ Global
{2ED27EA6-FC9E-49B4-B80F-2343FD070510}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2ED27EA6-FC9E-49B4-B80F-2343FD070510}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2ED27EA6-FC9E-49B4-B80F-2343FD070510}.Release|Any CPU.Build.0 = Release|Any CPU
- {ED8B2B00-18F8-4187-A810-9C4028C80A56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ED8B2B00-18F8-4187-A810-9C4028C80A56}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ED8B2B00-18F8-4187-A810-9C4028C80A56}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ED8B2B00-18F8-4187-A810-9C4028C80A56}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -66,7 +66,7 @@ static public int ErrorLevel
[ThreadStatic]
static int eventinfo;
- static Dictionary<string, BaseGui.Window> guis;
+ static Dictionary<string, Form> guis;
[ThreadStatic]
static string defaultGui;
@@ -81,7 +81,7 @@ static string DefaultGuiId
}
}
- static BaseGui.Window DefaultGui
+ static Form DefaultGui
{
get
{
@@ -94,9 +94,9 @@ static BaseGui.Window DefaultGui
}
[ThreadStatic]
- static BaseGui.TreeView defaultTreeView;
+ static TreeView defaultTreeView;
- static BaseGui.TreeView DefaultTreeView
+ static TreeView DefaultTreeView
{
get
{
@@ -108,21 +108,21 @@ static BaseGui.TreeView DefaultTreeView
if (gui == null)
return null;
- BaseGui.TreeView tv = null;
+ TreeView tv = null;
foreach (var control in gui.Controls)
- if (typeof(BaseGui.TreeView).IsAssignableFrom(control.GetType()))
- tv = (BaseGui.TreeView)control;
+ if (control.GetType() == typeof(TreeView))
+ tv = (TreeView)control;
return tv;
}
set { defaultTreeView = value; }
}
[ThreadStatic]
- static BaseGui.ListView defaultListView;
+ static ListView defaultListView;
- static BaseGui.ListView DefaultListView
+ static ListView DefaultListView
{
get
{
@@ -134,17 +134,36 @@ static BaseGui.ListView DefaultListView
if (gui == null)
return null;
- BaseGui.ListView lv = null;
+ ListView lv = null;
foreach (var control in gui.Controls)
- if (typeof(BaseGui.ListView).IsAssignableFrom(control.GetType()))
- lv = (BaseGui.ListView)control;
+ if (control.GetType() == typeof(ListView))
+ lv = (ListView)control;
return lv;
}
set { defaultListView = value; }
}
+ static StatusBar DefaultStatusBar
+ {
+ get
+ {
+ var gui = DefaultGui;
+
+ if (gui == null)
+ return null;
+
+ StatusBar sb = null;
+
+ foreach (var control in gui.Controls)
+ if (control.GetType() == typeof(StatusBar))
+ sb = (StatusBar)control;
+
+ return sb;
+ }
+ }
+
static NotifyIcon Tray;
#endregion
Oops, something went wrong.

0 comments on commit 4c2f3ca

Please sign in to comment.