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

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

            case 3:
                this.closeicongrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.closeicon = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.datapicker = ((Panuon.UI.PUDatePicker)(target));
                return;

            case 6:
                this.timeString = ((Panuon.UI.PUTextBox)(target));
                return;

            case 7:
                this.Confirm = ((Panuon.UI.PUButton)(target));

            #line 42 "..\..\..\..\Views\FunctionWindow\DataPickerWindow.xaml"
                this.Confirm.Click += new System.Windows.RoutedEventHandler(this.Confirm_Click);

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

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

            case 3:
                this.BtnDecYear = ((Panuon.UI.PUButton)(target));
                return;

            case 4:
                this.BtnDecMonth = ((Panuon.UI.PUButton)(target));
                return;

            case 5:
                this.BtnAddMonth = ((Panuon.UI.PUButton)(target));
                return;

            case 6:
                this.BtnAddYear = ((Panuon.UI.PUButton)(target));
                return;

            case 7:
                this.BtnTitleLeft = ((Panuon.UI.PUButton)(target));
                return;

            case 8:
                this.BtnTitleRight = ((Panuon.UI.PUButton)(target));
                return;

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

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

            case 11:
                this.BtnBack = ((Panuon.UI.PUButton)(target));
                return;

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

            case 13:
                this.StkHour = ((System.Windows.Controls.VirtualizingStackPanel)(target));
                return;

            case 14:
                this.ScrollMinute = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 15:
                this.StkMinute = ((System.Windows.Controls.VirtualizingStackPanel)(target));
                return;

            case 16:
                this.ScrollSecond = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 17:
                this.StkSecond = ((System.Windows.Controls.VirtualizingStackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }