예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Field = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.NameTextBox = ((HandyControl.Controls.TextBox)(target));
                return;

            case 3:
                this.PriceTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

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

            #line 36 "..\..\..\Service\AddServiceWindow.xaml"
                this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Field = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.NameTextBox = ((HandyControl.Controls.TextBox)(target));
                return;

            case 3:
                this.CategoryComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 4:
                this.PriceTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

            case 5:
                this.WeightTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

            case 6:
                this.productImage = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.ChangeBtn = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\Product\EditProductWindow.xaml"
                this.ChangeBtn.Click += new System.Windows.RoutedEventHandler(this.ChangeBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.UpdateBtn = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\Product\EditProductWindow.xaml"
                this.UpdateBtn.Click += new System.Windows.RoutedEventHandler(this.UpdateBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Field = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.CategoryComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 3:
                this.PriceTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

            case 4:
                this.StatusComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 5:
                this.roomImage = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.BrowseBtn = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\Room\AddRoomWindow.xaml"
                this.BrowseBtn.Click += new System.Windows.RoutedEventHandler(this.BrowseBtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.AddBtn = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\..\Room\AddRoomWindow.xaml"
                this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }