Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.VKAttachments = ((ScriptVk.MainWindow)(target));
                return;

            case 2:
                this.FourthStep = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.AttachmentsList = ((System.Windows.Controls.ListBox)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.AttachmentsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AttachmentsList_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.DownloadCurrent.Click += new System.Windows.RoutedEventHandler(this.DownloadCurrent_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.VideoQualityChange.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.VideoQualityChange_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.FirstStep = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 11:
                this.img = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.SecondStep = ((System.Windows.Controls.Border)(target));
                return;

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

            case 14:
                this.SelectConversationButton = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.SelectConversationButton.Click += new System.Windows.RoutedEventHandler(this.SelectConversationButton_Click);

            #line default
            #line hidden
                return;

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

            case 16:
                this.ThirdStep = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 70 "..\..\MainWindow.xaml"
                this.ShowAttachments.Click += new System.Windows.RoutedEventHandler(this.ShowAttachments_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.AttachmentType = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.VKAttachments = ((ScriptVk.MainWindow)(target));
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                this.Images.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Images_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\MainWindow.xaml"
                this.DownloadAll.Click += new System.Windows.RoutedEventHandler(this.DownloadAll_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.PassEnter = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

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

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

            #line 53 "..\..\MainWindow.xaml"
                this.ShowAttachments.Click += new System.Windows.RoutedEventHandler(this.ShowAttachments_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.Extension = ((System.Windows.Controls.ComboBox)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.Extension.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

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