Exemple #1
0
        public Bookmark(WebBrowser webBrowser)
        {
            this.InitializeComponent();

            wb = webBrowser;
            xmlPath = Directory.GetParent(Environment.CurrentDirectory).Parent.FullName+"\\bookmark.xml";

            xmlDoc = new XmlDocument();
            xmlDoc.Load(xmlPath);

            XmlNodeList bookmarkList = xmlDoc.GetElementsByTagName("Bookmark");

            foreach (XmlNode node in bookmarkList)
            {
                XmlElement bookmarkElement = (XmlElement) node;

                string title = bookmarkElement.GetElementsByTagName("Title")[0].InnerText;
                string url = bookmarkElement.GetElementsByTagName("Url")[0].InnerText;

                ListViewItem item = new ListViewItem();
                item.Content = title;
                item.ToolTip = url;
                item.Selected += new RoutedEventHandler(Select_bookmark);
                listView1.Items.Add(item);
            }
        }
        /// <summary>
        /// Standard constructor for the tool window.
        /// </summary>
        public MarkdownPreviewToolWindow() : base(null)
        {
            this.Caption = MarkdownSharp.Language.Message("DocumentPreview");
            this.BitmapResourceID = 301;
            this.BitmapIndex = 1;

            //force WebBrowser into IE9 mode
            SetWebBrowserIE9DocMode();

            browser = new WebBrowser();
            browser.NavigateToString(MarkdownSharp.Language.Message("OpenUDNDocumentFileToSeePreview"));
            browser.LoadCompleted += (sender, args) =>
            {
                if (scrollBackTo.HasValue)
                {
                    var document = browser.Document as mshtml.IHTMLDocument2;

                    if (document != null)
                    {
                        var element = document.body as mshtml.IHTMLElement2;
                        if (element != null)
                        {
                            element.scrollTop = scrollBackTo.Value;
                        }
                    }
                }

                scrollBackTo = null;
                isLoading = false;
            };

            browser.Navigating += new NavigatingCancelEventHandler(webBrowser_Navigating);
        }
        private async void MyMapView_MapViewTapped(object sender, Esri.ArcGISRuntime.Controls.MapViewInputEventArgs e)
        {
            MyMapView.Overlays.Items.Clear();

            IEnumerable<KmlFeature> features = await (MyMapView.Map.Layers["kmlLayer"] as KmlLayer).HitTestAsync(MyMapView, e.Position);

            if (features.Count() > 0)
            {
                if (!string.IsNullOrWhiteSpace(features.FirstOrDefault().BalloonStyle.FormattedText))
                {
                    //Create WebBrowser to show the formatted text
                    var browser = new System.Windows.Controls.WebBrowser();
                    browser.NavigateToString(features.FirstOrDefault().BalloonStyle.FormattedText);

                    //Get the KmlPlacemark position
                    var featurePosition = (features.FirstOrDefault() as KmlPlacemark).Extent;
                    
                    //Create ContentControl
                    var cControl = new ContentControl() 
                    {
                        Content = browser,
                        MaxHeight = 500,
                        MaxWidth = 450
                    };

                    //Add the ContentControl to MapView.Overlays
                    MapView.SetViewOverlayAnchor(cControl, featurePosition.GetCenter());
                    MyMapView.Overlays.Items.Add(cControl);
                }
            }
          
        }
 public ImageList(WebBrowser PixivBrowser,String Tag,CookieContainer cookie)
 {
     InitializeComponent();
     this.PixivBrowser = PixivBrowser;
     this.Tag = Tag;
     this.cookie = cookie;
     for(int i=0;i<4;i++)
     {
         for(int j=0;j<5;j++)
         {
             SearchedItem[i, j] = new Image();
             /*var Img = new BitmapImage();
             Img.BeginInit();
             Img.UriSource = new Uri(("C:/Users/CATDOG/Pictures/5.jpg"), UriKind.RelativeOrAbsolute);
             Img.CacheOption = BitmapCacheOption.OnLoad;
             Img.EndInit();*/
             //SearchedItem[i, j].Source = Img;
             SearchedItem[i, j].Width = 150;
             SearchedItem[i, j].Height = 150;
             ImageGrid.Children.Add(SearchedItem[i, j]);
             Grid.SetRow(SearchedItem[i, j], i);
             Grid.SetColumn(SearchedItem[i, j], j);
         }
     }
     Get_SearchList(1);
     for(int i=0;i<4;i++)
     {
         for(int j=0;j<5;j++)
         {
             /*ImageGrid.Children.Add(SearchedItem[i, j]);
             Grid.SetRow(SearchedItem[i, j], i);
             Grid.SetColumn(SearchedItem[i, j], j);*/
         }
     }
 }
        /// <summary>
        /// Create Video Player.
        /// </summary>
        /// <param name="video"></param>
        private void SetVideo(string video)
        {
            var profile = Windows.Networking.Connectivity.NetworkInformation.GetInternetConnectionProfile();
            if (profile != null)
            {
                var interfaceType = profile.NetworkAdapter.IanaInterfaceType;

                if (interfaceType == 71)
                {
                    //Wifi
                    _youTubeButton = new YouTubeButton {YouTubeID = _videoId};
                    _youTubeButton.Click += youTubeButton_Click;

                    LayoutRoot.Children.Clear();
                    LayoutRoot.Children.Add(_youTubeButton);
                }
                else
                {
                    //Other
                    var web = new WebBrowser()
                        {
                            Height = 600,
                            IsScriptEnabled = true
                        };

                    web.NavigateToString(string.Format("<!doctype html>" +
                                                       "<html><head><title></title></head><body style=background-color:black;>" +
                                                       "<iframe height=\"600\" src=\"http://www.youtube.com/embed/{0}\" width=\"1000\"></iframe>" +
                                                       "</body></html>", video));

                    LayoutRoot.Children.Clear();
                    LayoutRoot.Children.Add(web);
                }
            }
        }
        public async Task<bool> handle(WebBrowser browser, Uri uri)
        {
            Credentials creds;
            try
            {
                creds = await requestCredentials(uri);
            }
            catch (TaskCanceledException)
            {
                return false;
            }

            string authScript = "(function() {var xhr = new XMLHttpRequest();xhr.open('HEAD', '{0}', false, '{1}', '{2}');xhr.send();})()";

            authScript = authScript.Replace("{0}", uri.ToString());
            authScript = authScript.Replace("{1}", creds.username.Replace("\\", "\\\\"));
            authScript = authScript.Replace("{2}", creds.password);

            Debug.WriteLine("Injecting script: {0}", authScript);

            try
            {
                browser.InvokeScript("eval", new string[] { authScript });
                return true;
            }
            catch (Exception)
            {
                return false;
            }
        }
 public ThreadPageManager(WebBrowser browser, ThreadPageContextMenuProvider threadMenu,
     SolidColorBrush foreground, SolidColorBrush background)
     : this(browser, threadMenu)
 {
     this._fg = foreground;
     this._bg = background;
 }
Exemple #8
0
 public Page(string path, TextEditor viewer, WebBrowser webviewer) {
     Viewer = viewer;
     WebViewer = webviewer;
     Root = path;
     if (File.Exists(Root + @"\__page.cfg")) {
         try
         {
             Config = JObject.Parse(File.ReadAllText(Root + @"\__page.cfg", Encoding.UTF8));
             Title = (string) Config["title"] ?? path.Split('\\').Last();
         }catch(Exception)
         {
             Config = new JObject();
             Title = path.Split('\\').Last();
         }
     }
     else
     {
         Config = new JObject();
         Title = path.Split('\\').Last();
     }
     Childs = new List<Page>();
     Item = new TreeViewItem { Header = Title };
     Item.Selected += Click;
     foreach (var dir in Directory.EnumerateDirectories(Root)) {
         var p = new Page(dir, viewer, webviewer);
         Childs.Add(p);
         Item.Items.Add(p.Item);
     }
 }
        /// <summary>
        /// Page_Loaded event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            
            WebBrowser webBrowser = new WebBrowser();
           

            RowDefinition rdWebBrowser=new RowDefinition();
            RowDefinition rdProgressBar = new RowDefinition();

            rdProgressBar.Height = new GridLength(0.3, GridUnitType.Star);
            rdWebBrowser.Height = new GridLength(13, GridUnitType.Star);
            pgBar.Height = 10;
            pgBar.IsIndeterminate = true;
            pgBar.Visibility = Visibility.Visible;
            webBrowser.Navigate(new Uri(RxConstants.myLocalPharmacySupport, UriKind.Absolute));

            webBrowser.Navigated += new EventHandler<NavigationEventArgs>(NavigateHandler);
            webBrowser.Visibility = Visibility.Visible;
            webBrowser.Margin.Top.Equals(-12);
            webBrowser.IsScriptEnabled = true;
            
            ContentPanel.RowDefinitions.Insert(0, rdProgressBar);
            ContentPanel.RowDefinitions.Insert(1, rdWebBrowser);

            Grid.SetRow(pgBar, 0);
            Grid.SetRow(webBrowser, 1);

            ContentPanel.Children.Add(pgBar);
            ContentPanel.Children.Add(webBrowser);
           
        }
        public TridentBrowser()
        {
            Child = r_Browser = new WebBrowser();
            r_Browser.Navigated += (s, e) => SuppressScriptError();

            r_Browser.LoadCompleted += (s, e) => ExtractFlash();
        }
        public static void GetUrlContentImageList(object state)
        {
            //HttpWebRequest
            //httpclient
            //WebClient
            var url = "http://image.baidu.com/";
            var client = new HttpClient();
            var uri = new Uri(url);
            var task = client.GetStringAsync(uri);
            var result = task.Result;

            var s = new WebBrowser();
            s.Source = uri;

            //var webclient = new WebClient();
            //webclient.DownloadFile()

            //var request = HttpWebRequest.Create("");
            //request.BeginGetResponse()

            //var xmlDoc = XDocument.Parse(result);
            //var elemetns = xmlDoc.Elements();
            //var stringList = new List<string>();
            //foreach (var element in elemetns) {
            //	var list = GetImageElement(element);
            //	stringList.AddRange(list);
            //}
        }
Exemple #12
0
 public LoginPage()
 {
     InitializeComponent();
     //Initialize _webBrowser
     _webBrowser = new WebBrowser();
     this.Loaded += new RoutedEventHandler(MainPage_Loaded);
 }
Exemple #13
0
 /// <summary>
 /// 创建Html视图
 /// </summary>
 /// <param name="url">绝对URL</param>
 /// <returns></returns>
 public static UIElement CreateHtmlView(string url)
 {
     UIElement view = null;
     //var errorPage = HostAddress.Host() + "NavigateError.htm";
     if (Application.Current.IsRunningOutOfBrowser)
     {
         view = new WebBrowser() { HorizontalAlignment = HorizontalAlignment.Stretch, VerticalAlignment = VerticalAlignment.Stretch };
         try
         {
             /*下面这样写的原因是因为WebBrowser中URI不支持中文参数 ,所以先将URL编码*/
             var taskUrl = new Uri(url, UriKind.Absolute);
             (view as WebBrowser).Navigate(new Uri(taskUrl.AbsoluteUri, UriKind.Absolute));
         }
         catch
         {
             view = new TextBlock { Text = "对不起,系统无法找到您需要导航的页面", Foreground = new SolidColorBrush() { Color = Colors.Red } };
         }
     }
     else
     {
         view = new XamHtmlViewer() { HorizontalAlignment = HorizontalAlignment.Stretch, VerticalAlignment = VerticalAlignment.Stretch };
         try
         {
             (view as XamHtmlViewer).SourceUri = new Uri(url, UriKind.Absolute);
         }
         catch
         {
             view = new TextBlock { Text = "对不起,系统无法找到您需要导航的页面", Foreground = new SolidColorBrush() { Color = Colors.Black }, FontSize = 13 };
         }
     }
     return view;
 }
 private void Close()
 {
     if (null != _webBrowser)
     {
         Deployment.Current.Dispatcher.BeginInvoke(() =>
         {
             var frame = Application.Current.RootVisual as PhoneApplicationFrame;
             if (frame != null)
             {
                 var page = frame.Content as PhoneApplicationPage;
                 if (page != null)
                 {
                     var grid = page.FindName("LayoutRoot") as Grid;
                     if (grid != null)
                     {
                         grid.Children.Remove(_webBrowser);
                     }
                     //page.ApplicationBar = null;
                     page.BackKeyPress -= backkey_Pressed;
                 }
             }
             _webBrowser = null;
         });
     }
 }
        /// <summary>
        /// Standard constructor for the tool window.
        /// </summary>
        public MarkdownPreviewToolWindow()
            : base(null)
        {
            this.Caption = "Markdown Preview";
            this.BitmapResourceID = 301;
            this.BitmapIndex = 1;

            browser = new WebBrowser();
            browser.NavigateToString(EmptyWindowHtml);
            browser.LoadCompleted += (sender, args) =>
            {
                if (scrollBackTo.HasValue)
                {
                    var document = browser.Document as mshtml.IHTMLDocument2;

                    if (document != null)
                    {
                        var element = document.body as mshtml.IHTMLElement2;
                        if (element != null)
                        {
                            element.scrollTop = scrollBackTo.Value;
                        }
                    }
                }

                scrollBackTo = null;
            };
        }
Exemple #16
0
 public LogInWindow(WebBrowser wBroser)
 {
     Width = 500;
     Height = 400;
     Title = "LogIn to Last.fm";
     AddChild(wBroser);
 }
        public WebBrowserEx()
        {
            _webBrowser = new WebBrowser();
            AddVisualChild(_webBrowser);

            // Create a binding between the
            // HwndHostExtensions.CopyBitsBehaviorProperty on the child
            // WebBrowser and the CopyBitsBehaviorProperty on this object.
            Binding bindingCopyBitsBehavior = new Binding("CopyBitsBehavior");
            bindingCopyBitsBehavior.Source = this;
            bindingCopyBitsBehavior.Mode = BindingMode.TwoWay;
            _webBrowser.SetBinding(HwndHostExtensions.CopyBitsBehaviorProperty, bindingCopyBitsBehavior);

            // Create a binding between the
            // WebBrowserExtensions.SuppressScriptErrorsProperty on the child
            // WebBrowser and the SuppressScriptErrorsProperty on this object.
            Binding bindingSuppressScriptErrors = new Binding("SuppressScriptErrors");
            bindingSuppressScriptErrors.Source = this;
            bindingSuppressScriptErrors.Mode = BindingMode.TwoWay;
            _webBrowser.SetBinding(WebBrowserExtensions.SuppressScriptErrorsProperty, bindingSuppressScriptErrors);

            // Create a binding between the
            // WebBrowserExtensions.SuppressEraseBackgroundProperty on the child
            // WebBrowser and the SuppressEraseBackgroundProperty on this object.
            Binding bindingSuppressEraseBackground = new Binding("SuppressEraseBackground");
            bindingSuppressEraseBackground.Source = this;
            bindingSuppressEraseBackground.Mode = BindingMode.TwoWay;
            _webBrowser.SetBinding(WebBrowserExtensions.SuppressEraseBackgroundProperty, bindingSuppressEraseBackground);
        }
Exemple #18
0
        public void Start(WebBrowser browser, string userName, string password, int timeout)
        {
            this.Browser = browser;

            this.Browser.LoadCompleted -= Browser_LoadCompleted;
            this.Browser.LoadCompleted += Browser_LoadCompleted;

            this.UserName = userName;
            this.Password = password;

            this.ProgressMaxChanged(this, 0);
            this.ProgressValueChanged(this, 0);

            if (timeout > 0)
            {
                this.TimeoutEnabled = true;
                this.TimeoutTimer.Interval = timeout;
            }
            else
            {
                this.TimeoutEnabled = false;
            }

            this.Start();
        }
 void OnUrlChangedImp(DependencyPropertyChangedEventArgs e)
 {
     if (e.NewValue == null && _wb == null)
         return;
     Uri result;
     Uri.TryCreate((string)e.NewValue, UriKind.Absolute, out result);
     if (result == null && _wb == null)
         return;
     if(result == null)
     {
         IsUnempty = false;
         _wb.NavigateToString(empty_content);
         _wb.Height = 0.0;
         return;
     }
     if(_wb == null)
     {
         _wb = new WebBrowser(){Height= 330};
         _wb.Navigating += OnNavigating;
         LayoutRoot.Children.Clear();
         LayoutRoot.Children.Add(_wb);
     }
     else
     {
         _wb.Height = 330.0;
     }
     IsUnempty = true;
     _wb.Navigate(result.AbsoluteUri);
 }
        public Accelerometro()
        {
            InitializeComponent();

            accelerometer = new Accelerometer();
            accelerometer.TimeBetweenUpdates = TimeSpan.FromMilliseconds(100);
            accelerometer.Start();

            myFile = IsolatedStorageFile.GetUserStoreForApplication();

            if (!myFile.FileExists("Impo.txt"))
            {
                IsolatedStorageFileStream dataFile = myFile.CreateFile("Impo.txt");
                dataFile.Close();
            }

            Wb = new WebBrowser();
            Connesso = false;
            Carica();

            System.Windows.Threading.DispatcherTimer dt = new System.Windows.Threading.DispatcherTimer();
            dt.Interval = new TimeSpan(0, 0, 0, 0, 250); // 500 Milliseconds
            dt.Tick += new EventHandler(dt_Tick);
            dt.Start();
        }
        protected override void CreateControls(IWpfTextViewHost host, string source)
        {
            int width = WESettings.GetInt(SettingsKey);
            width = width == -1 ? 400 : width;

            _browser = new WebBrowser();
            _browser.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;

            Grid grid = new Grid();
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(0, GridUnitType.Star) });
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(5, GridUnitType.Pixel) });
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(width) });
            grid.RowDefinitions.Add(new RowDefinition());

            grid.Children.Add(_browser);
            this.Children.Add(grid);

            Grid.SetColumn(_browser, 2);
            Grid.SetRow(_browser, 0);

            GridSplitter splitter = new GridSplitter();
            splitter.Width = 5;
            splitter.ResizeDirection = GridResizeDirection.Columns;
            splitter.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;
            splitter.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            splitter.DragCompleted += splitter_DragCompleted;

            grid.Children.Add(splitter);
            Grid.SetColumn(splitter, 1);
            Grid.SetRow(splitter, 0);
        }
Exemple #22
0
 public Result()
 {
     InitializeComponent();
     // 불러오는 코드
     list= (System.Windows.Controls.ListView)this.FindName("listBox");
     wb = (System.Windows.Controls.WebBrowser)this.FindName("browser");
 }
Exemple #23
0
        public static void DrawToBitmap(WebBrowser control, Bitmap bitmap, 
                                    System.Windows.Rect targetBounds)
        {
            var width = targetBounds.Width;
            var height = targetBounds.Height;

            var hdcControl = GetWindowDC(control.Handle);

            if (hdcControl == IntPtr.Zero)
            {
               	 	throw new InvalidOperationException(
                "Could not get a device context for the control.");
            }

            try
            {
                using (var graphics = Graphics.FromImage(bitmap))
                {
                    var hdc = graphics.GetHdc();
                    try
                    {
                        BitBlt(hdc, (int)targetBounds.Left, (int)targetBounds.Top,
                           (int)width, (int)height, hdcControl, 0, 0, SRCCOPY);
                    }
                    finally
                    {
                        graphics.ReleaseHdc(hdc);
                    }
                }
            }
            finally
            {
                ReleaseDC(control.Handle, hdcControl);
            }
        }
Exemple #24
0
        public RunTabItem (string header)
        {
            FrameName = "";
            this.Header = header; 
            WebBrowser = new WebBrowser();
            WebBrowser.ObjectForScripting = new ScriptHelper(WebBrowser); 
            this.Content = WebBrowser ;
            this.Style = Application.Current.MainWindow.FindResource("MainTabItemStyle") as Style;
            WebBrowser.Navigate("about:blank");
            
            
            var SID_SWebBrowserApp = new Guid("0002DF05-0000-0000-C000-000000000046");
            var serviceProvider = (IServiceProvider)WebBrowser.Document;

            var serviceGuid = SID_SWebBrowserApp;

            var iid = typeof(SHDocVw.IWebBrowser2).GUID;
            ////Here we will get a reference to the IWebBrowser2 interface
              ExBrowser = (SHDocVw.IWebBrowser2)serviceProvider.QueryService(ref serviceGuid, ref iid);
            ////To hook events we just need to do these casts
                Events2 = (SHDocVw.DWebBrowserEvents_Event)ExBrowser;
              Events = (SHDocVw.DWebBrowserEvents2_Event)ExBrowser;
              System.Runtime.InteropServices.Marshal.ReleaseComObject((object)serviceProvider);
            


        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\DlgAuthentication.xaml"
     ((LinkedIn.NET.AuthorizeWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.browser = ((System.Windows.Controls.WebBrowser)(target));
     
     #line 7 "..\..\DlgAuthentication.xaml"
     this.browser.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.browser_Navigating);
     
     #line default
     #line hidden
     
     #line 7 "..\..\DlgAuthentication.xaml"
     this.browser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.browser_Navigated);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemple #26
0
 public static void  autorize(WebBrowser _webBrowser)
 {
     string clientID = "4273691";
     string url = string.Format("http://oauth.vk.com/authorize?client_id={0}&scope=friends,audio&redirect_uri=https://oauth.vk.com/blank.html&display=popup&response_type=token", clientID);
     _webBrowser.Navigated += _webBrowser_Navigated;
     _webBrowser.Navigate(url);
 }
Exemple #27
0
        private Task<LiveConnectSession> LoginAsync()
        {
            TaskCompletionSource<LiveConnectSession> taskCompletion = new TaskCompletionSource<LiveConnectSession>();

            var url = _client.GetLoginUrl(new[] { "wl.basic", "wl.signin", "onedrive.readonly", "wl.skydrive", "wl.photos" });

            WebBrowser browser = new WebBrowser();
            var window = new Window();
            window.Content = browser;

            NavigatingCancelEventHandler handler = null;
            handler = async (o, args) =>
            {
                if (args.Uri.AbsolutePath.Equals("/oauth20_desktop.srf"))
                {
                    browser.Navigating -= handler;
                    window.Close();

                    var session = await GetConnectSession(args.Uri.Query);
                    taskCompletion.SetResult(session);
                }
            };
            browser.Navigating += handler;
            browser.Navigate(url);
            window.Show();
            return taskCompletion.Task;
        }
        public BrowserMouseHelper(WebBrowser browser)
        {
            _browser = browser;
            if (true)//browser.Source != null)
            {
                var border0 = VisualTreeHelper.GetChild(_browser, 0);
                var border1 = VisualTreeHelper.GetChild(border0, 0);
                var panZoom = VisualTreeHelper.GetChild(border1, 0);
                var grid = VisualTreeHelper.GetChild(panZoom, 0);
                border = VisualTreeHelper.GetChild(grid, 0) as Border;

                if (border != null)
                {
                    border.ManipulationStarted += Border_ManipulationStarted;
                    border.ManipulationDelta += Border_ManipulationDelta;
                    border.ManipulationCompleted += Border_ManipulationCompleted;
                    border.DoubleTap += Border_DoubleTap;
                    border.Hold += Border_Hold;
                    border.MouseLeftButtonDown += Border_MouseLeftButtonDown;
                }

                try
                {
                    _browser.InvokeScript("execScript", MinifiedMouseScript);
                }
                catch (Exception)
                {
                    Debug.WriteLine("BrowserHelper Failed to install mouse script in WebBrowser");
                }
            }
            browser.Loaded += new RoutedEventHandler(browser_Loaded);
        }
Exemple #29
0
 public override void Run (WebBrowser webBrowser, Action callBack = null)
 {
     var Script = string.Format("$('{0}').click();", mJquerySelectObject);
     webBrowser.InvokeScript("execScript", new Object[] { Script, "JavaScript" });
     if (callBack != null)
         callBack();
 }
Exemple #30
0
 public void close(string options = "")
 {
     if (browser != null)
     {
         Deployment.Current.Dispatcher.BeginInvoke(() =>
         {
             PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
             if (frame != null)
             {
                 PhoneApplicationPage page = frame.Content as PhoneApplicationPage;
                 if (page != null)
                 {
                     Grid grid = page.FindName("LayoutRoot") as Grid;
                     if (grid != null)
                     {
                         grid.Children.Remove(browser);
                     }
                     page.ApplicationBar = null;
                 }
             }
             browser = null;
             string message = "{\"type\":\"exit\"}";
             PluginResult result = new PluginResult(PluginResult.Status.OK, message);
             result.KeepCallback = false;
             this.DispatchCommandResult(result);
         });
     }
 }
Exemple #31
0
    public static void SetSilent(WebBrowser browser, bool silent)
    {
        Native.IOleServiceProvider sp = browser.Document as Native.IOleServiceProvider;
        if (sp != null)
        {
            Guid IID_IWebBrowserApp = new Guid("0002DF05-0000-0000-C000-000000000046");
            Guid IID_IWebBrowser2   = new Guid("D30C1661-CDAF-11d0-8A3E-00C04FC9E26E");

            object webBrowser;
            sp.QueryService(ref IID_IWebBrowserApp, ref IID_IWebBrowser2, out webBrowser);
            if (webBrowser != null)
            {
                webBrowser.GetType().InvokeMember("Silent", BindingFlags.Instance | BindingFlags.Public | BindingFlags.PutDispProperty, null, webBrowser, new object[] { silent });
            }
        }
    }
Exemple #32
0
    public WebBrowserHostUIHandler(WebBrowser browser)
    {
        if (browser == null)
        {
            throw new ArgumentNullException("browser");
        }

        Browser = browser;
        browser.LoadCompleted += OnLoadCompleted;
        browser.Navigated     += OnNavigated;

        IsWebBrowserContextMenuEnabled = false;
        ScriptErrorsSuppressed         = true;

        Flags |= HostUIFlags.ENABLE_REDIRECT_NOTIFICATION | HostUIFlags.DPI_AWARE | HostUIFlags.FLAT_SCROLLBAR | HostUIFlags.DISABLE_SCRIPT_INACTIVE;
    }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\MainWindow.xaml"
                ((GesturesViewer.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\MainWindow.xaml"
                ((GesturesViewer.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.Internet_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 3:
                this.Firefox_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 4:
                this.Globe_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 5:
                this.Document_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 6:
                this.Music_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 7:
                this.Picture_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 8:
                this.Movie_icon = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 9:
                this.gdVideo = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.imgPreViewVideo = ((System.Windows.Controls.Image)(target));
                return;

            case 11:

            #line 138 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseUp);

            #line default
            #line hidden
                return;

            case 12:
                this.scrollVideoList = ((System.Windows.Controls.ScrollViewer)(target));

            #line 143 "..\..\..\MainWindow.xaml"
                this.scrollVideoList.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.scrollPictureList_MouseWheel);

            #line default
            #line hidden
                return;

            case 13:
                this.stkVideoPanel = ((System.Windows.Controls.StackPanel)(target));

            #line 144 "..\..\..\MainWindow.xaml"
                this.stkVideoPanel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.stkPicturePanel_MouseWheel);

            #line default
            #line hidden
                return;

            case 14:
                this.gdDoc = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.imgPreViewDoc = ((System.Windows.Controls.Image)(target));
                return;

            case 16:

            #line 171 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseUp);

            #line default
            #line hidden
                return;

            case 17:
                this.scrollDocList = ((System.Windows.Controls.ScrollViewer)(target));

            #line 176 "..\..\..\MainWindow.xaml"
                this.scrollDocList.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.scrollPictureList_MouseWheel);

            #line default
            #line hidden
                return;

            case 18:
                this.stkDocPanel = ((System.Windows.Controls.StackPanel)(target));

            #line 177 "..\..\..\MainWindow.xaml"
                this.stkDocPanel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.stkPicturePanel_MouseWheel);

            #line default
            #line hidden
                return;

            case 19:
                this.gdPicture = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.imgPreViewPicture = ((System.Windows.Controls.Image)(target));
                return;

            case 21:

            #line 202 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseUp);

            #line default
            #line hidden
                return;

            case 22:
                this.scrollPictureList = ((System.Windows.Controls.ScrollViewer)(target));

            #line 207 "..\..\..\MainWindow.xaml"
                this.scrollPictureList.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.scrollPictureList_MouseWheel);

            #line default
            #line hidden
                return;

            case 23:
                this.stkPicturePanel = ((System.Windows.Controls.StackPanel)(target));

            #line 208 "..\..\..\MainWindow.xaml"
                this.stkPicturePanel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.stkPicturePanel_MouseWheel);

            #line default
            #line hidden
                return;

            case 24:
                this.Browser_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.browser = ((System.Windows.Controls.WebBrowser)(target));

            #line 219 "..\..\..\MainWindow.xaml"
                this.browser.Loaded += new System.Windows.RoutedEventHandler(this.browser_Loaded);

            #line default
            #line hidden
                return;

            case 26:
                this.kinectDisplay = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.kinectCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 28:
                this.gesturesCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 29:
                this.audioControl = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.recordOption = ((System.Windows.Controls.Button)(target));

            #line 239 "..\..\..\MainWindow.xaml"
                this.recordOption.Click += new System.Windows.RoutedEventHandler(this.recordOption_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.replayButton = ((System.Windows.Controls.Button)(target));

            #line 241 "..\..\..\MainWindow.xaml"
                this.replayButton.Click += new System.Windows.RoutedEventHandler(this.replayButton_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.recordGesture = ((System.Windows.Controls.Button)(target));

            #line 242 "..\..\..\MainWindow.xaml"
                this.recordGesture.Click += new System.Windows.RoutedEventHandler(this.recordGesture_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.recordT = ((System.Windows.Controls.Button)(target));

            #line 243 "..\..\..\MainWindow.xaml"
                this.recordT.Click += new System.Windows.RoutedEventHandler(this.recordT_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.controlMouse = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 35:
                this.detectedGestures = ((System.Windows.Controls.ListBox)(target));
                return;

            case 36:
                this.audioBeamAngle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 37:
                this.stabilitiesList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 38:
                this.elevationSlider = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbCategory = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.cbTutorail = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.lvChapter = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.wbLocalBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 5:
                this.wbBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 6:
                this.cbGenarate = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.btnGenarate = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.btnGenarate.Click += new System.Windows.RoutedEventHandler(this.btnGenarate_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.cbDownloadType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.cbRedownload = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.btnRedownload = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.btnRedownload.Click += new System.Windows.RoutedEventHandler(this.btnRedownload_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnReload = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.btnReload.Click += new System.Windows.RoutedEventHandler(this.btnReload_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnEdit = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.txtSavePath = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\employeeboxedit.xaml"
                ((OvedLi.employeeboxedit)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.idlbl = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.fnamelbl = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lnamelbl = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.adresslbl = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.companylbl = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.dtataforjoinkbk = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.locationlbl = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.newwpasswordlbl = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.phonelbl = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.idnumbertb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.fnametb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.lnametb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.adresstb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.phonetb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.okbtn = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\employeeboxedit.xaml"
                this.okbtn.Click += new System.Windows.RoutedEventHandler(this.okbtn_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.cancelbtn = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\employeeboxedit.xaml"
                this.cancelbtn.Click += new System.Windows.RoutedEventHandler(this.cancelbtn_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.deletebtn = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\employeeboxedit.xaml"
                this.deletebtn.Click += new System.Windows.RoutedEventHandler(this.deletebtn_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 20:
                this.statsgroup = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.locationonmapweb = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 22:
                this.opencalltotal = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.closedcall = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.rankavg = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.money = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.plus = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\employeeboxedit.xaml"
                this.plus.Click += new System.Windows.RoutedEventHandler(this.plus_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.minus = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\employeeboxedit.xaml"
                this.minus.Click += new System.Windows.RoutedEventHandler(this.minus_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.exitMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 2:
                this.aboutMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.postTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.searchTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.goBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.updateBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.facebookCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.twitterCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.linkedInCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.googlePlusCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.googlecalendarCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.myNoteBookCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 14:
                this.notesTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.viewAllBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.dailyViewBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.weeklyViewBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.monthlyViewBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.saveToExcelBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.goToDateDP = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 21:
                this.goToDateBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 22:
                this.saveNotesBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.clearFieldsBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 24:
                this.notesTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.fbTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 26:
                this.loginToFBExpndr = ((System.Windows.Controls.Expander)(target));
                return;

            case 27:
                this.fbUserNameTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.fbPB = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 29:
                this.fbLoginBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.fbStayLoginCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 31:
                this.fbRefreshButton = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.twitterTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 33:
                this.logintotwitterExpndr = ((System.Windows.Controls.Expander)(target));
                return;

            case 34:
                this.twitterUserNameTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.twitterPB = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 36:
                this.twitterLoginBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 37:
                this.refreshTwitterBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 38:
                this.linkedInTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 39:
                this.googlePlusTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 40:
                this.foursquareTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.googleCalendarTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 42:

            #line 309 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.Image_ImageFailed);

            #line default
            #line hidden
                return;

            case 43:
                this.gcalenderBtn = ((System.Windows.Controls.Button)(target));

            #line 316 "..\..\..\MainWindow.xaml"
                this.gcalenderBtn.Click += new System.Windows.RoutedEventHandler(this.gcalenderBtn_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.gCalenderWb = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 45:
                this.liveChatTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 46:
                this.linkediBtn = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 47:
                this.phoneBookTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 48:
                this.googleMapTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 49:
                this.kolkataBtn = ((System.Windows.Controls.Button)(target));

            #line 426 "..\..\..\MainWindow.xaml"
                this.kolkataBtn.Click += new System.Windows.RoutedEventHandler(this.kolkataBtn_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.delhiBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 51:
                this.mumbaiBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 52:
                this.chennaiBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 53:
                this.mapWb = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\View\DataStore.xaml"
                ((OnlineTradingSystem.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\View\DataStore.xaml"
                ((OnlineTradingSystem.MainWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 7 "..\..\..\..\View\DataStore.xaml"
                ((OnlineTradingSystem.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.ItemAdd = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\..\View\DataStore.xaml"
                this.ItemAdd.Click += new System.Windows.RoutedEventHandler(this.AddItem_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.RemoveItem = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 35 "..\..\..\..\View\DataStore.xaml"
                this.RemoveItem.Checked += new System.Windows.RoutedEventHandler(this.RemoveItem_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.addcolum = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\..\View\DataStore.xaml"
                this.addcolum.Click += new System.Windows.RoutedEventHandler(this.addcolum_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Export_data = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\..\View\DataStore.xaml"
                this.Export_data.Click += new System.Windows.RoutedEventHandler(this.Export_data_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.BackMainWindow = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\..\View\DataStore.xaml"
                this.BackMainWindow.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.BackMainWindow_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 9:
                this.Import_data = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\..\View\DataStore.xaml"
                this.Import_data.Click += new System.Windows.RoutedEventHandler(this.Import_data_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Product_Sales = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\..\View\DataStore.xaml"
                this.Product_Sales.Click += new System.Windows.RoutedEventHandler(this.Product_Sales_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Costumer_List = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.canvas1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 13:
                this.NameofStore = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.Warp = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 16:

            #line 75 "..\..\..\..\View\DataStore.xaml"
                ((System.Windows.Controls.TabItem)(target)).Loaded += new System.Windows.RoutedEventHandler(this.TabItem_Loaded);

            #line default
            #line hidden
                return;

            case 17:
                this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 85 "..\..\..\..\View\DataStore.xaml"
                this.dataGrid1.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.dataGrid1_RowEditEnding);

            #line default
            #line hidden

            #line 85 "..\..\..\..\View\DataStore.xaml"
                this.dataGrid1.Sorting += new System.Windows.Controls.DataGridSortingEventHandler(this.dataGrid1_Sorting);

            #line default
            #line hidden
                return;

            case 18:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 19:
                this.MyWebrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 103 "..\..\..\..\View\DataStore.xaml"
                this.MyWebrowser.Loaded += new System.Windows.RoutedEventHandler(this.MyWebrowser_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BrowseBack_CanExecute);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BrowseBack_Executed);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BrowseForward_CanExecute);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BrowseForward_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GoToPage_CanExecute);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GoToPage_Executed);

            #line default
            #line hidden
                return;

            case 4:
                this.txtUrl = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.txtUrl.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtUrl_KeyUp);

            #line default
            #line hidden
                return;

            case 5:
                this.wbSample = ((System.Windows.Controls.WebBrowser)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.wbSample.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.wbSample_Navigating);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ChampionViewModel = ((Summoner_s_Companion.ViewModels.ChampionViewModel)(target));
                return;

            case 2:
                this.ChampionImageRectangle = ((System.Windows.Shapes.Rectangle)(target));

            #line 48 "..\..\..\Views\ChampionPage.xaml"
                this.ChampionImageRectangle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ChampionImageRectangle_OnMouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.AttackProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 4:
                this.MagicProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 5:
                this.DefenseProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 6:
                this.DifficultyProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.LoreButton = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\Views\ChampionPage.xaml"
                this.LoreButton.Click += new System.Windows.RoutedEventHandler(this.LoreButton_OnClick);

            #line default
            #line hidden
                return;

            case 8:
                this.BlorbButton = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\..\Views\ChampionPage.xaml"
                this.BlorbButton.Click += new System.Windows.RoutedEventHandler(this.BlorbButton_OnClick);

            #line default
            #line hidden
                return;

            case 9:
                this.WebBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 10:
                this.BrowserBackButton = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.BrowserForwardButton = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.Transitioner = ((MaterialDesignThemes.Wpf.Transitions.Transitioner)(target));
                return;

            case 13:
                this.BackButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BrowseBack_CanExecute);

            #line default
            #line hidden

            #line 11 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BrowseBack_Executed);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BrowseForward_CanExecute);

            #line default
            #line hidden

            #line 12 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BrowseForward_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 13 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GoToPage_CanExecute);

            #line default
            #line hidden

            #line 13 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GoToPage_Executed);

            #line default
            #line hidden
                return;

            case 4:
                this.txtUrl = ((System.Windows.Controls.TextBox)(target));

            #line 33 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                this.txtUrl.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtUrl_KeyUp);

            #line default
            #line hidden
                return;

            case 5:
                this.WBBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 36 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                this.WBBrowser.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.WBBrowser_Navigating);

            #line default
            #line hidden
                return;

            case 6:
                this.btnAddSong = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\..\GUI\Windows\BrowserTesting.xaml"
                this.btnAddSong.Click += new System.Windows.RoutedEventHandler(this.btnAddSong_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.browser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 2:
                this.txtFromName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtToName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.spTransport = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.suburban = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.train = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.bus = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.rbtnNow = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.rbtnAll = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\ScheduleGrid.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnClear = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\ScheduleGrid.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonSizes = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 2:
                this.btnUndo = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\MainWindow.xaml"
                this.btnUndo.Click += new System.Windows.RoutedEventHandler(this.btnUndo_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnRedo = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\..\MainWindow.xaml"
                this.btnRedo.Click += new System.Windows.RoutedEventHandler(this.btnRedo_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\..\MainWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnKissCartoon = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\MainWindow.xaml"
                this.btnKissCartoon.Click += new System.Windows.RoutedEventHandler(this.btnKissCartoon_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnKissAnime = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\MainWindow.xaml"
                this.btnKissAnime.Click += new System.Windows.RoutedEventHandler(this.btnKissAnime_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnYoutube = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\..\MainWindow.xaml"
                this.btnYoutube.Click += new System.Windows.RoutedEventHandler(this.btnYoutube_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnNetflix = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\..\MainWindow.xaml"
                this.btnNetflix.Click += new System.Windows.RoutedEventHandler(this.btnNetflix_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\MainWindow.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnCustom_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnSettings = ((System.Windows.Controls.Button)(target));

            #line 85 "..\..\..\MainWindow.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Video = ((System.Windows.Controls.WebBrowser)(target));

            #line 87 "..\..\..\MainWindow.xaml"
                this.Video.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.Video_Navigating);

            #line default
            #line hidden

            #line 87 "..\..\..\MainWindow.xaml"
                this.Video.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.Video_Navigated);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));

            #line 10 "..\..\FileWindow.xaml"
                this.tabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.InformationTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:
                this.Information = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Documentation = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.DocumentViewer = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 6:
                this.OpenTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.OpenOutput = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.SaveTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 9:
                this.SaveOutput = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.SaveAsTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.SaveAsOutput = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.Print = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.PrintGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gamePrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.keyPrice = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.keyPrice.LostFocus += new System.Windows.RoutedEventHandler(this.keyPrice_LostFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.keytoPeso = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.Percent = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.GridBarraTitulo = ((System.Windows.Controls.Grid)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.GridBarraTitulo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GridBarraTitulo_MouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.minimizeButton = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.minimizeButton.Click += new System.Windows.RoutedEventHandler(this.minimizeButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.ButtonFechar = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.ButtonFechar.Click += new System.Windows.RoutedEventHandler(this.ButtonFechar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 88 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.oPtT = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.priceToman = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.finalPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.statusLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.moneyConvertOnline = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\UserControltest1.xaml"
                ((TesteLocalbitcoinsApp.UserControltest1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TitleLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.TitleLabel2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.TitleLabel3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.columnPanelbuttons = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 6:
                this.LabelTitleChat = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:

            #line 85 "..\..\UserControltest1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.TextBlockChatmessages = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.WebBrowserchatmessages = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 10:
                this.PanelButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.panelReturnCostumer = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:

            #line 141 "..\..\UserControltest1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.PanelReturnBuyer = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.PanelIdentifyingUser = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.TextBlockidentifyintuser = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.TextBlockTradeInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.TextBlockreleasebitcoins = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.PanelFeedback = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.CheckBoxTrustworthy = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.CheckBoxPositive = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.CheckBoxNeutral = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.CheckBoxDistrust = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.CheckBoxBlock = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.TextBoxFeedback = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.ButtonUpdateFeedback = ((System.Windows.Controls.Button)(target));
                return;

            case 26:
                this.PanelSellingBitcoins = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 27:
                this.TextBlockSellerInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.TextBlockPaymentWindow = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.ButtonMarkasPaid = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.ButtonUpdateFeedbackPanel = ((System.Windows.Controls.Button)(target));

            #line 463 "..\..\UserControltest1.xaml"
                this.ButtonUpdateFeedbackPanel.Click += new System.Windows.RoutedEventHandler(this.ButtonUpdateFeedbackPanel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mdiChild = ((SidewalkPermitWPF.Views.PermitView)(target));
                return;

            case 2:
                this.pnlTopMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.affidavitGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 43 "..\..\..\Views\PermitView.xaml"
                this.affidavitGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.affidavitGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 5:
                this.btnTopMenuHide = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\Views\PermitView.xaml"
                this.btnTopMenuHide.Click += new System.Windows.RoutedEventHandler(this.btnTopMenuHide_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnTopMenuShow = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\..\Views\PermitView.xaml"
                this.btnTopMenuShow.Click += new System.Windows.RoutedEventHandler(this.btnTopMenuShow_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lblAffidavitCount = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.rdoContractor = ((System.Windows.Controls.RadioButton)(target));

            #line 92 "..\..\..\Views\PermitView.xaml"
                this.rdoContractor.Checked += new System.Windows.RoutedEventHandler(this.rdoContractor_Checked);

            #line default
            #line hidden
                return;

            case 9:
                this.rdoOwner = ((System.Windows.Controls.RadioButton)(target));

            #line 93 "..\..\..\Views\PermitView.xaml"
                this.rdoOwner.Checked += new System.Windows.RoutedEventHandler(this.rdoOwner_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.rdoOther = ((System.Windows.Controls.RadioButton)(target));

            #line 94 "..\..\..\Views\PermitView.xaml"
                this.rdoOther.Checked += new System.Windows.RoutedEventHandler(this.rdoOther_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.txtContractorSearch = ((System.Windows.Controls.TextBox)(target));

            #line 100 "..\..\..\Views\PermitView.xaml"
                this.txtContractorSearch.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtContractorSearch_KeyUp);

            #line default
            #line hidden

            #line 100 "..\..\..\Views\PermitView.xaml"
                this.txtContractorSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtContractorSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.suggestionList = ((System.Windows.Controls.ListBox)(target));

            #line 101 "..\..\..\Views\PermitView.xaml"
                this.suggestionList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.suggestionList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.txtCCBNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txtContractorName = ((System.Windows.Controls.TextBox)(target));

            #line 122 "..\..\..\Views\PermitView.xaml"
                this.txtContractorName.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.LettersAndNumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 15:
                this.txtContractorContact = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txtContractorAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtContractorCity = ((System.Windows.Controls.TextBox)(target));

            #line 135 "..\..\..\Views\PermitView.xaml"
                this.txtContractorCity.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.LetterValidationTextBox);

            #line default
            #line hidden
                return;

            case 18:
                this.txtContractorState = ((System.Windows.Controls.TextBox)(target));

            #line 137 "..\..\..\Views\PermitView.xaml"
                this.txtContractorState.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.LetterValidationTextBox);

            #line default
            #line hidden
                return;

            case 19:
                this.txtContractorZip = ((System.Windows.Controls.TextBox)(target));

            #line 139 "..\..\..\Views\PermitView.xaml"
                this.txtContractorZip.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 20:
                this.txtContractorPhone = ((System.Windows.Controls.TextBox)(target));

            #line 143 "..\..\..\Views\PermitView.xaml"
                this.txtContractorPhone.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtContractorPhone_TextChanged);

            #line default
            #line hidden

            #line 143 "..\..\..\Views\PermitView.xaml"
                this.txtContractorPhone.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.PhoneNumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 21:
                this.rdoAffidavit = ((System.Windows.Controls.RadioButton)(target));

            #line 165 "..\..\..\Views\PermitView.xaml"
                this.rdoAffidavit.Checked += new System.Windows.RoutedEventHandler(this.rdoAffidavit_Checked);

            #line default
            #line hidden
                return;

            case 22:
                this.rdoAddress = ((System.Windows.Controls.RadioButton)(target));

            #line 166 "..\..\..\Views\PermitView.xaml"
                this.rdoAddress.Checked += new System.Windows.RoutedEventHandler(this.rdoAddress_Checked);

            #line default
            #line hidden
                return;

            case 23:
                this.txtAffidavitSearch = ((System.Windows.Controls.TextBox)(target));

            #line 171 "..\..\..\Views\PermitView.xaml"
                this.txtAffidavitSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAffidavitSearch_TextChanged);

            #line default
            #line hidden

            #line 171 "..\..\..\Views\PermitView.xaml"
                this.txtAffidavitSearch.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtAffidavitSearch_KeyUp);

            #line default
            #line hidden
                return;

            case 24:
                this.affidavitSuggestionList = ((System.Windows.Controls.ListBox)(target));

            #line 172 "..\..\..\Views\PermitView.xaml"
                this.affidavitSuggestionList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.affidavitSuggestionList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.txtPropertySearch = ((System.Windows.Controls.TextBox)(target));

            #line 178 "..\..\..\Views\PermitView.xaml"
                this.txtPropertySearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPropertySearch_TextChanged);

            #line default
            #line hidden

            #line 178 "..\..\..\Views\PermitView.xaml"
                this.txtPropertySearch.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtPropertySearch_KeyUp);

            #line default
            #line hidden
                return;

            case 26:
                this.PropertySuggestionList = ((System.Windows.Controls.ListBox)(target));

            #line 179 "..\..\..\Views\PermitView.xaml"
                this.PropertySuggestionList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PropertySuggestionList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.txtInspector = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.txtInspectionDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.txtNoticeSent = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.txtPropertyOwner = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.txtPropertyDescription = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.affidavitFee = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 33:
                this.txtExpirationDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.txtMinFee = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.txtMaxFee = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.txtFee = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.browser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 38:
                this.chkLegal = ((System.Windows.Controls.CheckBox)(target));

            #line 253 "..\..\..\Views\PermitView.xaml"
                this.chkLegal.Checked += new System.Windows.RoutedEventHandler(this.chkLegal_Checked);

            #line default
            #line hidden

            #line 253 "..\..\..\Views\PermitView.xaml"
                this.chkLegal.Unchecked += new System.Windows.RoutedEventHandler(this.chkLegal_Unchecked);

            #line default
            #line hidden
                return;

            case 39:
                this.btnSubmit = ((System.Windows.Controls.Button)(target));

            #line 259 "..\..\..\Views\PermitView.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.XJTmainWindows = ((XingjitangSuite.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.XJTmainWindows.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.FileListBox = ((System.Windows.Controls.ListBox)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.FileListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZiLiaoJianSuoFileListBox_MouseDoubleClick);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                this.FileListBox.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.FileListBox_MouseRightButtonUp);

            #line default
            #line hidden
                return;

            case 3:
                this.ZiLiaoJianSuoLibSearchBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.ZiLiaoJianSuoExtractionButton = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.ZiLiaoJianSuoExtractionButton.Click += new System.Windows.RoutedEventHandler(this.ZiLiaoJianSuoExtractionButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ZiLiaoJianSuoResultLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.ZiLiaoJianSuoBreakButton = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.ZiLiaoJianSuoBreakButton.Click += new System.Windows.RoutedEventHandler(this.ZiLiaoJianSuoBreakButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.RangeBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.ResultTextBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 9:
                this.ZiLiaoJianSuoNoteBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 10:
                this.BaiduFanyi = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 11:
                this.ShuYuCiDianSearchBox = ((System.Windows.Controls.TextBox)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.ShuYuCiDianSearchBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.ShuYuCiDianSearchBox_KeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.ResultList = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 13:
                this.JingLuoXueWeiNote_Copy = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 14:
                this.ShuYuCiDianNewItem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.ShuYuCiDianNewDescription = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.ShuYuCiDianCleanButton = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.ShuYuCiDianCleanButton.Click += new System.Windows.RoutedEventHandler(this.ShuYuCiDianCleanButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.ShuYuCiDianAddNewButton = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.ShuYuCiDianAddNewButton.Click += new System.Windows.RoutedEventHandler(this.ShuYuCiDianAddNewButton_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.JingLuoXueWeiJingLuoList = ((System.Windows.Controls.ListBox)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiJingLuoList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.JingLuoXueWeiJingLuoList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 19:
                this.JingLuoXueWeiXueWeiList = ((System.Windows.Controls.ListBox)(target));

            #line 82 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiXueWeiList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.JingLuoXueWeiXueWeiList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 20:
                this.JingLuoXueWeiXueWeiDetail = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 21:
                this.JingLuoXueWeiPointSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.JingLuoXueWeiXueWeiSearch = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiXueWeiSearch.Click += new System.Windows.RoutedEventHandler(this.JingLuoXueWeiXueWeiSearch_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.JingLuoXueWeiPic1 = ((System.Windows.Controls.MediaElement)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic1.MediaEnded += new System.Windows.RoutedEventHandler(this.JingLuoXueWeiPic1_MediaEnded);

            #line default
            #line hidden

            #line 92 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic1_MouseEnter);

            #line default
            #line hidden

            #line 92 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic1_MouseLeave);

            #line default
            #line hidden
                return;

            case 24:
                this.JingLuoXueWeiPic2 = ((System.Windows.Controls.MediaElement)(target));

            #line 93 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic2.MediaEnded += new System.Windows.RoutedEventHandler(this.JingLuoXueWeiPic2_MediaEnded);

            #line default
            #line hidden

            #line 93 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic2_MouseEnter);

            #line default
            #line hidden

            #line 93 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic2_MouseLeave);

            #line default
            #line hidden
                return;

            case 25:
                this.JingLuoXueWeiPic3 = ((System.Windows.Controls.MediaElement)(target));

            #line 94 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic3.MediaEnded += new System.Windows.RoutedEventHandler(this.JingLuoXueWeiPic3_MediaEnded);

            #line default
            #line hidden

            #line 94 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic3.MouseEnter += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic3_MouseEnter);

            #line default
            #line hidden

            #line 94 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic3.MouseLeave += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic3_MouseLeave);

            #line default
            #line hidden
                return;

            case 26:
                this.JingLuoXueWeiPic4 = ((System.Windows.Controls.MediaElement)(target));

            #line 95 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic4.MediaEnded += new System.Windows.RoutedEventHandler(this.JingLuoXueWeiPic4_MediaEnded);

            #line default
            #line hidden

            #line 95 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic4.MouseEnter += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic4_MouseEnter);

            #line default
            #line hidden

            #line 95 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPic4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPic4_MouseLeave);

            #line default
            #line hidden
                return;

            case 27:
                this.JingLuoXueWeiPicBigShow = ((System.Windows.Controls.MediaElement)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPicBigShow.MediaEnded += new System.Windows.RoutedEventHandler(this.JingLuoXueWeiPicBigShow_MediaEnded);

            #line default
            #line hidden

            #line 96 "..\..\MainWindow.xaml"
                this.JingLuoXueWeiPicBigShow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.JingLuoXueWeiPicBigShow_MouseLeave);

            #line default
            #line hidden
                return;

            case 28:
                this.JingLuoXueWeiNote = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 29:
                this.ZhongCaoYaoSearchCaoYaoList = ((System.Windows.Controls.ListBox)(target));

            #line 111 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoSearchCaoYaoList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZhongCaoYaoSearchCaoYaoList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 30:
                this.ZhongCaoYaoCaoYaoList = ((System.Windows.Controls.ListBox)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoCaoYaoList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZhongCaoYaoCaoYaoList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 31:
                this.ZhongCaoYaoCaoYaoDetail = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 32:
                this.ZhongCaoYaoSearchBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.ZhongCaoYaoSearchButton = ((System.Windows.Controls.Button)(target));

            #line 121 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoSearchButton.Click += new System.Windows.RoutedEventHandler(this.ZhongCaoYaoSearchButton_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.ZhongCaoYaoPic1 = ((System.Windows.Controls.MediaElement)(target));

            #line 122 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic1.MediaEnded += new System.Windows.RoutedEventHandler(this.ZhongCaoYaoPic1_MediaEnded);

            #line default
            #line hidden

            #line 122 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic1_MouseEnter);

            #line default
            #line hidden

            #line 122 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic1_MouseLeave);

            #line default
            #line hidden
                return;

            case 35:
                this.ZhongCaoYaoPic2 = ((System.Windows.Controls.MediaElement)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic2.MediaEnded += new System.Windows.RoutedEventHandler(this.ZhongCaoYaoPic2_MediaEnded);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic2_MouseEnter);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic2_MouseLeave);

            #line default
            #line hidden
                return;

            case 36:
                this.ZhongCaoYaoPic3 = ((System.Windows.Controls.MediaElement)(target));

            #line 124 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic3.MediaEnded += new System.Windows.RoutedEventHandler(this.ZhongCaoYaoPic3_MediaEnded);

            #line default
            #line hidden

            #line 124 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic3.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic3_MouseEnter);

            #line default
            #line hidden

            #line 124 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic3.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic3_MouseLeave);

            #line default
            #line hidden
                return;

            case 37:
                this.ZhongCaoYaoPic4 = ((System.Windows.Controls.MediaElement)(target));

            #line 125 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic4.MediaEnded += new System.Windows.RoutedEventHandler(this.ZhongCaoYaoPic4_MediaEnded);

            #line default
            #line hidden

            #line 125 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic4.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic4_MouseEnter);

            #line default
            #line hidden

            #line 125 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPic4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPic4_MouseLeave);

            #line default
            #line hidden
                return;

            case 38:
                this.ZhongCaoYaoPicBigShow = ((System.Windows.Controls.MediaElement)(target));

            #line 126 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPicBigShow.MediaEnded += new System.Windows.RoutedEventHandler(this.ZhongCaoYaoPicBigShow_MediaEnded);

            #line default
            #line hidden

            #line 126 "..\..\MainWindow.xaml"
                this.ZhongCaoYaoPicBigShow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ZhongCaoYaoPicBigShow_MouseLeave);

            #line default
            #line hidden
                return;

            case 39:
                this.ZhongCaoYaoNote = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 40:
                this.FangJiPrescriptionTypeList = ((System.Windows.Controls.ListBox)(target));

            #line 148 "..\..\MainWindow.xaml"
                this.FangJiPrescriptionTypeList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.FangJiPrescriptionTypeList_MouseDoubleClick);

            #line default
            #line hidden

            #line 148 "..\..\MainWindow.xaml"
                this.FangJiPrescriptionTypeList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FangJiPrescriptionTypeList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.FangJiPrescriptionClassList = ((System.Windows.Controls.ListBox)(target));

            #line 149 "..\..\MainWindow.xaml"
                this.FangJiPrescriptionClassList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.FangJiPrescriptionClassList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 42:
                this.FangJiPrescriptionDetail = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 43:
                this.FangJiPrescriptionSearchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.FangJiPrescriptionSearchButton = ((System.Windows.Controls.Button)(target));

            #line 152 "..\..\MainWindow.xaml"
                this.FangJiPrescriptionSearchButton.Click += new System.Windows.RoutedEventHandler(this.FangJiPrescriptionSearchButton_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.FangJiPrescriptionNote = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 46:
                this.FangJiPrescriptionNameList = ((System.Windows.Controls.ListBox)(target));

            #line 160 "..\..\MainWindow.xaml"
                this.FangJiPrescriptionNameList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.FangJiPrescriptionNameList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 47:
                this.ZhongYaoChaTypeList = ((System.Windows.Controls.ListBox)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.ZhongYaoChaTypeList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZhongYaoChaTypeList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 48:
                this.ZhongYaoChaDetail = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 49:
                this.ZhongYaoChaSearchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.ZhongYaoChaSearchButton = ((System.Windows.Controls.Button)(target));

            #line 171 "..\..\MainWindow.xaml"
                this.ZhongYaoChaSearchButton.Click += new System.Windows.RoutedEventHandler(this.ZhongYaoChaSearchButton_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.ZhongYaoChaNote = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 52:
                this.ZhongYaoChaNameList = ((System.Windows.Controls.ListBox)(target));

            #line 179 "..\..\MainWindow.xaml"
                this.ZhongYaoChaNameList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ZhongYaoChaNameList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 53:
                this.newsteamcreator = ((System.Windows.Controls.Button)(target));

            #line 194 "..\..\MainWindow.xaml"
                this.newsteamcreator.Click += new System.Windows.RoutedEventHandler(this.Newstreamcreator_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.showboardA = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.showboardB = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((SanityArchiver.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.SearchTxt = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.SearchTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 18 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.LibraryView = ((System.Windows.Controls.TreeView)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.LibraryView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Item_DoubleClick);

            #line default
            #line hidden
                return;

            case 5:
                this.SearchBtn = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.SearchBtn.Click += new System.Windows.RoutedEventHandler(this.SearchBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.PathLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.FileBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 8:
                this.BackBtn = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.BackBtn.Click += new System.Windows.RoutedEventHandler(this.BackBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.ForwardBtn = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.ForwardBtn.Click += new System.Windows.RoutedEventHandler(this.ForwardBtn_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.HomeBtn = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.HomeBtn.Click += new System.Windows.RoutedEventHandler(this.HomeBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.navBarDoc = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 2:
                this.navBarItem1 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 17 "..\..\..\instruction.xaml"
                this.navBarItem1.Click += new System.EventHandler(this.navBarItem1_Click);

            #line default
            #line hidden

            #line 17 "..\..\..\instruction.xaml"
                this.navBarItem1.Select += new System.EventHandler(this.navBarItem1_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.navBarItem2 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 18 "..\..\..\instruction.xaml"
                this.navBarItem2.Click += new System.EventHandler(this.navBarItem2_Click);

            #line default
            #line hidden

            #line 18 "..\..\..\instruction.xaml"
                this.navBarItem2.Select += new System.EventHandler(this.navBarItem2_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.navBarItem3 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 19 "..\..\..\instruction.xaml"
                this.navBarItem3.Click += new System.EventHandler(this.navBarItem3_Click);

            #line default
            #line hidden

            #line 19 "..\..\..\instruction.xaml"
                this.navBarItem3.Select += new System.EventHandler(this.avBarItem3_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.navBarDi = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 6:
                this.navBarDer1 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 23 "..\..\..\instruction.xaml"
                this.navBarDer1.Click += new System.EventHandler(this.navBarDer1_Click);

            #line default
            #line hidden

            #line 23 "..\..\..\instruction.xaml"
                this.navBarDer1.Select += new System.EventHandler(this.navBarDer1_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.navBarDer2 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 24 "..\..\..\instruction.xaml"
                this.navBarDer2.Click += new System.EventHandler(this.navBarDer2_Click);

            #line default
            #line hidden

            #line 24 "..\..\..\instruction.xaml"
                this.navBarDer2.Select += new System.EventHandler(this.navBarDer2_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.navBarReport = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 9:
                this.navBarRep1 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 28 "..\..\..\instruction.xaml"
                this.navBarRep1.Click += new System.EventHandler(this.navBarRep1_Click);

            #line default
            #line hidden

            #line 28 "..\..\..\instruction.xaml"
                this.navBarRep1.Select += new System.EventHandler(this.navBarRep1_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.navBarRep2 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 29 "..\..\..\instruction.xaml"
                this.navBarRep2.Click += new System.EventHandler(this.navBarRep2_Click);

            #line default
            #line hidden

            #line 29 "..\..\..\instruction.xaml"
                this.navBarRep2.Select += new System.EventHandler(this.navBarRep2_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.navBarWp = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 12:
                this.navBarWp1 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 33 "..\..\..\instruction.xaml"
                this.navBarWp1.Click += new System.EventHandler(this.navBarWp1_Click);

            #line default
            #line hidden

            #line 33 "..\..\..\instruction.xaml"
                this.navBarWp1.Select += new System.EventHandler(this.navBarWp1_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.navBarWp2 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 34 "..\..\..\instruction.xaml"
                this.navBarWp2.Click += new System.EventHandler(this.navBarWp2_Click);

            #line default
            #line hidden

            #line 34 "..\..\..\instruction.xaml"
                this.navBarWp2.Select += new System.EventHandler(this.navBarWp2_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.navBarAdm = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 15:
                this.barAdm1 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 38 "..\..\..\instruction.xaml"
                this.barAdm1.Click += new System.EventHandler(this.barAdm1_Click);

            #line default
            #line hidden

            #line 38 "..\..\..\instruction.xaml"
                this.barAdm1.Select += new System.EventHandler(this.barAdm1_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.barAdm2 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 39 "..\..\..\instruction.xaml"
                this.barAdm2.Click += new System.EventHandler(this.barAdm2_Click);

            #line default
            #line hidden

            #line 39 "..\..\..\instruction.xaml"
                this.barAdm2.Select += new System.EventHandler(this.barAdm2_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.barAdm3 = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 40 "..\..\..\instruction.xaml"
                this.barAdm3.Click += new System.EventHandler(this.barAdm3_Click);

            #line default
            #line hidden

            #line 40 "..\..\..\instruction.xaml"
                this.barAdm3.Select += new System.EventHandler(this.barAdm3_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.wb_main = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((CodeBreakerGUI.MainWindow)(target));
                return;

            case 2:

            #line 120 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.New_Window);

            #line default
            #line hidden

            #line 120 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.New_WindowCanExecute);

            #line default
            #line hidden
                return;

            case 3:

            #line 121 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.New1);

            #line default
            #line hidden

            #line 121 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NewCanExecute);

            #line default
            #line hidden
                return;

            case 4:

            #line 132 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Encrypt_Text);

            #line default
            #line hidden
                return;

            case 5:

            #line 133 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Decrypt_Text);

            #line default
            #line hidden
                return;

            case 6:

            #line 135 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit);

            #line default
            #line hidden
                return;

            case 7:
                this.UndoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.RedoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.CutMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.CopyMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.PasteMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.DeleteMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.SearchMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.FindMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:

            #line 156 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.QuickConvert_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 166 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.About);

            #line default
            #line hidden
                return;

            case 17:
                this.textbox = ((System.Windows.Controls.RichTextBox)(target));

            #line 170 "..\..\MainWindow.xaml"
                this.textbox.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextChange);

            #line default
            #line hidden
                return;

            case 18:
                this.Input_Text = ((System.Windows.Documents.Run)(target));
                return;

            case 19:
                this.myWebBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnHome = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\Frames\frmYoutube.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.BtnHome_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnBack = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\Frames\frmYoutube.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.BtnBack_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnForward = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\Frames\frmYoutube.xaml"
                this.btnForward.Click += new System.Windows.RoutedEventHandler(this.BtnForward_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.txtUrl = ((System.Windows.Controls.TextBox)(target));

            #line 31 "..\..\..\Frames\frmYoutube.xaml"
                this.txtUrl.KeyDown += new System.Windows.Input.KeyEventHandler(this.TxtUrl_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.cbAudioVideo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.btnDownload = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\Frames\frmYoutube.xaml"
                this.btnDownload.Click += new System.Windows.RoutedEventHandler(this.BtnDownload_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\Frames\frmYoutube.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.BtnAdd_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.wbYoutube = ((System.Windows.Controls.WebBrowser)(target));

            #line 48 "..\..\..\Frames\frmYoutube.xaml"
                this.wbYoutube.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.WbYoutube_LoadCompleted);

            #line default
            #line hidden

            #line 48 "..\..\..\Frames\frmYoutube.xaml"
                this.wbYoutube.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.WbYoutube_Navigating);

            #line default
            #line hidden
                return;

            case 9:
                this.pbDownload = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.labelLoadBar = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\mainwindow.xaml"
                ((PhoenixLoader.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\mainwindow.xaml"
                ((PhoenixLoader.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.background = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.Phoenix = ((System.Windows.Controls.Image)(target));

            #line 10 "..\..\mainwindow.xaml"
                this.Phoenix.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Phoenix_MouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.textPath = ((System.Windows.Controls.TextBox)(target));

            #line 13 "..\..\mainwindow.xaml"
                this.textPath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textPath_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\mainwindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.imageKreuz = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.btnStart = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\mainwindow.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.listAddons = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.tabMain = ((System.Windows.Controls.TabControl)(target));

            #line 43 "..\..\mainwindow.xaml"
                this.tabMain.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabMain_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.tabItemAddons = ((System.Windows.Controls.TabItem)(target));

            #line 46 "..\..\mainwindow.xaml"
                this.tabItemAddons.Loaded += new System.Windows.RoutedEventHandler(this.tabItem1_Loaded);

            #line default
            #line hidden
                return;

            case 12:
                this.listAllPheonixAddons = ((System.Windows.Controls.ListBox)(target));
                return;

            case 13:
                this.btnDownloadSelectedAddonsNow = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\mainwindow.xaml"
                this.btnDownloadSelectedAddonsNow.Click += new System.Windows.RoutedEventHandler(this.btnDownloadSelectedAddonsNow_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.labelKbs = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));

            #line 54 "..\..\mainwindow.xaml"
                this.tabItem1.Loaded += new System.Windows.RoutedEventHandler(this.tabItem1_Loaded);

            #line default
            #line hidden
                return;

            case 17:
                this.newsWebBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 56 "..\..\mainwindow.xaml"
                this.newsWebBrowser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.newsWebBrowser_Navigated);

            #line default
            #line hidden
                return;

            case 18:
                this.tabSettings = ((System.Windows.Controls.TabItem)(target));
                return;

            case 19:
                this.checkNewMaxMbArbeitsspeicher = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.checkEmptyWorld = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.checkIgnoreIntro = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.checkStopOnDesktop = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.btnAcceptSettingChanges = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\mainwindow.xaml"
                this.btnAcceptSettingChanges.Click += new System.Windows.RoutedEventHandler(this.btnAcceptSettingChanges_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.textStartParas = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.textMaxMb = ((System.Windows.Controls.TextBox)(target));

            #line 119 "..\..\mainwindow.xaml"
                this.textMaxMb.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textMaxMb_PreviewTextInput);

            #line default
            #line hidden

            #line 119 "..\..\mainwindow.xaml"
                this.textMaxMb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textMaxMb_TextChanged);

            #line default
            #line hidden

            #line 119 "..\..\mainwindow.xaml"
                this.textMaxMb.LostFocus += new System.Windows.RoutedEventHandler(this.textMaxMb_LostFocus);

            #line default
            #line hidden
                return;

            case 27:
                this.checkGrafikMb = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.textGrafikMb = ((System.Windows.Controls.TextBox)(target));

            #line 121 "..\..\mainwindow.xaml"
                this.textGrafikMb.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textMaxMb_PreviewTextInput);

            #line default
            #line hidden

            #line 121 "..\..\mainwindow.xaml"
                this.textGrafikMb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textMaxMb_TextChanged);

            #line default
            #line hidden

            #line 121 "..\..\mainwindow.xaml"
                this.textGrafikMb.LostFocus += new System.Windows.RoutedEventHandler(this.textMaxMb_LostFocus);

            #line default
            #line hidden
                return;

            case 29:
                this.checkCPUCount = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.textCPUCount = ((System.Windows.Controls.TextBox)(target));

            #line 123 "..\..\mainwindow.xaml"
                this.textCPUCount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textMaxMb_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 31:
                this.checkShowScriptErrors = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.textDownloadPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.listProfiles = ((System.Windows.Controls.ListBox)(target));

            #line 131 "..\..\mainwindow.xaml"
                this.listProfiles.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listProfiles_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.btnActivateProfile = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\mainwindow.xaml"
                this.btnActivateProfile.Click += new System.Windows.RoutedEventHandler(this.btnActivateProfile_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.btnEditProfile = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\mainwindow.xaml"
                this.btnEditProfile.Click += new System.Windows.RoutedEventHandler(this.btnEditProfile_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.btnAddProfile = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\mainwindow.xaml"
                this.btnAddProfile.Click += new System.Windows.RoutedEventHandler(this.btnAddProfile_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.listAddonsInProfile = ((System.Windows.Controls.ListBox)(target));
                return;

            case 40:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.tabItemServer = ((System.Windows.Controls.TabItem)(target));

            #line 150 "..\..\mainwindow.xaml"
                this.tabItemServer.Loaded += new System.Windows.RoutedEventHandler(this.tabItem1_Loaded);

            #line default
            #line hidden
                return;

            case 42:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.listServer = ((System.Windows.Controls.ListBox)(target));
                return;

            case 44:
                this.btnAddServer = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\mainwindow.xaml"
                this.btnAddServer.Click += new System.Windows.RoutedEventHandler(this.btnAddServer_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.checkSelectAll = ((System.Windows.Controls.CheckBox)(target));

            #line 164 "..\..\mainwindow.xaml"
                this.checkSelectAll.Checked += new System.Windows.RoutedEventHandler(this.checkSelectAll_Checked);

            #line default
            #line hidden

            #line 164 "..\..\mainwindow.xaml"
                this.checkSelectAll.Unchecked += new System.Windows.RoutedEventHandler(this.checkSelectAll_Unchecked);

            #line default
            #line hidden
                return;

            case 47:
                this.comboServer = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 48:
                this.btnReloadMods = ((System.Windows.Controls.Button)(target));

            #line 171 "..\..\mainwindow.xaml"
                this.btnReloadMods.Click += new System.Windows.RoutedEventHandler(this.btnReloadMods_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 26 "..\..\..\MainWindow.xaml"
                ((TrafficMirror.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 27 "..\..\..\MainWindow.xaml"
                ((TrafficMirror.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.RequestURL = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.numCom = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.conBtn = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\..\MainWindow.xaml"
                this.conBtn.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.disBtn = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\..\MainWindow.xaml"
                this.disBtn.Click += new System.Windows.RoutedEventHandler(this.DisBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.SPStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.CbManualMode = ((System.Windows.Controls.CheckBox)(target));

            #line 62 "..\..\..\MainWindow.xaml"
                this.CbManualMode.Checked += new System.Windows.RoutedEventHandler(this.CbManualMode_Checked);

            #line default
            #line hidden

            #line 62 "..\..\..\MainWindow.xaml"
                this.CbManualMode.Unchecked += new System.Windows.RoutedEventHandler(this.CbManualMode_Unchecked);

            #line default
            #line hidden
                return;

            case 8:
                this.TbDirections = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.inp_FROM = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.inp_TO = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.btnGo = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\..\MainWindow.xaml"
                this.btnGo.Click += new System.Windows.RoutedEventHandler(this.RouteBtn_Clicked);

            #line default
            #line hidden
                return;

            case 12:
                this.KeyDown_Events = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.ImgKeyEvents = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.tbSpeed = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.CarSpeed = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:

            #line 125 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.RequestPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.ProcessingTimeTbx = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.RequestUrlTbx = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.BingMapsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 21:
                this.BingMapsURLTbx = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:

            #line 146 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.CongestionTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.SeverityRatings_panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 25:
                this.BingMapsTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 26:
                this.SPBingTab = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 27:
                this.BingMapsWebPage = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 28:
                this.ResponseTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 29:
                this.ResultTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 30:
                this.ResponseFullTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 31:
                this.ResultTreeViewFull = ((System.Windows.Controls.TreeView)(target));
                return;

            case 32:
                this.RequestProgressBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.RequestProgressBarText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Home_Screen = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.View_BackPack = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.View_BackPack.Click += new System.Windows.RoutedEventHandler(this.View_BackPack_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.View_Astroneer = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.View_Astroneer.Click += new System.Windows.RoutedEventHandler(this.View_Astroneer_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.View_Planets = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.View_Planets.Click += new System.Windows.RoutedEventHandler(this.View_Planets_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.New_Goal = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.NewsBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 7:
                this.SearchBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.SearchList = ((System.Windows.Controls.ListView)(target));
                return;

            case 9:
                this.GoalList = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.Planets_Screen = ((System.Windows.Controls.Canvas)(target));
                return;

            case 11:
                this.Return_Home = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.Return_Home.Click += new System.Windows.RoutedEventHandler(this.Return_To_Home_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Planet_Image = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.Astroneer_Screen = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:

            #line 71 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Return_To_Home_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Backpack_Screen = ((System.Windows.Controls.Canvas)(target));
                return;

            case 16:

            #line 88 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Return_To_Home_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Janela = ((LauncherWPFOTC.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.Janela.Initialized += new System.EventHandler(this.Window_Initialized);

            #line default
            #line hidden
                return;

            case 2:
                this.noticiasArea = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 3:
                this.btnJogar = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.btnJogar.Click += new System.Windows.RoutedEventHandler(this.btnJogar_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.barraProgresso = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 5:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.DX = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.OGL = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 9:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.btnMinimize = ((System.Windows.Controls.Button)(target));

            #line 137 "..\..\MainWindow.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BasicGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.LoginGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.cbxAccount = ((System.Windows.Controls.ComboBox)(target));

            #line 30 "..\..\..\UI\MainWindow.xaml"
                this.cbxAccount.GotFocus += new System.Windows.RoutedEventHandler(this.cbxAccount_GotFocus);

            #line default
            #line hidden

            #line 30 "..\..\..\UI\MainWindow.xaml"
                this.cbxAccount.LostFocus += new System.Windows.RoutedEventHandler(this.cbxAccount_LostFocus);

            #line default
            #line hidden
                return;

            case 4:
                this.pwx = ((System.Windows.Controls.PasswordBox)(target));

            #line 33 "..\..\..\UI\MainWindow.xaml"
                this.pwx.GotFocus += new System.Windows.RoutedEventHandler(this.pwx_GotFocus);

            #line default
            #line hidden

            #line 33 "..\..\..\UI\MainWindow.xaml"
                this.pwx.LostFocus += new System.Windows.RoutedEventHandler(this.pwx_LostFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.btnLogin = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\UI\MainWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.labServerStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.labMapStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.wbBaiduMap = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 10:
                this.labStationNum = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.labTest = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.btnTest = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\..\UI\MainWindow.xaml"
                this.btnTest.Click += new System.Windows.RoutedEventHandler(this.btnTest_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnConnectDatabase = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\UI\MainWindow.xaml"
                this.btnConnectDatabase.Click += new System.Windows.RoutedEventHandler(this.btnConnectDatabase_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.MenuDockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.HeaderGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.Home = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.Return = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.Next = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.ParentLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.Add = ((System.Windows.Controls.Button)(target));

            #line 95 "..\..\..\..\GUI\MainWindow.xaml"
                this.Add.Click += new System.Windows.RoutedEventHandler(this.addNewElement);

            #line default
            #line hidden
                return;

            case 9:

            #line 98 "..\..\..\..\GUI\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LocalLoad);

            #line default
            #line hidden
                return;

            case 10:

            #line 99 "..\..\..\..\GUI\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LocalSave);

            #line default
            #line hidden
                return;

            case 11:
                this.TableStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.NamesListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.DescriptionPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.DescWebBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 15:
                this.SeeAlsoTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.SeeAlsoListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 17:
                this.SearchGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.SearchBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.EditButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Tabs = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.btnUploadXml = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.btnUploadXml.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 3:
                this.btnXmlBrowse = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.txtDestination = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.btnDestPath = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.btnDestPath.Click += new System.Windows.RoutedEventHandler(this.btnDestPath_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.btnGenerate = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.btnGenerate.Click += new System.Windows.RoutedEventHandler(this.btnGenerate_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 9:
                this.ListAllJobs = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.ListAllJobs.Click += new System.Windows.RoutedEventHandler(this.ListAllJobs_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnUploadTemplate = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.btnUploadTemplate.Click += new System.Windows.RoutedEventHandler(this.btnUploadTemplate_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.txtFileUploadPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txtDestinationForPdfBatch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.btnDestinationPath = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.btnDestinationPath.Click += new System.Windows.RoutedEventHandler(this.btnDestinationPath_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnGen = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.btnGen.Click += new System.Windows.RoutedEventHandler(this.btnGen_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.GenBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 16:
                this.DataGrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.DataGrid1.Loaded += new System.Windows.RoutedEventHandler(this.DataGrid1_Loaded);

            #line default
            #line hidden
                return;

            case 17:
                this.stckPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.txtImport = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.btnImport = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnEditTemplate = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.btnEditTemplate.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 21:
                this.progressBar2 = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 22:
                this.lblCompleted = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.lblProcess = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.btnUploadTemplate_Copy = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.btnUploadTemplate_Copy.Click += new System.Windows.RoutedEventHandler(this.btnUploadTemplate_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.EditTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 26:
                this.txtSubject = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.txtContent = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.txtContent.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtContent_KeyDown);

            #line default
            #line hidden
                return;

            case 28:
                this.btnSubmit = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Zapisz_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Tmp_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.RamkaOn_Click);

            #line default
            #line hidden

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.RamkaOff_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Tmp_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Tmp_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Tmp_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OProgramie_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnWstecz = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.btnWstecz.Click += new System.Windows.RoutedEventHandler(this.btn_Wstecz_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnDalej = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.btnDalej.Click += new System.Windows.RoutedEventHandler(this.btnDalej_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.txtAdres = ((System.Windows.Controls.TextBox)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.txtAdres.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtAdres_KeyUp);

            #line default
            #line hidden
                return;

            case 12:

            #line 52 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Tmp_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Tmp_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnWejdz = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.btnWejdz.Click += new System.Windows.RoutedEventHandler(this.btnWejdz_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.brdRamka = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.wbPrzegladarka = ((System.Windows.Controls.WebBrowser)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.wbPrzegladarka.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.wbPrzegladarka_Navigating);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.wbPrzegladarka.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.wbPrzegladarka_Navigated);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\MainWindow.xaml"
                ((nmpApplication.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnSetting = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.btnSetting.Click += new System.Windows.RoutedEventHandler(this.btnSetting_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnLogin = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnTray = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.btnTray.Click += new System.Windows.RoutedEventHandler(this.btnTray_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.searchFlyout = ((MahApps.Metro.Controls.Flyout)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.searchFlyout.ClosingFinished += new System.Windows.RoutedEventHandler(this.yourMahAppFlyout_ClosingFinished);

            #line default
            #line hidden

            #line 28 "..\..\MainWindow.xaml"
                this.searchFlyout.Unloaded += new System.Windows.RoutedEventHandler(this.yourMahAppFlyout_Unloaded);

            #line default
            #line hidden
                return;

            case 7:
                this.searchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.songSearchBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.songSearchBtn.Click += new System.Windows.RoutedEventHandler(this.songSearchBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.testList = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.searchBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 11:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.mainBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.mainBrowser.Initialized += new System.EventHandler(this.WebBrowser_Initialized);

            #line default
            #line hidden

            #line 54 "..\..\MainWindow.xaml"
                this.mainBrowser.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.MainBrowser_LoadCompleted);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }