Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Windows\PostBodyWindow.xaml"
                ((koreatech_bachelor_Post_Project.Windows.PostBodyWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.PostBodyWindow_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\Windows\PostBodyWindow.xaml"
                ((koreatech_bachelor_Post_Project.Windows.PostBodyWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.PostBodyWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\..\Windows\PostBodyWindow.xaml"
                ((System.Windows.Controls.ContentControl)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ContentControl_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 3:
                this.titlebar = ((System.Windows.Shapes.Rectangle)(target));

            #line 25 "..\..\..\Windows\PostBodyWindow.xaml"
                this.titlebar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PostBodyWindow_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Windows\PostBodyWindow.xaml"
                this.AppCloseButton.Click += new System.Windows.RoutedEventHandler(this.AppCloseButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.PostBodyTitleTextBox = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 9:
                this.WebBrowser = ((TheArtOfDev.HtmlRenderer.WPF.HtmlPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainWindow_OnMouseDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Minimize_OnMouseEnter);

            #line default
            #line hidden

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Minimize_OnMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.MinimizePath = ((System.Windows.Shapes.Path)(target));
                return;

            case 5:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Exit_OnMouseEnter);

            #line default
            #line hidden

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Exit_OnMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 6:
                this.ExitPath = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.NewsTextBlock = ((TheArtOfDev.HtmlRenderer.WPF.HtmlPanel)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.NewsTextBlock.LinkClicked += new TheArtOfDev.HtmlRenderer.WPF.RoutedEventHandler <TheArtOfDev.HtmlRenderer.Core.Entities.HtmlLinkClickedEventArgs>(this.NewsTextBlock_OnLinkClicked);

            #line default
            #line hidden
                return;

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

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

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

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.Launch.Click += new System.Windows.RoutedEventHandler(this.Launch_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }