コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:
                this.listBox1 = ((PosControls.DragScrollListBox)(target));

            #line 29 "..\..\..\EmployeeClockInControl.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 5:
                this.timeEntryTimeControl = ((PosControls.TimeEntryTimeControl)(target));
                return;

            case 6:
                this.buttonClockIn = ((PosControls.TextBlockButton)(target));

            #line 40 "..\..\..\EmployeeClockInControl.xaml"
                this.buttonClockIn.Click += new System.Windows.RoutedEventHandler(this.buttonClockIn_Click);

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