コード例 #1
0
        public ApplicationManager()
        {
            Application app = Application.Launch(@"C:\Program Files (x86)\GAS Softwares\Free Address Book\AddressBook.exe");

            MainWindow = app.GetWindow(WINTITLE);

            groupHelper = new GroupHelper(this);
        }
コード例 #2
0
        public ApplicationManager()
        {
            Application app = Application.Launch(@"c:\Work\FreeAddressBookPortable\AddressBook.exe");

            MainWindow = app.GetWindow(WINTITLE);

            groupHelper = new GroupHelper(this);
        }
コード例 #3
0
        private GroupHelper groupHelper; //поле

        public ApplicationManager()
        {
            Application app = Application.Launch(@"C:\Git\Repo\csharp\address_book_test_autoit\FreeAddressBookPortable\AddressBook.exe");

            MainWindow = app.GetWindow(WINTITLE);

            groupHelper = new GroupHelper(this);
        }
コード例 #4
0
        public ApplicationManager()
        {
            //Запускаем приложение
            Application app = Application.Launch(@"C:\Program Files (x86)\GAS Softwares\Free Address Book\AddressBook.exe");

            MainWindow = app.GetWindow(WINTITLE); //Делаем видимым окно "Free Address Book"
            //Ожидания выполняются автоматически

            groupHelper = new GroupHelper(this);
        }