Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mtbTag1 = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 2:
                this.mtbTag2 = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((AduSkin.Controls.Metro.MetroColorPicker)(target));
                return;

            case 2:
                this.button = ((AduSkin.Controls.Metro.MetroFocusButton)(target));
                return;

            case 3:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 4:
                this.polygon = ((System.Windows.Shapes.Polygon)(target));
                return;

            case 5:
                this.viewSelectColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.viewSelectColor1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.viewSelectColor2 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 8:
                this.thumbSB = ((AduSkin.Controls.Metro.MetroThumb)(target));
                return;

            case 9:
                this.viewLine1 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 10:
                this.viewLine2 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 11:
                this.viewLine3 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 12:
                this.viewLine4 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 13:
                this.viewLine5 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 14:
                this.viewLine6 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 15:
                this.viewLine7 = ((System.Windows.Media.GradientStop)(target));
                return;

            case 16:
                this.thumbH = ((AduSkin.Controls.Metro.MetroThumb)(target));
                return;

            case 17:
                this.alpha1 = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.viewAlpha = ((System.Windows.Media.GradientStop)(target));
                return;

            case 19:
                this.thumbA = ((AduSkin.Controls.Metro.MetroThumb)(target));
                return;

            case 20:
                this.drfault = ((AduSkin.Controls.Metro.MetroTextBlock)(target));
                return;

            case 21:
                this.viewDefColor = ((AduSkin.Controls.Metro.MetroFocusButton)(target));
                return;

            case 22:
                this.rgbaR = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 23:
                this.rgbaG = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 24:
                this.rgbaB = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 25:
                this.rgbaA = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 26:
                this.hsbaH = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 27:
                this.hsbaS = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 28:
                this.hsbaB = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 29:
                this.hsbaA = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 30:
                this.hex = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.exit = ((AduSkin.Controls.Metro.MetroMenuItem)(target));
                return;

            case 2:
                this.tab = ((AduSkin.Controls.Metro.MetroMenuTabControl)(target));
                return;

            case 3:
                this.tabc = ((AduSkin.Controls.Metro.AduTabControl)(target));
                return;

            case 4:
                this.waterfallFlow = ((AduSkin.Controls.Metro.MetroWaterfallFlow)(target));
                return;

            case 5:
                this.color1 = ((AduSkin.Controls.Metro.MetroColorPicker)(target));
                return;

            case 6:
                this.color2 = ((AduSkin.Controls.Metro.MetroColorPicker)(target));
                return;

            case 7:
                this.Calendar1 = ((AduSkin.Controls.Metro.AduDatePickers.AduCalendar)(target));
                return;

            case 8:
                this.Date1 = ((AduSkin.Controls.Metro.AduDatePickers.AduDatePicker)(target));
                return;

            case 9:
                this.Date2 = ((AduSkin.Controls.Metro.AduDatePickers.AduDatePicker)(target));
                return;

            case 10:
                this.Date3 = ((AduSkin.Controls.Metro.AduDatePickers.AduDatePicker)(target));
                return;

            case 11:
                this.Date4 = ((AduSkin.Controls.Metro.AduDatePickers.AduDatePicker)(target));
                return;

            case 12:
                this.Date5 = ((AduSkin.Controls.Metro.AduDatePickers.AduDatePicker)(target));
                return;

            case 13:
                this.Date6 = ((AduSkin.Controls.Metro.AduDatePickers.AduDatePicker)(target));
                return;

            case 14:
                this.ts = ((AduSkin.Controls.Metro.MetroSwitch)(target));
                return;

            case 15:
                this.password = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 16:
                this.check = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 17:
                this.check1 = ((AduSkin.Controls.Metro.MetroTextBox)(target));
                return;

            case 18:
                this.btnShowAdu = ((AduSkin.Controls.Metro.MetroButton)(target));
                return;

            case 19:
                this.rt1 = ((AduSkin.Controls.Metro.MetroRichTextBox)(target));
                return;

            case 20:
                this.rt3 = ((AduSkin.Controls.Metro.MetroRichTextBox)(target));
                return;

            case 21:
                this.pb1 = ((AduSkin.Controls.Metro.MetroProgressBar)(target));
                return;

            case 22:
                this.pb2 = ((AduSkin.Controls.Metro.MetroProgressBar)(target));
                return;

            case 23:
                this.vis = ((AduSkin.Controls.Metro.MetroProgressBar)(target));
                return;

            case 24:
                this.TreeViewCompany = ((System.Windows.Controls.TreeView)(target));
                return;

            case 25:
                this.InfoMsg = ((AduSkin.Controls.Metro.AduFlatButton)(target));

            #line 766 "..\..\MainWindow.xaml"
                this.InfoMsg.Click += new System.Windows.RoutedEventHandler(this.InfoMsg_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.ErroMsg = ((AduSkin.Controls.Metro.AduFlatButton)(target));

            #line 767 "..\..\MainWindow.xaml"
                this.ErroMsg.Click += new System.Windows.RoutedEventHandler(this.ErroMsg_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.SuccessMsg = ((AduSkin.Controls.Metro.AduFlatButton)(target));

            #line 768 "..\..\MainWindow.xaml"
                this.SuccessMsg.Click += new System.Windows.RoutedEventHandler(this.SuccessMsg_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.WarmMsg = ((AduSkin.Controls.Metro.AduFlatButton)(target));

            #line 769 "..\..\MainWindow.xaml"
                this.WarmMsg.Click += new System.Windows.RoutedEventHandler(this.WarmMsg_Click);

            #line default
            #line hidden
                return;

            case 29:

            #line 821 "..\..\MainWindow.xaml"
                ((AduSkin.Controls.Metro.AduFlatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.About_Click);

            #line default
            #line hidden
                return;

            case 30:

            #line 822 "..\..\MainWindow.xaml"
                ((AduSkin.Controls.Metro.AduFlatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnShowAdu_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.lists = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 32:
                this.Carousels = ((AduSkin.Controls.Metro.Carousel.Carousel)(target));
                return;

            case 33:
                this.AduTimeLine = ((AduSkin.Controls.Metro.AduTimeLine.AduTimeline)(target));
                return;

            case 34:
                this.navigationPanel = ((AduSkin.Controls.Metro.AduNavigationPanel)(target));
                return;

            case 35:
                this.aduskincom = ((System.Windows.Documents.Hyperlink)(target));
                return;
            }
            this._contentLoaded = true;
        }