Beispiel #1
0
        public static void Initialize()
        {
            AccessBridge accessBridge = new AccessBridge();

            accessBridge.Initialize();
            collector = new Collector(accessBridge);
        }
Beispiel #2
0
        public JABController InicializarDriver()
        {
            _accessBridge             = new AccessBridge();
            _accessBridge.Initilized += _bridge_Initilized;

            _accessBridge.Initialize();

            _accessBridge.Initilized += (sender, args) => {
            };

            return(this);
        }
        public void FillForm(Assembly application, AccessBridge accessBridge)
        {
            applicationNameText.Text      = GetAttribute <AssemblyTitleAttribute>(application).Title;
            applicationCopyrightText.Text = GetAttribute <AssemblyCopyrightAttribute>(application).Copyright;
            applicationVersionText.Text   = string.Format("Version {0}", application.GetName().Version);

            try {
                var libraryVersion = accessBridge.LibraryVersion;
                accessBridgePathText.Text    = string.Format("{0}", libraryVersion.FileName);
                accessBridgeProductText.Text = string.Format("{0}", libraryVersion.ProductName);
                accessBridgeVersionText.Text = string.Format("{0}", libraryVersion.FileVersion);
                accessBridgeLegacyText.Text  = accessBridge.IsLegacy ? "Yes" : "No";
            } catch (Exception e) {
                accessBridgePathText.Text    = e.Message;
                accessBridgeProductText.Text = @"<Error>";
                accessBridgeVersionText.Text = @"<Error>";
                accessBridgeLegacyText.Text  = @"<Error>";
            }
        }
Beispiel #4
0
 public AccessibleNode(AccessBridge accessBridge)
 {
     _accessBridge = accessBridge;
 }
Beispiel #5
0
 public AccessibleWindow Get(AccessBridge accessBridge, IntPtr hwnd)
 {
     return(_cache.GetOrAdd(hwnd, key => accessBridge.CreateAccessibleWindow(key)));
 }
Beispiel #6
0
 public AccessibleJvm(AccessBridge accessBridge, int vmId) : base(accessBridge)
 {
     _vmId = vmId;
 }
Beispiel #7
0
 public Collector(AccessBridge accessBridge)
 {
     this.accessBridge    = accessBridge;
     Bridge.OnGamePaired += OnGamePaired;
 }
Beispiel #8
0
 public App()
 {
     ab = new AccessBridge();
     ab.Initialize();
 }
 private void MainWindow_Load(object sender, EventArgs e)
 {
     _accessBridge = new AccessBridge();
     _accessBridge.Initialize();
 }
 public CommodityCollector(AccessBridge accessBridge, string currentIsland)
 {
     _accessBridge  = accessBridge;
     _currentIsland = currentIsland;
 }
 public AccessibleWindow(AccessBridge accessBridge, IntPtr hwnd, JavaObjectHandle ac) : base(accessBridge, ac)
 {
     _hwnd = hwnd;
 }