Пример #1
0
 internal OpenSpan.Adapters.Controls.Control Create_picLogo(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(Windows_Application1));
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Controls.Control picLogo = new OpenSpan.Adapters.Controls.Control();
     this.SetId(picLogo, new OpenSpan.Design.ComponentIdentity("Control-8D7637ACAA37C3A"));
     picLogo.Extender                   = null;
     picLogo.ExtensibleTypeName         = "System.Windows.Forms.PictureBox, System.Windows.Forms";
     picLogo.ForwardObjectExplorerEvent = true;
     picLogo.MatchingIndex              = 7;
     OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule virtualControlNativeControlNameMat1;
     virtualControlNativeControlNameMat1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule();
     //
     // virtualControlNativeControlNameMat1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "picLogo";
     virtualControlNativeControlNameMat1.NativeControlName = textmatchdata1;
     picLogo.MatchRules.Add(virtualControlNativeControlNameMat1);
     picLogo.Name             = "picLogo";
     picLogo.TargetTypeString = _resources_.GetString("_Windows_Application1_2_");
     //
     // Set designComp Ids
     //
     this.SetId(virtualControlNativeControlNameMat1, new OpenSpan.Design.ComponentIdentity("VirtualControlNativeControlNameMatchRule-8D7637ACABFE164"));
     //
     // Add components
     //
     components.Add(virtualControlNativeControlNameMat1);
     //
     // Result
     //
     return(picLogo);
 }
Пример #2
0
 internal OpenSpan.Adapters.ActiveX.ActiveXFactory Create_ActiveXFactory(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.ActiveX.ActiveXFactory ActiveXFactory = new OpenSpan.Adapters.ActiveX.ActiveXFactory();
     this.SetId(ActiveXFactory, new OpenSpan.Design.ComponentIdentity("ActiveXFactory-8D7637AC53C4879"));
     ActiveXFactory.Extender    = null;
     ActiveXFactory.FactoryName = null;
     ActiveXFactory.ForwardObjectExplorerEvent = true;
     ActiveXFactory.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule2;
     moduleNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // moduleNameMatchRule2
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "ole32.dll";
     moduleNameMatchRule2.Text = textmatchdata1;
     ActiveXFactory.MatchRules.Add(moduleNameMatchRule2);
     ActiveXFactory.Name             = "ActiveXFactory";
     ActiveXFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     ActiveXFactory.UseKeys          = true;
     //
     // Set designComp Ids
     //
     this.SetId(moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D7637AC545D174"));
     //
     // Add components
     //
     components.Add(moduleNameMatchRule2);
     //
     // Result
     //
     return(ActiveXFactory);
 }
Пример #3
0
 internal OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule Create_moduleNameMatchRule2(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.SetId(moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D7637AC545D174"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "ole32.dll";
     moduleNameMatchRule2.Text = textmatchdata1;
     //
     // Result
     //
     return(moduleNameMatchRule2);
 }
Пример #4
0
 internal OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule Create_virtualControlNativeControlNameMat1(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule virtualControlNativeControlNameMat1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule();
     this.SetId(virtualControlNativeControlNameMat1, new OpenSpan.Design.ComponentIdentity("VirtualControlNativeControlNameMatchRule-8D7637ACABFE164"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "picLogo";
     virtualControlNativeControlNameMat1.NativeControlName = textmatchdata1;
     //
     // Result
     //
     return(virtualControlNativeControlNameMat1);
 }
Пример #5
0
 internal OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule Create_windowTextMatchRule1(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule windowTextMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule();
     this.SetId(windowTextMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTextMatchRule-8D7637ACAAE042D"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "Login";
     windowTextMatchRule1.Text = textmatchdata1;
     //
     // Result
     //
     return(windowTextMatchRule1);
 }
Пример #6
0
 internal OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlContainerNativeWindowNameMatchRule Create_virtualControlContainerNativeWindo1(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlContainerNativeWindowNameMatchRule virtualControlContainerNativeWindo1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlContainerNativeWindowNameMatchRule();
     this.SetId(virtualControlContainerNativeWindo1, new OpenSpan.Design.ComponentIdentity("VirtualControlContainerNativeWindowNameMatchRule-8D7637ACAB78B13"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "WindowsForms10.Window.8.app.0.378734a";
     virtualControlContainerNativeWindo1.VirtualWindowName = textmatchdata1;
     //
     // Result
     //
     return(virtualControlContainerNativeWindo1);
 }
Пример #7
0
 internal OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule Create_moduleNameMatchRule3(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule3 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.SetId(moduleNameMatchRule3, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE5912D6D2"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "mshtml.dll";
     moduleNameMatchRule3.Text = textmatchdata1;
     //
     // Result
     //
     return(moduleNameMatchRule3);
 }
Пример #8
0
 internal OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule Create_virtualPropertyMatchRule2(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule2 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.SetId(virtualPropertyMatchRule2, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A0056369"));
     virtualPropertyMatchRule2.PropertyName = "title";
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text            = "YouTube";
     virtualPropertyMatchRule2.Text = textmatchdata1;
     //
     // Result
     //
     return(virtualPropertyMatchRule2);
 }
Пример #9
0
 internal OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule Create_virtualPropertyMatchRule1(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule1 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.SetId(virtualPropertyMatchRule1, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA619FFB0413"));
     virtualPropertyMatchRule1.PropertyName = "url";
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text            = "https://www.youtube.com/";
     virtualPropertyMatchRule1.Text = textmatchdata1;
     //
     // Result
     //
     return(virtualPropertyMatchRule1);
 }
Пример #10
0
 internal OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule Create_virtualPropertyMatchRule3(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule3 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.SetId(virtualPropertyMatchRule3, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A01E6AD1"));
     virtualPropertyMatchRule3.PropertyName = "id";
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text            = "search-form";
     virtualPropertyMatchRule3.Text = textmatchdata1;
     //
     // Result
     //
     return(virtualPropertyMatchRule3);
 }
Пример #11
0
 internal OpenSpan.Adapters.Web.WebBase.Controls.TextBox Create_SearchTxt(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(ytt));
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.WebBase.Controls.TextBox SearchTxt = new OpenSpan.Adapters.Web.WebBase.Controls.TextBox();
     this.SetId(SearchTxt, new OpenSpan.Design.ComponentIdentity("TextBox-8D7EA619FB1E1B9"));
     SearchTxt.ElementId                  = null;
     SearchTxt.Extender                   = null;
     SearchTxt.ExtensibleTypeName         = null;
     SearchTxt.ForwardObjectExplorerEvent = true;
     SearchTxt.MatchingIndex              = 0;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule4;
     virtualPropertyMatchRule4 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule4
     //
     virtualPropertyMatchRule4.PropertyName = "type";
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text            = "text";
     virtualPropertyMatchRule4.Text = textmatchdata1;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule5;
     virtualPropertyMatchRule5 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule5
     //
     virtualPropertyMatchRule5.PropertyName = "id";
     OpenSpan.Adapters.TextMatchData textmatchdata2 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata2.Text            = "search";
     virtualPropertyMatchRule5.Text = textmatchdata2;
     SearchTxt.MatchRules.Add(virtualPropertyMatchRule4);
     SearchTxt.MatchRules.Add(virtualPropertyMatchRule5);
     SearchTxt.Name             = "SearchTxt";
     SearchTxt.TagName          = "INPUT";
     SearchTxt.TargetTypeString = _resources_.GetString("_ytt_2_");
     SearchTxt.UseElementId     = false;
     //
     // Set designComp Ids
     //
     this.SetId(virtualPropertyMatchRule4, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A02EAD42"));
     this.SetId(virtualPropertyMatchRule5, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A03CB677"));
     //
     // Add components
     //
     components.Add(virtualPropertyMatchRule4);
     components.Add(virtualPropertyMatchRule5);
     //
     // Result
     //
     return(SearchTxt);
 }
Пример #12
0
 internal OpenSpan.Adapters.Windows.MatchRules.ModuleVersionMatchRule Create_moduleVersionMatchRule1(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Windows.MatchRules.ModuleVersionMatchRule moduleVersionMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleVersionMatchRule();
     this.SetId(moduleVersionMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleVersionMatchRule-8D7637AC5202038"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Mode          = OpenSpan.Adapters.TextMatchMode.Wildcard;
     textmatchdata1.Text          = "2.0.*.*";
     moduleVersionMatchRule1.Text = textmatchdata1;
     //
     // Result
     //
     return(moduleVersionMatchRule1);
 }
Пример #13
0
 internal OpenSpan.Adapters.DotNet.DotNet20Factory Create_DotNet20Factory(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.DotNet.DotNet20Factory DotNet20Factory = new OpenSpan.Adapters.DotNet.DotNet20Factory();
     this.SetId(DotNet20Factory, new OpenSpan.Design.ComponentIdentity("DotNet20Factory-8D7637AC5065043"));
     DotNet20Factory.Extender    = null;
     DotNet20Factory.FactoryName = null;
     DotNet20Factory.ForwardObjectExplorerEvent = true;
     DotNet20Factory.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule1;
     moduleNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // moduleNameMatchRule1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "mscorwks.dll";
     moduleNameMatchRule1.Text = textmatchdata1;
     OpenSpan.Adapters.Windows.MatchRules.ModuleVersionMatchRule moduleVersionMatchRule1;
     moduleVersionMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleVersionMatchRule();
     //
     // moduleVersionMatchRule1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata2 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata2.Mode          = OpenSpan.Adapters.TextMatchMode.Wildcard;
     textmatchdata2.Text          = "2.0.*.*";
     moduleVersionMatchRule1.Text = textmatchdata2;
     DotNet20Factory.MatchRules.Add(moduleNameMatchRule1);
     DotNet20Factory.MatchRules.Add(moduleVersionMatchRule1);
     DotNet20Factory.Name             = "DotNet20Factory";
     DotNet20Factory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     DotNet20Factory.UseKeys          = true;
     //
     // Set designComp Ids
     //
     this.SetId(moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D7637AC51A5D4C"));
     this.SetId(moduleVersionMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleVersionMatchRule-8D7637AC5202038"));
     //
     // Add components
     //
     components.Add(moduleNameMatchRule1);
     components.Add(moduleVersionMatchRule1);
     //
     // Result
     //
     return(DotNet20Factory);
 }
Пример #14
0
 internal OpenSpan.Adapters.Web.WebBase.Controls.BasicButton Create_Search(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(ytt));
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.WebBase.Controls.BasicButton Search = new OpenSpan.Adapters.Web.WebBase.Controls.BasicButton();
     this.SetId(Search, new OpenSpan.Design.ComponentIdentity("BasicButton-8D7EA61A45B5C2D"));
     Search.ElementId                  = "search-icon-legacy";
     Search.Extender                   = null;
     Search.ExtensibleTypeName         = null;
     Search.ForwardObjectExplorerEvent = true;
     Search.MatchingIndex              = 0;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule6;
     virtualPropertyMatchRule6 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule6
     //
     virtualPropertyMatchRule6.PropertyName = "id";
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text            = "search-icon-legacy";
     virtualPropertyMatchRule6.Text = textmatchdata1;
     Search.MatchRules.Add(virtualPropertyMatchRule6);
     Search.Name             = "Search";
     Search.TagName          = "BUTTON";
     Search.TargetTypeString = _resources_.GetString("_ytt_3_");
     Search.UseElementId     = true;
     //
     // Set designComp Ids
     //
     this.SetId(virtualPropertyMatchRule6, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A475B7EA"));
     //
     // Add components
     //
     components.Add(virtualPropertyMatchRule6);
     //
     // Result
     //
     return(Search);
 }
Пример #15
0
 internal OpenSpan.Adapters.Web.MicrosoftHTMLFactory Create_MicrosoftHTMLFactory(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.MicrosoftHTMLFactory MicrosoftHTMLFactory = new OpenSpan.Adapters.Web.MicrosoftHTMLFactory();
     this.SetId(MicrosoftHTMLFactory, new OpenSpan.Design.ComponentIdentity("MicrosoftHTMLFactory-8D8DFDE58FC030E"));
     MicrosoftHTMLFactory.Extender    = null;
     MicrosoftHTMLFactory.FactoryName = null;
     MicrosoftHTMLFactory.ForwardObjectExplorerEvent = true;
     MicrosoftHTMLFactory.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule3;
     moduleNameMatchRule3 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // moduleNameMatchRule3
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "mshtml.dll";
     moduleNameMatchRule3.Text = textmatchdata1;
     MicrosoftHTMLFactory.MatchRules.Add(moduleNameMatchRule3);
     MicrosoftHTMLFactory.Name             = "MicrosoftHTMLFactory";
     MicrosoftHTMLFactory.PegaId           = 0;
     MicrosoftHTMLFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     MicrosoftHTMLFactory.UseKeys          = true;
     MicrosoftHTMLFactory.XrayGuid         = "";
     //
     // Set designComp Ids
     //
     this.SetId(moduleNameMatchRule3, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE5912D6D2"));
     //
     // Add components
     //
     components.Add(moduleNameMatchRule3);
     //
     // Result
     //
     return(MicrosoftHTMLFactory);
 }
Пример #16
0
 internal OpenSpan.Adapters.WinInet.WinInetFactory Create_WinInetFactory(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.WinInet.WinInetFactory WinInetFactory = new OpenSpan.Adapters.WinInet.WinInetFactory();
     this.SetId(WinInetFactory, new OpenSpan.Design.ComponentIdentity("WinInetFactory-8D8DFDE517C7E10"));
     WinInetFactory.Extender    = null;
     WinInetFactory.FactoryName = null;
     WinInetFactory.ForwardObjectExplorerEvent = true;
     WinInetFactory.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule2;
     moduleNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // moduleNameMatchRule2
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "wininet.dll";
     moduleNameMatchRule2.Text = textmatchdata1;
     WinInetFactory.MatchRules.Add(moduleNameMatchRule2);
     WinInetFactory.Name             = "WinInetFactory";
     WinInetFactory.PegaId           = 0;
     WinInetFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     WinInetFactory.UseKeys          = true;
     WinInetFactory.XrayGuid         = "";
     //
     // Set designComp Ids
     //
     this.SetId(moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE51863B5D"));
     //
     // Add components
     //
     components.Add(moduleNameMatchRule2);
     //
     // Result
     //
     return(WinInetFactory);
 }
Пример #17
0
 public ytt()
 {
     //
     // Global Initialization
     //
     OpenSpan.Diagnostics.Diagnostic.Initialize();
     //
     // Setup field members
     //
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(ytt));
     OpenSpan.Adapters.TextMatchData textmatchdata1             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata2             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata3             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata4             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata5             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata6             = new OpenSpan.Adapters.TextMatchData();
     this.YouTube1 = new OpenSpan.Adapters.Web.WebBase.Controls.WebPage();
     this.___________________________________ = new OpenSpan.Adapters.Web.WebBase.Controls.Form();
     this.SearchTxt = new OpenSpan.Adapters.Web.WebBase.Controls.TextBox();
     this.virtualPropertyMatchRule4 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.virtualPropertyMatchRule5 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.Search = new OpenSpan.Adapters.Web.WebBase.Controls.BasicButton();
     this.virtualPropertyMatchRule6 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.virtualPropertyMatchRule3 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.virtualPropertyMatchRule1 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     this.virtualPropertyMatchRule2 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // Initialize design component
     //
     this.Initialize();
     //
     // Set design component Id
     //
     this.Id = new OpenSpan.Design.ComponentIdentity("UniversalWebAdapter-8D7EA61716AFE09");
     //
     // Set component Ids
     //
     this.SetId(this.YouTube1, new OpenSpan.Design.ComponentIdentity("WebPage-8D7EA619FF2B113"));
     this.SetId(this.___________________________________, new OpenSpan.Design.ComponentIdentity("Form-8D7EA619FCBDE1D"));
     this.SetId(this.SearchTxt, new OpenSpan.Design.ComponentIdentity("TextBox-8D7EA619FB1E1B9"));
     this.SetId(this.virtualPropertyMatchRule4, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A02EAD42"));
     this.SetId(this.virtualPropertyMatchRule5, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A03CB677"));
     this.SetId(this.Search, new OpenSpan.Design.ComponentIdentity("BasicButton-8D7EA61A45B5C2D"));
     this.SetId(this.virtualPropertyMatchRule6, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A475B7EA"));
     this.SetId(this.virtualPropertyMatchRule3, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A01E6AD1"));
     this.SetId(this.virtualPropertyMatchRule1, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA619FFB0413"));
     this.SetId(this.virtualPropertyMatchRule2, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A0056369"));
     //
     // ytt
     //
     this.AdditionalArguments   = null;
     this.AdvancedConfiguration = null;
     this.BrowserStopMethod     = OpenSpan.Adapters.Web.Universal.UniversalWebAdapter.BrowserStopMethodEnum.StopTrackedDocuments;
     this.BrowserType           = OpenSpan.Adapters.Web.Universal.Service.BrowserType.Chrome;
     ComponentInfo.CodeDomData  = _resources_.GetString("_ytt_1_");
     //
     // YouTube1
     //
     //
     // ___________________________________
     //
     //
     // SearchTxt
     //
     this.SearchTxt.ElementId                  = null;
     this.SearchTxt.Extender                   = null;
     this.SearchTxt.ExtensibleTypeName         = null;
     this.SearchTxt.ForwardObjectExplorerEvent = true;
     this.SearchTxt.MatchingIndex              = 0;
     //
     // virtualPropertyMatchRule4
     //
     this.virtualPropertyMatchRule4.PropertyName = "type";
     textmatchdata1.Text = "text";
     this.virtualPropertyMatchRule4.Text = textmatchdata1;
     //
     // virtualPropertyMatchRule5
     //
     this.virtualPropertyMatchRule5.PropertyName = "id";
     textmatchdata2.Text = "search";
     this.virtualPropertyMatchRule5.Text = textmatchdata2;
     this.SearchTxt.MatchRules.Add(this.virtualPropertyMatchRule4);
     this.SearchTxt.MatchRules.Add(this.virtualPropertyMatchRule5);
     this.SearchTxt.Name             = "SearchTxt";
     this.SearchTxt.TagName          = "INPUT";
     this.SearchTxt.TargetTypeString = _resources_.GetString("_ytt_2_");
     this.SearchTxt.UseElementId     = false;
     //
     // Search
     //
     this.Search.ElementId                  = "search-icon-legacy";
     this.Search.Extender                   = null;
     this.Search.ExtensibleTypeName         = null;
     this.Search.ForwardObjectExplorerEvent = true;
     this.Search.MatchingIndex              = 0;
     //
     // virtualPropertyMatchRule6
     //
     this.virtualPropertyMatchRule6.PropertyName = "id";
     textmatchdata3.Text = "search-icon-legacy";
     this.virtualPropertyMatchRule6.Text = textmatchdata3;
     this.Search.MatchRules.Add(this.virtualPropertyMatchRule6);
     this.Search.Name             = "Search";
     this.Search.TagName          = "BUTTON";
     this.Search.TargetTypeString = _resources_.GetString("_ytt_3_");
     this.Search.UseElementId     = true;
     this.___________________________________.Controls.Add(this.SearchTxt);
     this.___________________________________.Controls.Add(this.Search);
     this.___________________________________.ElementId                  = "search-form";
     this.___________________________________.Extender                   = null;
     this.___________________________________.ExtensibleTypeName         = null;
     this.___________________________________.ForwardObjectExplorerEvent = true;
     this.___________________________________.MatchingIndex              = 0;
     //
     // virtualPropertyMatchRule3
     //
     this.virtualPropertyMatchRule3.PropertyName = "id";
     textmatchdata4.Text = "search-form";
     this.virtualPropertyMatchRule3.Text = textmatchdata4;
     this.___________________________________.MatchRules.Add(this.virtualPropertyMatchRule3);
     this.___________________________________.Name             = "___________________________________";
     this.___________________________________.TagName          = "FORM";
     this.___________________________________.TargetTypeString = _resources_.GetString("_ytt_4_");
     this.___________________________________.UseElementId     = true;
     this.YouTube1.Controls.Add(this.___________________________________);
     this.YouTube1.Extender = null;
     this.YouTube1.ForwardObjectExplorerEvent = true;
     this.YouTube1.IsGlobal      = true;
     this.YouTube1.MatchingIndex = 0;
     //
     // virtualPropertyMatchRule1
     //
     this.virtualPropertyMatchRule1.PropertyName = "url";
     textmatchdata5.Text = "https://www.youtube.com/";
     this.virtualPropertyMatchRule1.Text = textmatchdata5;
     //
     // virtualPropertyMatchRule2
     //
     this.virtualPropertyMatchRule2.PropertyName = "title";
     textmatchdata6.Text = "YouTube";
     this.virtualPropertyMatchRule2.Text = textmatchdata6;
     this.YouTube1.MatchRules.Add(this.virtualPropertyMatchRule1);
     this.YouTube1.MatchRules.Add(this.virtualPropertyMatchRule2);
     this.YouTube1.Name             = "YouTube1";
     this.YouTube1.TargetTypeString = _resources_.GetString("_ytt_5_");
     this.Controls.Add(this.YouTube1);
     this.ElectronConfiguration.Path             = "";
     this.ElectronConfiguration.TargetPath       = null;
     this.ElectronConfiguration.WorkingDirectory = null;
     this.ExpressNativeTypes = null;
     this.Extender           = null;
     this.FriendlyName       = "ytt";
     this.IgnoreMainBrowser  = false;
     this.Name = "ytt";
     this.ReasonAdapterNotReady = null;
     this.StartMyDay            = OpenSpan.ApplicationFramework.StartMyDay.StartOptions.None;
     this.StartMyDayControls    = null;
     this.StartOnProjectStart   = false;
     this.StartPage             = "https://www.youtube.com/";
     this.StartTimeout          = 20000;
     //
     // Add components
     //
     this.mComponents = new System.Collections.Generic.List <System.ComponentModel.IComponent>(20);
     this.Components.Add(this.YouTube1);
     this.Components.Add(this.___________________________________);
     this.Components.Add(this.SearchTxt);
     this.Components.Add(this.virtualPropertyMatchRule4);
     this.Components.Add(this.virtualPropertyMatchRule5);
     this.Components.Add(this.Search);
     this.Components.Add(this.virtualPropertyMatchRule6);
     this.Components.Add(this.virtualPropertyMatchRule3);
     this.Components.Add(this.virtualPropertyMatchRule1);
     this.Components.Add(this.virtualPropertyMatchRule2);
 }
Пример #18
0
 public ACMESearch()
 {
     //
     // Global Initialization
     //
     OpenSpan.Diagnostics.Diagnostic.Initialize();
     //
     // Setup field members
     //
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(ACMESearch));
     OpenSpan.Adapters.TextMatchData textmatchdata1             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata2             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata3             = new OpenSpan.Adapters.TextMatchData();
     this.ActiveXFactory       = new OpenSpan.Adapters.ActiveX.ActiveXFactory();
     this.moduleNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.WinInetFactory       = new OpenSpan.Adapters.WinInet.WinInetFactory();
     this.moduleNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.MicrosoftHTMLFactory = new OpenSpan.Adapters.Web.MicrosoftHTMLFactory();
     this.moduleNameMatchRule3 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // Initialize design component
     //
     this.Initialize();
     //
     // Set design component Id
     //
     this.Id = new OpenSpan.Design.ComponentIdentity("WebAdapter-8D8DE2BB139348E");
     //
     // Set component Ids
     //
     this.SetId(this.ActiveXFactory, new OpenSpan.Design.ComponentIdentity("ActiveXFactory-8D8DFDE4F24F077"));
     this.SetId(this.moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE4F564DD2"));
     this.SetId(this.WinInetFactory, new OpenSpan.Design.ComponentIdentity("WinInetFactory-8D8DFDE517C7E10"));
     this.SetId(this.moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE51863B5D"));
     this.SetId(this.MicrosoftHTMLFactory, new OpenSpan.Design.ComponentIdentity("MicrosoftHTMLFactory-8D8DFDE58FC030E"));
     this.SetId(this.moduleNameMatchRule3, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE5912D6D2"));
     //
     // ACMESearch
     //
     this.AdvancedConfiguration = null;
     ComponentInfo.CodeDomData  = _resources_.GetString("_ACMESearch_1_");
     //
     // ActiveXFactory
     //
     this.ActiveXFactory.Extender    = null;
     this.ActiveXFactory.FactoryName = null;
     this.ActiveXFactory.ForwardObjectExplorerEvent = true;
     this.ActiveXFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule1
     //
     textmatchdata1.Text            = "ole32.dll";
     this.moduleNameMatchRule1.Text = textmatchdata1;
     this.ActiveXFactory.MatchRules.Add(this.moduleNameMatchRule1);
     this.ActiveXFactory.Name             = "ActiveXFactory";
     this.ActiveXFactory.PegaId           = 0;
     this.ActiveXFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.ActiveXFactory.UseKeys          = true;
     this.ActiveXFactory.XrayGuid         = "";
     //
     // WinInetFactory
     //
     this.WinInetFactory.Extender    = null;
     this.WinInetFactory.FactoryName = null;
     this.WinInetFactory.ForwardObjectExplorerEvent = true;
     this.WinInetFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule2
     //
     textmatchdata2.Text            = "wininet.dll";
     this.moduleNameMatchRule2.Text = textmatchdata2;
     this.WinInetFactory.MatchRules.Add(this.moduleNameMatchRule2);
     this.WinInetFactory.Name             = "WinInetFactory";
     this.WinInetFactory.PegaId           = 0;
     this.WinInetFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.WinInetFactory.UseKeys          = true;
     this.WinInetFactory.XrayGuid         = "";
     //
     // MicrosoftHTMLFactory
     //
     this.MicrosoftHTMLFactory.Extender    = null;
     this.MicrosoftHTMLFactory.FactoryName = null;
     this.MicrosoftHTMLFactory.ForwardObjectExplorerEvent = true;
     this.MicrosoftHTMLFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule3
     //
     textmatchdata3.Text            = "mshtml.dll";
     this.moduleNameMatchRule3.Text = textmatchdata3;
     this.MicrosoftHTMLFactory.MatchRules.Add(this.moduleNameMatchRule3);
     this.MicrosoftHTMLFactory.Name             = "MicrosoftHTMLFactory";
     this.MicrosoftHTMLFactory.PegaId           = 0;
     this.MicrosoftHTMLFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.MicrosoftHTMLFactory.UseKeys          = true;
     this.MicrosoftHTMLFactory.XrayGuid         = "";
     this.Controls.Add(this.ActiveXFactory);
     this.Controls.Add(this.WinInetFactory);
     this.Controls.Add(this.MicrosoftHTMLFactory);
     this.ExpressNativeTypes = null;
     this.Extender           = null;
     this.FriendlyName       = "ACMESearch";
     this.IgnoreMainBrowser  = false;
     this.Name = "ACMESearch";
     this.ReasonAdapterNotReady = null;
     this.StartMyDay            = OpenSpan.ApplicationFramework.StartMyDay.StartOptions.None;
     this.StartMyDayControls    = null;
     this.StartOnProjectStart   = false;
     this.StartPage             = "http://training.pega.com/";
     this.XrayMasterNames       = null;
     //
     // Add components
     //
     this.mComponents = new System.Collections.Generic.List <System.ComponentModel.IComponent>(20);
     this.Components.Add(this.ActiveXFactory);
     this.Components.Add(this.moduleNameMatchRule1);
     this.Components.Add(this.WinInetFactory);
     this.Components.Add(this.moduleNameMatchRule2);
     this.Components.Add(this.MicrosoftHTMLFactory);
     this.Components.Add(this.moduleNameMatchRule3);
 }
Пример #19
0
 internal OpenSpan.Adapters.ActiveX.ActiveXFactory Create_ActiveXFactory(out System.Collections.Generic.ICollection<System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List<System.ComponentModel.IComponent>();
     OpenSpan.Adapters.ActiveX.ActiveXFactory ActiveXFactory = new OpenSpan.Adapters.ActiveX.ActiveXFactory();
     this.SetId(ActiveXFactory, new OpenSpan.Design.ComponentIdentity("ActiveXFactory-8D1624307A427C5"));
     ActiveXFactory.Extender = null;
     ActiveXFactory.FactoryName = null;
     ActiveXFactory.ForwardObjectExplorerEvent = true;
     ActiveXFactory.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule1;
     moduleNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // moduleNameMatchRule1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "ole32.dll";
     moduleNameMatchRule1.Text = textmatchdata1;
     ActiveXFactory.MatchRules.Add(moduleNameMatchRule1);
     ActiveXFactory.Name = "ActiveXFactory";
     ActiveXFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     ActiveXFactory.UseKeys = true;
     //
     // Set component Ids
     //
     this.SetId(moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D1624307AC6525"));
     //
     // Add components
     //
     components.Add(moduleNameMatchRule1);
     //
     // Result
     //
     return ActiveXFactory;
 }
Пример #20
0
 internal OpenSpan.Adapters.Controls.Form Create_Calculator(out System.Collections.Generic.ICollection<System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List<System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Controls.Form Calculator = new OpenSpan.Adapters.Controls.Form();
     this.SetId(Calculator, new OpenSpan.Design.ComponentIdentity("Form-8D162430A994BE5"));
     OpenSpan.Adapters.Controls.Control Control1;
     Control1 = new OpenSpan.Adapters.Controls.Control();
     //
     // Control1
     //
     OpenSpan.Adapters.Controls.Control Control;
     Control = new OpenSpan.Adapters.Controls.Control();
     //
     // Control
     //
     OpenSpan.Adapters.Controls.Button btnSeven;
     btnSeven = new OpenSpan.Adapters.Controls.Button();
     //
     // btnSeven
     //
     btnSeven.Extender = null;
     btnSeven.ForwardObjectExplorerEvent = true;
     btnSeven.MatchingIndex = 2;
     OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule classNameMatchRule4;
     classNameMatchRule4 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     //
     // classNameMatchRule4
     //
     classNameMatchRule4.ClassName = "Button";
     OpenSpan.Adapters.Windows.MatchRules.ControlIdMatchRule controlIdMatchRule1;
     controlIdMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ControlIdMatchRule();
     //
     // controlIdMatchRule1
     //
     controlIdMatchRule1.ControlId = 137;
     btnSeven.MatchRules.Add(classNameMatchRule4);
     btnSeven.MatchRules.Add(controlIdMatchRule1);
     btnSeven.Name = "btnSeven";
     btnSeven.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Button, OpenSpan.Adapters.Windows";
     OpenSpan.Adapters.Controls.Button btnC;
     btnC = new OpenSpan.Adapters.Controls.Button();
     //
     // btnC
     //
     btnC.Extender = null;
     btnC.ForwardObjectExplorerEvent = true;
     btnC.MatchingIndex = 12;
     OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule classNameMatchRule5;
     classNameMatchRule5 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     //
     // classNameMatchRule5
     //
     classNameMatchRule5.ClassName = "Button";
     OpenSpan.Adapters.Windows.MatchRules.ControlIdMatchRule controlIdMatchRule2;
     controlIdMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ControlIdMatchRule();
     //
     // controlIdMatchRule2
     //
     controlIdMatchRule2.ControlId = 81;
     btnC.MatchRules.Add(classNameMatchRule5);
     btnC.MatchRules.Add(controlIdMatchRule2);
     btnC.Name = "btnC";
     btnC.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Button, OpenSpan.Adapters.Windows";
     Control.Controls.Add(btnSeven);
     Control.Controls.Add(btnC);
     Control.Extender = null;
     Control.ForwardObjectExplorerEvent = true;
     Control.MatchingIndex = 3;
     OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule classNameMatchRule3;
     classNameMatchRule3 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     //
     // classNameMatchRule3
     //
     classNameMatchRule3.ClassName = "#32770";
     OpenSpan.Adapters.Windows.MatchRules.WindowTypeMatchRule windowTypeMatchRule2;
     windowTypeMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.WindowTypeMatchRule();
     //
     // windowTypeMatchRule2
     //
     windowTypeMatchRule2.Type = OpenSpan.Adapters.Windows.WindowType.Child;
     OpenSpan.Adapters.MatchRules.ControlChildrenMatchRule controlChildrenMatchRule1;
     controlChildrenMatchRule1 = new OpenSpan.Adapters.MatchRules.ControlChildrenMatchRule();
     //
     // controlChildrenMatchRule1
     //
     controlChildrenMatchRule1.Children.Add(btnSeven);
     Control.MatchRules.Add(classNameMatchRule3);
     Control.MatchRules.Add(windowTypeMatchRule2);
     Control.MatchRules.Add(controlChildrenMatchRule1);
     Control.Name = "Control";
     Control.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Control, OpenSpan.Adapters.Windows";
     Control1.Controls.Add(Control);
     Control1.Extender = null;
     Control1.ForwardObjectExplorerEvent = true;
     Control1.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule classNameMatchRule2;
     classNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     //
     // classNameMatchRule2
     //
     classNameMatchRule2.ClassName = "CalcFrame";
     OpenSpan.Adapters.Windows.MatchRules.WindowTypeMatchRule windowTypeMatchRule1;
     windowTypeMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTypeMatchRule();
     //
     // windowTypeMatchRule1
     //
     windowTypeMatchRule1.Type = OpenSpan.Adapters.Windows.WindowType.Child;
     Control1.MatchRules.Add(classNameMatchRule2);
     Control1.MatchRules.Add(windowTypeMatchRule1);
     Control1.Name = "Control1";
     Control1.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Control, OpenSpan.Adapters.Windows";
     Calculator.Controls.Add(Control1);
     Calculator.Extender = null;
     Calculator.ForwardObjectExplorerEvent = true;
     Calculator.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule windowTextMatchRule1;
     windowTextMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule();
     //
     // windowTextMatchRule1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "Calculator";
     windowTextMatchRule1.Text = textmatchdata1;
     OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule classNameMatchRule1;
     classNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     //
     // classNameMatchRule1
     //
     classNameMatchRule1.ClassName = "CalcFrame";
     Calculator.MatchRules.Add(windowTextMatchRule1);
     Calculator.MatchRules.Add(classNameMatchRule1);
     Calculator.Name = "Calculator";
     Calculator.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Form, OpenSpan.Adapters.Windows";
     //
     // Set component Ids
     //
     this.SetId(Control1, new OpenSpan.Design.ComponentIdentity("Control-8D162430A983A75"));
     this.SetId(Control, new OpenSpan.Design.ComponentIdentity("Control-8D162430A972905"));
     this.SetId(btnSeven, new OpenSpan.Design.ComponentIdentity("Button-8D162430A933165"));
     this.SetId(classNameMatchRule4, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430AA50BB5"));
     this.SetId(controlIdMatchRule1, new OpenSpan.Design.ComponentIdentity("ControlIdMatchRule-8D162430AA5F615"));
     this.SetId(btnC, new OpenSpan.Design.ComponentIdentity("Button-8D1624365A8E217"));
     this.SetId(classNameMatchRule5, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D1624365AB2C16"));
     this.SetId(controlIdMatchRule2, new OpenSpan.Design.ComponentIdentity("ControlIdMatchRule-8D1624365ACD9D1"));
     this.SetId(classNameMatchRule3, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430AA16235"));
     this.SetId(windowTypeMatchRule2, new OpenSpan.Design.ComponentIdentity("WindowTypeMatchRule-8D162430AA273A5"));
     this.SetId(controlChildrenMatchRule1, new OpenSpan.Design.ComponentIdentity("ControlChildrenMatchRule-8D162434F95AEEF"));
     this.SetId(classNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430A9EF135"));
     this.SetId(windowTypeMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTypeMatchRule-8D162430AA002A5"));
     this.SetId(windowTextMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTextMatchRule-8D162430A9BE3F5"));
     this.SetId(classNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430A9D4385"));
     //
     // Add components
     //
     components.Add(Control1);
     components.Add(Control);
     components.Add(btnSeven);
     components.Add(classNameMatchRule4);
     components.Add(controlIdMatchRule1);
     components.Add(btnC);
     components.Add(classNameMatchRule5);
     components.Add(controlIdMatchRule2);
     components.Add(classNameMatchRule3);
     components.Add(windowTypeMatchRule2);
     components.Add(controlChildrenMatchRule1);
     components.Add(classNameMatchRule2);
     components.Add(windowTypeMatchRule1);
     components.Add(windowTextMatchRule1);
     components.Add(classNameMatchRule1);
     //
     // Result
     //
     return Calculator;
 }
Пример #21
0
 public Calc()
 {
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(Calc));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata2 = new OpenSpan.Adapters.TextMatchData();
     this.ActiveXFactory = new OpenSpan.Adapters.ActiveX.ActiveXFactory();
     this.moduleNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.Calculator = new OpenSpan.Adapters.Controls.Form();
     this.Control1 = new OpenSpan.Adapters.Controls.Control();
     this.Control = new OpenSpan.Adapters.Controls.Control();
     this.btnSeven = new OpenSpan.Adapters.Controls.Button();
     this.classNameMatchRule4 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     this.controlIdMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ControlIdMatchRule();
     this.btnC = new OpenSpan.Adapters.Controls.Button();
     this.classNameMatchRule5 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     this.controlIdMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ControlIdMatchRule();
     this.classNameMatchRule3 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     this.windowTypeMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.WindowTypeMatchRule();
     this.controlChildrenMatchRule1 = new OpenSpan.Adapters.MatchRules.ControlChildrenMatchRule();
     this.classNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     this.windowTypeMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTypeMatchRule();
     this.windowTextMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule();
     this.classNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ClassNameMatchRule();
     //
     // Initialize design component
     //
     this.Initialize();
     //
     // Set design component Id
     //
     this.Id = new OpenSpan.Design.ComponentIdentity("WindowsAdapter-8D16242F4F549B5");
     //
     // Set component Ids
     //
     this.SetId(this.ActiveXFactory, new OpenSpan.Design.ComponentIdentity("ActiveXFactory-8D1624307A427C5"));
     this.SetId(this.moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D1624307AC6525"));
     this.SetId(this.Calculator, new OpenSpan.Design.ComponentIdentity("Form-8D162430A994BE5"));
     this.SetId(this.Control1, new OpenSpan.Design.ComponentIdentity("Control-8D162430A983A75"));
     this.SetId(this.Control, new OpenSpan.Design.ComponentIdentity("Control-8D162430A972905"));
     this.SetId(this.btnSeven, new OpenSpan.Design.ComponentIdentity("Button-8D162430A933165"));
     this.SetId(this.classNameMatchRule4, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430AA50BB5"));
     this.SetId(this.controlIdMatchRule1, new OpenSpan.Design.ComponentIdentity("ControlIdMatchRule-8D162430AA5F615"));
     this.SetId(this.btnC, new OpenSpan.Design.ComponentIdentity("Button-8D1624365A8E217"));
     this.SetId(this.classNameMatchRule5, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D1624365AB2C16"));
     this.SetId(this.controlIdMatchRule2, new OpenSpan.Design.ComponentIdentity("ControlIdMatchRule-8D1624365ACD9D1"));
     this.SetId(this.classNameMatchRule3, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430AA16235"));
     this.SetId(this.windowTypeMatchRule2, new OpenSpan.Design.ComponentIdentity("WindowTypeMatchRule-8D162430AA273A5"));
     this.SetId(this.controlChildrenMatchRule1, new OpenSpan.Design.ComponentIdentity("ControlChildrenMatchRule-8D162434F95AEEF"));
     this.SetId(this.classNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430A9EF135"));
     this.SetId(this.windowTypeMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTypeMatchRule-8D162430AA002A5"));
     this.SetId(this.windowTextMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTextMatchRule-8D162430A9BE3F5"));
     this.SetId(this.classNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ClassNameMatchRule-8D162430A9D4385"));
     //
     // Calc
     //
     ComponentInfo.CodeDomData = _resources_.GetString("_Calc_1_");
     //
     // ActiveXFactory
     //
     this.ActiveXFactory.Extender = null;
     this.ActiveXFactory.FactoryName = null;
     this.ActiveXFactory.ForwardObjectExplorerEvent = true;
     this.ActiveXFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule1
     //
     textmatchdata1.Text = "ole32.dll";
     this.moduleNameMatchRule1.Text = textmatchdata1;
     this.ActiveXFactory.MatchRules.Add(this.moduleNameMatchRule1);
     this.ActiveXFactory.Name = "ActiveXFactory";
     this.ActiveXFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.ActiveXFactory.UseKeys = true;
     //
     // Calculator
     //
     //
     // Control1
     //
     //
     // Control
     //
     //
     // btnSeven
     //
     this.btnSeven.Extender = null;
     this.btnSeven.ForwardObjectExplorerEvent = true;
     this.btnSeven.MatchingIndex = 2;
     //
     // classNameMatchRule4
     //
     this.classNameMatchRule4.ClassName = "Button";
     //
     // controlIdMatchRule1
     //
     this.controlIdMatchRule1.ControlId = 137;
     this.btnSeven.MatchRules.Add(this.classNameMatchRule4);
     this.btnSeven.MatchRules.Add(this.controlIdMatchRule1);
     this.btnSeven.Name = "btnSeven";
     this.btnSeven.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Button, OpenSpan.Adapters.Windows";
     //
     // btnC
     //
     this.btnC.Extender = null;
     this.btnC.ForwardObjectExplorerEvent = true;
     this.btnC.MatchingIndex = 12;
     //
     // classNameMatchRule5
     //
     this.classNameMatchRule5.ClassName = "Button";
     //
     // controlIdMatchRule2
     //
     this.controlIdMatchRule2.ControlId = 81;
     this.btnC.MatchRules.Add(this.classNameMatchRule5);
     this.btnC.MatchRules.Add(this.controlIdMatchRule2);
     this.btnC.Name = "btnC";
     this.btnC.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Button, OpenSpan.Adapters.Windows";
     this.Control.Controls.Add(this.btnSeven);
     this.Control.Controls.Add(this.btnC);
     this.Control.Extender = null;
     this.Control.ForwardObjectExplorerEvent = true;
     this.Control.MatchingIndex = 3;
     //
     // classNameMatchRule3
     //
     this.classNameMatchRule3.ClassName = "#32770";
     //
     // windowTypeMatchRule2
     //
     this.windowTypeMatchRule2.Type = OpenSpan.Adapters.Windows.WindowType.Child;
     //
     // controlChildrenMatchRule1
     //
     this.controlChildrenMatchRule1.Children.Add(this.btnSeven);
     this.Control.MatchRules.Add(this.classNameMatchRule3);
     this.Control.MatchRules.Add(this.windowTypeMatchRule2);
     this.Control.MatchRules.Add(this.controlChildrenMatchRule1);
     this.Control.Name = "Control";
     this.Control.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Control, OpenSpan.Adapters.Windows";
     this.Control1.Controls.Add(this.Control);
     this.Control1.Extender = null;
     this.Control1.ForwardObjectExplorerEvent = true;
     this.Control1.MatchingIndex = 0;
     //
     // classNameMatchRule2
     //
     this.classNameMatchRule2.ClassName = "CalcFrame";
     //
     // windowTypeMatchRule1
     //
     this.windowTypeMatchRule1.Type = OpenSpan.Adapters.Windows.WindowType.Child;
     this.Control1.MatchRules.Add(this.classNameMatchRule2);
     this.Control1.MatchRules.Add(this.windowTypeMatchRule1);
     this.Control1.Name = "Control1";
     this.Control1.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Control, OpenSpan.Adapters.Windows";
     this.Calculator.Controls.Add(this.Control1);
     this.Calculator.Extender = null;
     this.Calculator.ForwardObjectExplorerEvent = true;
     this.Calculator.MatchingIndex = 0;
     //
     // windowTextMatchRule1
     //
     textmatchdata2.Text = "Calculator";
     this.windowTextMatchRule1.Text = textmatchdata2;
     //
     // classNameMatchRule1
     //
     this.classNameMatchRule1.ClassName = "CalcFrame";
     this.Calculator.MatchRules.Add(this.windowTextMatchRule1);
     this.Calculator.MatchRules.Add(this.classNameMatchRule1);
     this.Calculator.Name = "Calculator";
     this.Calculator.TargetTypeString = "OpenSpan.Adapters.Windows.Targets.Form, OpenSpan.Adapters.Windows";
     this.Controls.Add(this.ActiveXFactory);
     this.Controls.Add(this.Calculator);
     this.Extender = null;
     this.Name = "Calc";
     this.Path = "C:\\Windows\\system32\\calc.exe | System";
     this.StartMethod = OpenSpan.Adapters.Windows.WindowsProcessStartMethod.MonitorAll;
     this.WorkingDirectory = "C:\\Windows\\system32";
     //
     // Add components
     //
     this.mComponents = new System.Collections.Generic.List<System.ComponentModel.IComponent>(20);
     this.Components.Add(this.ActiveXFactory);
     this.Components.Add(this.moduleNameMatchRule1);
     this.Components.Add(this.Calculator);
     this.Components.Add(this.Control1);
     this.Components.Add(this.Control);
     this.Components.Add(this.btnSeven);
     this.Components.Add(this.classNameMatchRule4);
     this.Components.Add(this.controlIdMatchRule1);
     this.Components.Add(this.btnC);
     this.Components.Add(this.classNameMatchRule5);
     this.Components.Add(this.controlIdMatchRule2);
     this.Components.Add(this.classNameMatchRule3);
     this.Components.Add(this.windowTypeMatchRule2);
     this.Components.Add(this.controlChildrenMatchRule1);
     this.Components.Add(this.classNameMatchRule2);
     this.Components.Add(this.windowTypeMatchRule1);
     this.Components.Add(this.windowTextMatchRule1);
     this.Components.Add(this.classNameMatchRule1);
 }
Пример #22
0
 public Windows_Application1()
 {
     //
     // Global Initialization
     //
     OpenSpan.Diagnostics.Diagnostic.Initialize();
     //
     // Setup field members
     //
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(Windows_Application1));
     OpenSpan.Adapters.TextMatchData textmatchdata1             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata2             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata3             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata4             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata5             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata6             = new OpenSpan.Adapters.TextMatchData();
     this.DotNet20Factory         = new OpenSpan.Adapters.DotNet.DotNet20Factory();
     this.moduleNameMatchRule1    = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.moduleVersionMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleVersionMatchRule();
     this.ActiveXFactory          = new OpenSpan.Adapters.ActiveX.ActiveXFactory();
     this.moduleNameMatchRule2    = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.Login   = new OpenSpan.Adapters.Controls.Form();
     this.picLogo = new OpenSpan.Adapters.Controls.Control();
     this.virtualControlNativeControlNameMat1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule();
     this.windowTextMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule();
     this.virtualControlContainerNativeWindo1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlContainerNativeWindowNameMatchRule();
     //
     // Initialize design component
     //
     this.Initialize();
     //
     // Set design component Id
     //
     this.Id = new OpenSpan.Design.ComponentIdentity("WindowsAdapter-8D7637AB5167B4A");
     //
     // Set component Ids
     //
     this.SetId(this.DotNet20Factory, new OpenSpan.Design.ComponentIdentity("DotNet20Factory-8D7637AC5065043"));
     this.SetId(this.moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D7637AC51A5D4C"));
     this.SetId(this.moduleVersionMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleVersionMatchRule-8D7637AC5202038"));
     this.SetId(this.ActiveXFactory, new OpenSpan.Design.ComponentIdentity("ActiveXFactory-8D7637AC53C4879"));
     this.SetId(this.moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D7637AC545D174"));
     this.SetId(this.Login, new OpenSpan.Design.ComponentIdentity("Form-8D7637ACAA8408A"));
     this.SetId(this.picLogo, new OpenSpan.Design.ComponentIdentity("Control-8D7637ACAA37C3A"));
     this.SetId(this.virtualControlNativeControlNameMat1, new OpenSpan.Design.ComponentIdentity("VirtualControlNativeControlNameMatchRule-8D7637ACABFE164"));
     this.SetId(this.windowTextMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTextMatchRule-8D7637ACAAE042D"));
     this.SetId(this.virtualControlContainerNativeWindo1, new OpenSpan.Design.ComponentIdentity("VirtualControlContainerNativeWindowNameMatchRule-8D7637ACAB78B13"));
     //
     // Windows_Application1
     //
     this.AdvancedConfiguration = null;
     ComponentInfo.CodeDomData  = _resources_.GetString("_Windows_Application1_1_");
     //
     // DotNet20Factory
     //
     this.DotNet20Factory.Extender    = null;
     this.DotNet20Factory.FactoryName = null;
     this.DotNet20Factory.ForwardObjectExplorerEvent = true;
     this.DotNet20Factory.MatchingIndex = 0;
     //
     // moduleNameMatchRule1
     //
     textmatchdata1.Text            = "mscorwks.dll";
     this.moduleNameMatchRule1.Text = textmatchdata1;
     //
     // moduleVersionMatchRule1
     //
     textmatchdata2.Mode = OpenSpan.Adapters.TextMatchMode.Wildcard;
     textmatchdata2.Text = "2.0.*.*";
     this.moduleVersionMatchRule1.Text = textmatchdata2;
     this.DotNet20Factory.MatchRules.Add(this.moduleNameMatchRule1);
     this.DotNet20Factory.MatchRules.Add(this.moduleVersionMatchRule1);
     this.DotNet20Factory.Name             = "DotNet20Factory";
     this.DotNet20Factory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.DotNet20Factory.UseKeys          = true;
     //
     // ActiveXFactory
     //
     this.ActiveXFactory.Extender    = null;
     this.ActiveXFactory.FactoryName = null;
     this.ActiveXFactory.ForwardObjectExplorerEvent = true;
     this.ActiveXFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule2
     //
     textmatchdata3.Text            = "ole32.dll";
     this.moduleNameMatchRule2.Text = textmatchdata3;
     this.ActiveXFactory.MatchRules.Add(this.moduleNameMatchRule2);
     this.ActiveXFactory.Name             = "ActiveXFactory";
     this.ActiveXFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.ActiveXFactory.UseKeys          = true;
     //
     // Login
     //
     //
     // picLogo
     //
     this.picLogo.Extender                   = null;
     this.picLogo.ExtensibleTypeName         = "System.Windows.Forms.PictureBox, System.Windows.Forms";
     this.picLogo.ForwardObjectExplorerEvent = true;
     this.picLogo.MatchingIndex              = 7;
     //
     // virtualControlNativeControlNameMat1
     //
     textmatchdata4.Text = "picLogo";
     this.virtualControlNativeControlNameMat1.NativeControlName = textmatchdata4;
     this.picLogo.MatchRules.Add(this.virtualControlNativeControlNameMat1);
     this.picLogo.Name             = "picLogo";
     this.picLogo.TargetTypeString = _resources_.GetString("_Windows_Application1_2_");
     this.Login.Controls.Add(this.picLogo);
     this.Login.Extender                   = null;
     this.Login.ExtensibleTypeName         = null;
     this.Login.ForwardObjectExplorerEvent = true;
     this.Login.MatchingIndex              = 3;
     //
     // windowTextMatchRule1
     //
     textmatchdata5.Text            = "Login";
     this.windowTextMatchRule1.Text = textmatchdata5;
     //
     // virtualControlContainerNativeWindo1
     //
     textmatchdata6.Text = "WindowsForms10.Window.8.app.0.378734a";
     this.virtualControlContainerNativeWindo1.VirtualWindowName = textmatchdata6;
     this.Login.MatchRules.Add(this.windowTextMatchRule1);
     this.Login.MatchRules.Add(this.virtualControlContainerNativeWindo1);
     this.Login.Name             = "Login";
     this.Login.TargetTypeString = _resources_.GetString("_Windows_Application1_3_");
     this.Controls.Add(this.DotNet20Factory);
     this.Controls.Add(this.ActiveXFactory);
     this.Controls.Add(this.Login);
     this.ExpressNativeTypes = null;
     this.Extender           = null;
     this.FriendlyName       = "Windows_Application1";
     this.Name = "Windows_Application1";
     this.Path = "C:\\Program Files (x86)\\Pegasystems\\CRM Setup\\CRM.exe";
     this.ReasonAdapterNotReady = null;
     this.StartMyDay            = OpenSpan.ApplicationFramework.StartMyDay.StartOptions.None;
     this.StartMyDayControls    = null;
     this.WorkingDirectory      = "C:\\Program Files (x86)\\Pegasystems\\CRM Setup";
     //
     // Add components
     //
     this.mComponents = new System.Collections.Generic.List <System.ComponentModel.IComponent>(20);
     this.Components.Add(this.DotNet20Factory);
     this.Components.Add(this.moduleNameMatchRule1);
     this.Components.Add(this.moduleVersionMatchRule1);
     this.Components.Add(this.ActiveXFactory);
     this.Components.Add(this.moduleNameMatchRule2);
     this.Components.Add(this.Login);
     this.Components.Add(this.picLogo);
     this.Components.Add(this.virtualControlNativeControlNameMat1);
     this.Components.Add(this.windowTextMatchRule1);
     this.Components.Add(this.virtualControlContainerNativeWindo1);
 }
Пример #23
0
 internal OpenSpan.Adapters.Controls.Form Create_Login(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(Windows_Application1));
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Controls.Form Login = new OpenSpan.Adapters.Controls.Form();
     this.SetId(Login, new OpenSpan.Design.ComponentIdentity("Form-8D7637ACAA8408A"));
     OpenSpan.Adapters.Controls.Control picLogo;
     picLogo = new OpenSpan.Adapters.Controls.Control();
     //
     // picLogo
     //
     picLogo.Extender                   = null;
     picLogo.ExtensibleTypeName         = "System.Windows.Forms.PictureBox, System.Windows.Forms";
     picLogo.ForwardObjectExplorerEvent = true;
     picLogo.MatchingIndex              = 7;
     OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule virtualControlNativeControlNameMat1;
     virtualControlNativeControlNameMat1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlNativeControlNameMatchRule();
     //
     // virtualControlNativeControlNameMat1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "picLogo";
     virtualControlNativeControlNameMat1.NativeControlName = textmatchdata1;
     picLogo.MatchRules.Add(virtualControlNativeControlNameMat1);
     picLogo.Name             = "picLogo";
     picLogo.TargetTypeString = _resources_.GetString("_Windows_Application1_2_");
     Login.Controls.Add(picLogo);
     Login.Extender                   = null;
     Login.ExtensibleTypeName         = null;
     Login.ForwardObjectExplorerEvent = true;
     Login.MatchingIndex              = 3;
     OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule windowTextMatchRule1;
     windowTextMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule();
     //
     // windowTextMatchRule1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata2 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata2.Text       = "Login";
     windowTextMatchRule1.Text = textmatchdata2;
     OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlContainerNativeWindowNameMatchRule virtualControlContainerNativeWindo1;
     virtualControlContainerNativeWindo1 = new OpenSpan.Adapters.Virtual.VirtualMatchRules.VirtualControlContainerNativeWindowNameMatchRule();
     //
     // virtualControlContainerNativeWindo1
     //
     OpenSpan.Adapters.TextMatchData textmatchdata3 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata3.Text = "WindowsForms10.Window.8.app.0.378734a";
     virtualControlContainerNativeWindo1.VirtualWindowName = textmatchdata3;
     Login.MatchRules.Add(windowTextMatchRule1);
     Login.MatchRules.Add(virtualControlContainerNativeWindo1);
     Login.Name             = "Login";
     Login.TargetTypeString = _resources_.GetString("_Windows_Application1_3_");
     //
     // Set designComp Ids
     //
     this.SetId(picLogo, new OpenSpan.Design.ComponentIdentity("Control-8D7637ACAA37C3A"));
     this.SetId(virtualControlNativeControlNameMat1, new OpenSpan.Design.ComponentIdentity("VirtualControlNativeControlNameMatchRule-8D7637ACABFE164"));
     this.SetId(windowTextMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTextMatchRule-8D7637ACAAE042D"));
     this.SetId(virtualControlContainerNativeWindo1, new OpenSpan.Design.ComponentIdentity("VirtualControlContainerNativeWindowNameMatchRule-8D7637ACAB78B13"));
     //
     // Add components
     //
     components.Add(picLogo);
     components.Add(virtualControlNativeControlNameMat1);
     components.Add(windowTextMatchRule1);
     components.Add(virtualControlContainerNativeWindo1);
     //
     // Result
     //
     return(Login);
 }
Пример #24
0
 internal OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule Create_moduleNameMatchRule1(out System.Collections.Generic.ICollection<System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List<System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.SetId(moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D1624307AC6525"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "ole32.dll";
     moduleNameMatchRule1.Text = textmatchdata1;
     //
     // Result
     //
     return moduleNameMatchRule1;
 }
Пример #25
0
 internal OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule Create_windowTextMatchRule1(out System.Collections.Generic.ICollection<System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List<System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule windowTextMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.WindowTextMatchRule();
     this.SetId(windowTextMatchRule1, new OpenSpan.Design.ComponentIdentity("WindowTextMatchRule-8D162430A9BE3F5"));
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text = "Calculator";
     windowTextMatchRule1.Text = textmatchdata1;
     //
     // Result
     //
     return windowTextMatchRule1;
 }
Пример #26
0
 internal OpenSpan.Adapters.Web.WebBase.Controls.Form Create____________________________________(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(ytt));
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.Web.WebBase.Controls.Form ___________________________________ = new OpenSpan.Adapters.Web.WebBase.Controls.Form();
     this.SetId(___________________________________, new OpenSpan.Design.ComponentIdentity("Form-8D7EA619FCBDE1D"));
     OpenSpan.Adapters.Web.WebBase.Controls.TextBox SearchTxt;
     SearchTxt = new OpenSpan.Adapters.Web.WebBase.Controls.TextBox();
     //
     // SearchTxt
     //
     SearchTxt.ElementId                  = null;
     SearchTxt.Extender                   = null;
     SearchTxt.ExtensibleTypeName         = null;
     SearchTxt.ForwardObjectExplorerEvent = true;
     SearchTxt.MatchingIndex              = 0;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule4;
     virtualPropertyMatchRule4 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule4
     //
     virtualPropertyMatchRule4.PropertyName = "type";
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text            = "text";
     virtualPropertyMatchRule4.Text = textmatchdata1;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule5;
     virtualPropertyMatchRule5 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule5
     //
     virtualPropertyMatchRule5.PropertyName = "id";
     OpenSpan.Adapters.TextMatchData textmatchdata2 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata2.Text            = "search";
     virtualPropertyMatchRule5.Text = textmatchdata2;
     SearchTxt.MatchRules.Add(virtualPropertyMatchRule4);
     SearchTxt.MatchRules.Add(virtualPropertyMatchRule5);
     SearchTxt.Name             = "SearchTxt";
     SearchTxt.TagName          = "INPUT";
     SearchTxt.TargetTypeString = _resources_.GetString("_ytt_2_");
     SearchTxt.UseElementId     = false;
     OpenSpan.Adapters.Web.WebBase.Controls.BasicButton Search;
     Search = new OpenSpan.Adapters.Web.WebBase.Controls.BasicButton();
     //
     // Search
     //
     Search.ElementId                  = "search-icon-legacy";
     Search.Extender                   = null;
     Search.ExtensibleTypeName         = null;
     Search.ForwardObjectExplorerEvent = true;
     Search.MatchingIndex              = 0;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule6;
     virtualPropertyMatchRule6 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule6
     //
     virtualPropertyMatchRule6.PropertyName = "id";
     OpenSpan.Adapters.TextMatchData textmatchdata3 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata3.Text            = "search-icon-legacy";
     virtualPropertyMatchRule6.Text = textmatchdata3;
     Search.MatchRules.Add(virtualPropertyMatchRule6);
     Search.Name             = "Search";
     Search.TagName          = "BUTTON";
     Search.TargetTypeString = _resources_.GetString("_ytt_3_");
     Search.UseElementId     = true;
     ___________________________________.Controls.Add(SearchTxt);
     ___________________________________.Controls.Add(Search);
     ___________________________________.ElementId                  = "search-form";
     ___________________________________.Extender                   = null;
     ___________________________________.ExtensibleTypeName         = null;
     ___________________________________.ForwardObjectExplorerEvent = true;
     ___________________________________.MatchingIndex              = 0;
     OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule virtualPropertyMatchRule3;
     virtualPropertyMatchRule3 = new OpenSpan.Adapters.Web.WebBase.MatchRules.VirtualPropertyMatchRule();
     //
     // virtualPropertyMatchRule3
     //
     virtualPropertyMatchRule3.PropertyName = "id";
     OpenSpan.Adapters.TextMatchData textmatchdata4 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata4.Text            = "search-form";
     virtualPropertyMatchRule3.Text = textmatchdata4;
     ___________________________________.MatchRules.Add(virtualPropertyMatchRule3);
     ___________________________________.Name             = "___________________________________";
     ___________________________________.TagName          = "FORM";
     ___________________________________.TargetTypeString = _resources_.GetString("_ytt_4_");
     ___________________________________.UseElementId     = true;
     //
     // Set designComp Ids
     //
     this.SetId(SearchTxt, new OpenSpan.Design.ComponentIdentity("TextBox-8D7EA619FB1E1B9"));
     this.SetId(virtualPropertyMatchRule4, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A02EAD42"));
     this.SetId(virtualPropertyMatchRule5, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A03CB677"));
     this.SetId(Search, new OpenSpan.Design.ComponentIdentity("BasicButton-8D7EA61A45B5C2D"));
     this.SetId(virtualPropertyMatchRule6, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A475B7EA"));
     this.SetId(virtualPropertyMatchRule3, new OpenSpan.Design.ComponentIdentity("VirtualPropertyMatchRule-8D7EA61A01E6AD1"));
     //
     // Add components
     //
     components.Add(SearchTxt);
     components.Add(virtualPropertyMatchRule4);
     components.Add(virtualPropertyMatchRule5);
     components.Add(Search);
     components.Add(virtualPropertyMatchRule6);
     components.Add(virtualPropertyMatchRule3);
     //
     // Result
     //
     return(___________________________________);
 }