Наследование: Xceed.Wpf.Toolkit.Primitives.WindowControl
Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\DetailedSales.xaml"
                ((PointOfSale.DetailedSales)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.frmHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 3:
                this.rptViewer = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
                return;

            case 4:
                this.wndFilter = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 5:
                this.dtpStart = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.dtpEnd = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 71 "..\..\DetailedSales.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.cmbCashierID = ((System.Windows.Controls.ComboBox)(target));

            #line 73 "..\..\DetailedSales.xaml"
                this.cmbCashierID.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbCashierID_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.lblCashier = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dtgUsers = ((System.Windows.Controls.DataGrid)(target));

            #line 16 "..\..\SystemUser.xaml"
                this.dtgUsers.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dtgUsers_CellEditEnding);

            #line default
            #line hidden

            #line 17 "..\..\SystemUser.xaml"
                this.dtgUsers.CurrentCellChanged += new System.EventHandler <System.EventArgs>(this.dtgUsers_CurrentCellChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.cmbUserType = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

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

            #line 30 "..\..\SystemUser.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.wndUpdateUser = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 5:
                this.cmbUserName = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line 56 "..\..\SystemUser.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.btnReset_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._modalBackgroundColorPicker = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 2:
                this._childWindowCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this._modalChildWindowCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this._messageBoxCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 85 "..\..\..\..\..\..\Samples\Window\Views\WindowContainerView.xaml"
                this._messageBoxCheckBox.Checked += new System.Windows.RoutedEventHandler(this.OnMessageBoxCheckBoxChecked);

            #line default
            #line hidden

            #line 85 "..\..\..\..\..\..\Samples\Window\Views\WindowContainerView.xaml"
                this._messageBoxCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.OnMessageBoxCheckBoxUnchecked);

            #line default
            #line hidden
                return;

            case 5:
                this._windowContainer = ((Xceed.Wpf.Toolkit.Primitives.WindowContainer)(target));
                return;

            case 6:
                this._childWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 7:
                this._modalChildWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 8:
                this._messageBox = ((Xceed.Wpf.Toolkit.MessageBox)(target));

            #line 149 "..\..\..\..\..\..\Samples\Window\Views\WindowContainerView.xaml"
                this._messageBox.Closed += new System.EventHandler(this.OnMessageBoxClose);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 32 "..\..\..\..\..\..\Samples\Window\Views\StyleableWindowView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 2:
                this._enableStyleCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 120 "..\..\..\..\..\..\Samples\Window\Views\StyleableWindowView.xaml"
                this._enableStyleCheckBox.Click += new System.Windows.RoutedEventHandler(this.UpdateWindowsStyles);

            #line default
            #line hidden
                return;

            case 3:

            #line 130 "..\..\..\..\..\..\Samples\Window\Views\StyleableWindowView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StandardMessageBoxButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 131 "..\..\..\..\..\..\Samples\Window\Views\StyleableWindowView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StyledMessageBoxButton_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 136 "..\..\..\..\..\..\Samples\Window\Views\StyleableWindowView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnStyleableWindow_Click);

            #line default
            #line hidden
                return;

            case 6:
                this._childWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 32 "..\..\..\..\..\..\Samples\Window\Views\ChildWindowView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 2:
                this._txtCaption = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this._txtLeft = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 5:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this._txtTop = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 7:
                this._chkIsModal = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this._cboWindowStartupLocations = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this._cboWindowState = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this._childWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.musicGroupName = ((System.Windows.Controls.TextBox)(target));

            #line 40 "..\..\AddWindow.xaml"
                this.musicGroupName.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.musicGroupNationality = ((System.Windows.Controls.TextBox)(target));

            #line 42 "..\..\AddWindow.xaml"
                this.musicGroupNationality.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.musicGroupTypeOfMusic = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.musicGroupStartedDate = ((System.Windows.Controls.DatePicker)(target));

            #line 47 "..\..\AddWindow.xaml"
                this.musicGroupStartedDate.KeyDown += new System.Windows.Input.KeyEventHandler(this.textDate_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.musicGroupEndedDate = ((System.Windows.Controls.DatePicker)(target));

            #line 49 "..\..\AddWindow.xaml"
                this.musicGroupEndedDate.KeyDown += new System.Windows.Input.KeyEventHandler(this.textDate_KeyDown);

            #line default
            #line hidden
                return;

            case 6:

            #line 53 "..\..\AddWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.buttonImage_onClick);

            #line default
            #line hidden
                return;

            case 7:
                this.profileImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 75 "..\..\AddWindow.xaml"
                this.addSinger.Click += new System.Windows.RoutedEventHandler(this.addSinger_onClick);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\AddWindow.xaml"
                this.deleteSinger.Click += new System.Windows.RoutedEventHandler(this.deleteMusician_onClick);

            #line default
            #line hidden
                return;

            case 10:
                this.MusicianGrid = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
                return;

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

            #line 145 "..\..\AddWindow.xaml"
                this.addSong.Click += new System.Windows.RoutedEventHandler(this.addSong_onClick);

            #line default
            #line hidden
                return;

            case 12:
                this.deleteSong = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\AddWindow.xaml"
                this.deleteSong.Click += new System.Windows.RoutedEventHandler(this.deleteSong_onClick);

            #line default
            #line hidden
                return;

            case 13:
                this.SongGrid = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
                return;

            case 14:
                this.MusicianWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

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

            #line 210 "..\..\AddWindow.xaml"
                this.musicianName.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 16:
                this.musicianSurname = ((System.Windows.Controls.TextBox)(target));

            #line 212 "..\..\AddWindow.xaml"
                this.musicianSurname.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 17:
                this.musicianNationality = ((System.Windows.Controls.TextBox)(target));

            #line 214 "..\..\AddWindow.xaml"
                this.musicianNationality.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 216 "..\..\AddWindow.xaml"
                this.musicianSex.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 19:
                this.musicianDateOfBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 20:
                this.musicianInstrument = ((System.Windows.Controls.TextBox)(target));

            #line 220 "..\..\AddWindow.xaml"
                this.musicianInstrument.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 21:

            #line 223 "..\..\AddWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMusician);

            #line default
            #line hidden
                return;

            case 22:
                this.SongWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 23:
                this.songName = ((System.Windows.Controls.TextBox)(target));

            #line 245 "..\..\AddWindow.xaml"
                this.songName.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 24:
                this.songTypeOfMusic = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.songLength = ((System.Windows.Controls.TextBox)(target));

            #line 250 "..\..\AddWindow.xaml"
                this.songLength.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 26:
                this.songWriter = ((System.Windows.Controls.TextBox)(target));

            #line 252 "..\..\AddWindow.xaml"
                this.songWriter.KeyDown += new System.Windows.Input.KeyEventHandler(this.textString_KeyDown);

            #line default
            #line hidden
                return;

            case 27:
                this.songReleased = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 28:

            #line 257 "..\..\AddWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddSong);

            #line default
            #line hidden
                return;

            case 29:

            #line 264 "..\..\AddWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMusicGroup);

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

            #line 11 "..\..\SummarisedIncomeExpenditure.xaml"
                ((PointOfSale.SummarisedIncomeExpenditure)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnFilter = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\SummarisedIncomeExpenditure.xaml"
                this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\SummarisedIncomeExpenditure.xaml"
                this.btnClearFilter.Click += new System.Windows.RoutedEventHandler(this.btnClearFilter_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.wfHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 5:
                this.rptViewer = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
                return;

            case 6:
                this.popFilter = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 7:
                this.wndFilter = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 8:
                this.dtpStart = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.dtpEnd = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.btnSubmit = ((System.Windows.Controls.Button)(target));

            #line 105 "..\..\SummarisedIncomeExpenditure.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.cmbInstructor = ((System.Windows.Controls.ComboBox)(target));

            #line 114 "..\..\SummarisedIncomeExpenditure.xaml"
                this.cmbInstructor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbInstructor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.chkAll = ((System.Windows.Controls.CheckBox)(target));

            #line 121 "..\..\SummarisedIncomeExpenditure.xaml"
                this.chkAll.Checked += new System.Windows.RoutedEventHandler(this.chkAll_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((ShopManager.AddProduct)(target));

            #line 8 "..\..\AddProduct.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.busyIndo = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 3:
                this.LabelID = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.TextTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.TextPrice = ((Xceed.Wpf.Toolkit.LongUpDown)(target));
                return;

            case 6:

            #line 56 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_IncreasePrice);

            #line default
            #line hidden
                return;

            case 7:

            #line 57 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DecreasePrice);

            #line default
            #line hidden
                return;

            case 8:
                this.TextAmount = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 9:
                this.TextTaken = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 64 "..\..\AddProduct.xaml"
                this.TextTaken.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TextTaken_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.TextColor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.StoragePlaceTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.TextDescription = ((Xceed.Wpf.Toolkit.MultiLineTextEditor)(target));
                return;

            case 13:
                this.TextInfo = ((Xceed.Wpf.Toolkit.MultiLineTextEditor)(target));
                return;

            case 14:
                this.TextCondition = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.CheckBoxPublish = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.Textcategory_id = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 17:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 95 "..\..\AddProduct.xaml"
                this.treeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.treeView_MouseDoubleClick);

            #line default
            #line hidden

            #line 95 "..\..\AddProduct.xaml"
                this.treeView.KeyDown += new System.Windows.Input.KeyEventHandler(this.treeView_KeyDown);

            #line default
            #line hidden
                return;

            case 18:

            #line 105 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CatDelete);

            #line default
            #line hidden
                return;

            case 19:
                this.ListBoxCategory_id = ((System.Windows.Controls.ListBox)(target));
                return;

            case 20:
                this.TextPhoto = ((Xceed.Wpf.Toolkit.MultiLineTextEditor)(target));
                return;

            case 21:

            #line 111 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_PhotoUpload);

            #line default
            #line hidden
                return;

            case 22:

            #line 112 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_PhotoDelete);

            #line default
            #line hidden
                return;

            case 23:
                this.ListBoxPhoto = ((System.Windows.Controls.ListBox)(target));

            #line 113 "..\..\AddProduct.xaml"
                this.ListBoxPhoto.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxPhoto_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 24:
                this.DropdownButtonMake = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 25:
                this.TextMake = ((System.Windows.Controls.ComboBox)(target));

            #line 137 "..\..\AddProduct.xaml"
                this.TextMake.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextMake_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.TextModel = ((System.Windows.Controls.ComboBox)(target));

            #line 140 "..\..\AddProduct.xaml"
                this.TextModel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TextModel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.TextYearfrom = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.TextYearTo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:

            #line 148 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_saveMake);

            #line default
            #line hidden
                return;

            case 30:

            #line 153 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_deleteMake);

            #line default
            #line hidden
                return;

            case 31:
                this.ListBoxMake = ((System.Windows.Controls.ListBox)(target));
                return;

            case 32:
                this.DropdownAds = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 33:
                this.TextUnique_id_Ads = ((System.Windows.Controls.DataGrid)(target));

            #line 189 "..\..\AddProduct.xaml"
                this.TextUnique_id_Ads.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_2_MouseEnter);

            #line default
            #line hidden
                return;

            case 34:

            #line 201 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_SaveAD);

            #line default
            #line hidden
                return;

            case 35:

            #line 217 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DeleteAD);

            #line default
            #line hidden
                return;

            case 36:
                this.ListBoxAd = ((System.Windows.Controls.DataGrid)(target));

            #line 230 "..\..\AddProduct.xaml"
                this.ListBoxAd.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxAd_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 37:

            #line 250 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CarSearch);

            #line default
            #line hidden
                return;

            case 38:

            #line 257 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_ΝewProduct);

            #line default
            #line hidden
                return;

            case 39:

            #line 261 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DeleteProduct);

            #line default
            #line hidden
                return;

            case 40:

            #line 262 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Update);

            #line default
            #line hidden
                return;

            case 41:
                this.Picturebox = ((System.Windows.Controls.Image)(target));
                return;

            case 42:
                this.make = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.model = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.ChildWindowMake = ((Xceed.Wpf.Toolkit.ChildWindow)(target));

            #line 283 "..\..\AddProduct.xaml"
                this.ChildWindowMake.Closed += new System.EventHandler(this.ChildWindowMake_Closed);

            #line default
            #line hidden
                return;

            case 45:
                this.ListBoxMake_Second = ((System.Windows.Controls.ListBox)(target));
                return;

            case 46:

            #line 293 "..\..\AddProduct.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CarSearchMake);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.menu = ((System.Windows.Controls.Menu)(target));
     return;
     case 2:
     
     #line 17 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.UnitStatistics_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.frame = ((System.Windows.Controls.Frame)(target));
     
     #line 22 "..\..\MainWindow.xaml"
     this.frame.Loaded += new System.Windows.RoutedEventHandler(this.frame_Loaded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.unitStatisticsChildWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
     return;
     case 5:
     this.unitStatisticsChildWindow_unitListbox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     
     #line 46 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.unitStatisticsChildWindow_MakeDefault_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 47 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.unitStatisticsChildWindow_Save_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 48 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.unitStatisticsChildWindow_Load_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.unitNameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.unitHealthTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 60 "..\..\MainWindow.xaml"
     this.unitHealthTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CheckNumbersOnly_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 60 "..\..\MainWindow.xaml"
     this.unitHealthTextBox.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPaste_CheckNumbers));
     
     #line default
     #line hidden
     return;
     case 13:
     this.unitAttackTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 64 "..\..\MainWindow.xaml"
     this.unitAttackTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CheckNumbersOnly_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 64 "..\..\MainWindow.xaml"
     this.unitAttackTextBox.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPaste_CheckNumbers));
     
     #line default
     #line hidden
     return;
     case 14:
     this.unitDetectedCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.unitIsCommandAndControlCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((Controle.MainWindow)(target)).Closed += new System.EventHandler(this.OnApplicationExit);
     
     #line default
     #line hidden
     return;
     case 2:
     this.menu1 = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     
     #line 10 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.openManager_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 13 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.openManagerCategory_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 14 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.openManagerProvider_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 15 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.openManagerMake_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ModalManageProduct = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
     return;
     case 8:
     this.ModalManageCategory = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
     return;
     case 9:
     this.ModalManageProvider = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
     return;
     case 10:
     this.ModalManageMake = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\GiveProducts.xaml"
                ((ShopManager.GiveProducts)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.busyIndo = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 3:
                this.StackCode = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.SearchBox_Unique_id = ((System.Windows.Controls.TextBox)(target));

            #line 36 "..\..\GiveProducts.xaml"
                this.SearchBox_Unique_id.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 5:
                this.StackTitle = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.SearchBox_Title = ((System.Windows.Controls.TextBox)(target));

            #line 42 "..\..\GiveProducts.xaml"
                this.SearchBox_Title.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 7:
                this.StackComment = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.SearchBox_Description = ((System.Windows.Controls.TextBox)(target));

            #line 48 "..\..\GiveProducts.xaml"
                this.SearchBox_Description.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 9:
                this.StackCategory = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 53 "..\..\GiveProducts.xaml"
                this.Textcategory_id.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 11:
                this.StackCollor = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 77 "..\..\GiveProducts.xaml"
                this.SearchBox_Color.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 13:
                this.StackPrice = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.PanelPrice = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 15:
                this.LabelMinPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.RangeCarPrice = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 96 "..\..\GiveProducts.xaml"
                this.RangeCarPrice.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_LowerValueChanged);

            #line default
            #line hidden

            #line 96 "..\..\GiveProducts.xaml"
                this.RangeCarPrice.HigherValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_HigherValueChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.LabelMaxPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.StackQuantity = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.PanelAmount = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 20:
                this.LabelMinAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.RangeCarAmount = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 105 "..\..\GiveProducts.xaml"
                this.RangeCarAmount.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_LowerValueChanged);

            #line default
            #line hidden

            #line 105 "..\..\GiveProducts.xaml"
                this.RangeCarAmount.HigherValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_HigherValueChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.LabelMaxAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.StackMake = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.SearchBox_Make = ((System.Windows.Controls.TextBox)(target));

            #line 112 "..\..\GiveProducts.xaml"
                this.SearchBox_Make.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 25:
                this.StackModel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 26:
                this.SearchBox_Model = ((System.Windows.Controls.TextBox)(target));

            #line 133 "..\..\GiveProducts.xaml"
                this.SearchBox_Model.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 27:
                this.CheckboxAd = ((System.Windows.Controls.CheckBox)(target));

            #line 153 "..\..\GiveProducts.xaml"
                this.CheckboxAd.Checked += new System.Windows.RoutedEventHandler(this.CheckboxAd_Checked_change);

            #line default
            #line hidden

            #line 153 "..\..\GiveProducts.xaml"
                this.CheckboxAd.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxAd_Unchecked);

            #line default
            #line hidden
                return;

            case 28:
                this.CheckboxProducts = ((System.Windows.Controls.CheckBox)(target));

            #line 154 "..\..\GiveProducts.xaml"
                this.CheckboxProducts.Checked += new System.Windows.RoutedEventHandler(this.CheckboxProducts_Checked);

            #line default
            #line hidden

            #line 154 "..\..\GiveProducts.xaml"
                this.CheckboxProducts.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxProducts_Unchecked);

            #line default
            #line hidden
                return;

            case 29:
                this.CheckboxNoAds = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\GiveProducts.xaml"
                this.CheckboxNoAds.Checked += new System.Windows.RoutedEventHandler(this.CheckboxNoAds_Checked);

            #line default
            #line hidden

            #line 155 "..\..\GiveProducts.xaml"
                this.CheckboxNoAds.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxNoAds_Unchecked);

            #line default
            #line hidden
                return;

            case 30:
                this.CheckboxNoProducts = ((System.Windows.Controls.CheckBox)(target));

            #line 156 "..\..\GiveProducts.xaml"
                this.CheckboxNoProducts.Checked += new System.Windows.RoutedEventHandler(this.CheckboxNoProducts_Checked);

            #line default
            #line hidden

            #line 156 "..\..\GiveProducts.xaml"
                this.CheckboxNoProducts.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxNoProducts_Unchecked);

            #line default
            #line hidden
                return;

            case 31:
                this.CheckboxTaken = ((System.Windows.Controls.CheckBox)(target));

            #line 157 "..\..\GiveProducts.xaml"
                this.CheckboxTaken.Checked += new System.Windows.RoutedEventHandler(this.CheckboxTaken_Checked);

            #line default
            #line hidden

            #line 157 "..\..\GiveProducts.xaml"
                this.CheckboxTaken.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxTaken_Unchecked);

            #line default
            #line hidden
                return;

            case 32:
                this.CheckboxHidden = ((System.Windows.Controls.CheckBox)(target));

            #line 158 "..\..\GiveProducts.xaml"
                this.CheckboxHidden.Checked += new System.Windows.RoutedEventHandler(this.CheckboxHidden_Checked);

            #line default
            #line hidden

            #line 158 "..\..\GiveProducts.xaml"
                this.CheckboxHidden.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxHidden_Unchecked);

            #line default
            #line hidden
                return;

            case 33:
                this.DataGrid_1 = ((System.Windows.Controls.DataGrid)(target));

            #line 177 "..\..\GiveProducts.xaml"
                this.DataGrid_1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGrid_1_MouseDoubleClick);

            #line default
            #line hidden

            #line 178 "..\..\GiveProducts.xaml"
                this.DataGrid_1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_1_MouseEnter);

            #line default
            #line hidden

            #line 192 "..\..\GiveProducts.xaml"
                this.DataGrid_1.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid_1_LoadingRow);

            #line default
            #line hidden
                return;

            case 34:

            #line 302 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Delete_Click);

            #line default
            #line hidden
                return;

            case 35:

            #line 303 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Update_Click);

            #line default
            #line hidden
                return;

            case 36:

            #line 304 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Product);

            #line default
            #line hidden
                return;

            case 37:

            #line 305 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_add);

            #line default
            #line hidden
                return;

            case 38:
                this.checkBoxPhoto = ((System.Windows.Controls.CheckBox)(target));

            #line 306 "..\..\GiveProducts.xaml"
                this.checkBoxPhoto.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 306 "..\..\GiveProducts.xaml"
                this.checkBoxPhoto.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 39:
                this.checkCode = ((System.Windows.Controls.CheckBox)(target));

            #line 313 "..\..\GiveProducts.xaml"
                this.checkCode.Checked += new System.Windows.RoutedEventHandler(this.Code_Filter_Checked);

            #line default
            #line hidden

            #line 313 "..\..\GiveProducts.xaml"
                this.checkCode.Unchecked += new System.Windows.RoutedEventHandler(this.Code_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 40:
                this.checkTitle = ((System.Windows.Controls.CheckBox)(target));

            #line 314 "..\..\GiveProducts.xaml"
                this.checkTitle.Checked += new System.Windows.RoutedEventHandler(this.Title_Filter_Checked);

            #line default
            #line hidden

            #line 314 "..\..\GiveProducts.xaml"
                this.checkTitle.Unchecked += new System.Windows.RoutedEventHandler(this.Title_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 41:
                this.checkComment = ((System.Windows.Controls.CheckBox)(target));

            #line 315 "..\..\GiveProducts.xaml"
                this.checkComment.Checked += new System.Windows.RoutedEventHandler(this.Comment_Filter_Checked);

            #line default
            #line hidden

            #line 315 "..\..\GiveProducts.xaml"
                this.checkComment.Unchecked += new System.Windows.RoutedEventHandler(this.Comment_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 42:
                this.checkCategory = ((System.Windows.Controls.CheckBox)(target));

            #line 316 "..\..\GiveProducts.xaml"
                this.checkCategory.Checked += new System.Windows.RoutedEventHandler(this.Category_Filter_Checked);

            #line default
            #line hidden

            #line 316 "..\..\GiveProducts.xaml"
                this.checkCategory.Unchecked += new System.Windows.RoutedEventHandler(this.Category_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 43:
                this.checkCollor = ((System.Windows.Controls.CheckBox)(target));

            #line 317 "..\..\GiveProducts.xaml"
                this.checkCollor.Checked += new System.Windows.RoutedEventHandler(this.Collor_Filter_Checked);

            #line default
            #line hidden

            #line 317 "..\..\GiveProducts.xaml"
                this.checkCollor.Unchecked += new System.Windows.RoutedEventHandler(this.Collor_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 44:
                this.checPrice = ((System.Windows.Controls.CheckBox)(target));

            #line 318 "..\..\GiveProducts.xaml"
                this.checPrice.Checked += new System.Windows.RoutedEventHandler(this.Price_Filter_Checked);

            #line default
            #line hidden

            #line 318 "..\..\GiveProducts.xaml"
                this.checPrice.Unchecked += new System.Windows.RoutedEventHandler(this.Price_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 45:
                this.checkQuantity = ((System.Windows.Controls.CheckBox)(target));

            #line 319 "..\..\GiveProducts.xaml"
                this.checkQuantity.Checked += new System.Windows.RoutedEventHandler(this.Quantity_Filter_Checked);

            #line default
            #line hidden

            #line 319 "..\..\GiveProducts.xaml"
                this.checkQuantity.Unchecked += new System.Windows.RoutedEventHandler(this.Quantity_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 46:
                this.checkMake = ((System.Windows.Controls.CheckBox)(target));

            #line 320 "..\..\GiveProducts.xaml"
                this.checkMake.Checked += new System.Windows.RoutedEventHandler(this.Make_Filter_Checked);

            #line default
            #line hidden

            #line 320 "..\..\GiveProducts.xaml"
                this.checkMake.Unchecked += new System.Windows.RoutedEventHandler(this.Make_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 47:
                this.checkModel = ((System.Windows.Controls.CheckBox)(target));

            #line 321 "..\..\GiveProducts.xaml"
                this.checkModel.Checked += new System.Windows.RoutedEventHandler(this.Model_Filter_Checked);

            #line default
            #line hidden

            #line 321 "..\..\GiveProducts.xaml"
                this.checkModel.Unchecked += new System.Windows.RoutedEventHandler(this.Model_Filter_Unchecked);

            #line default
            #line hidden
                return;

            case 48:
                this.Odd_Backround_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 337 "..\..\GiveProducts.xaml"
                this.Odd_Backround_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.ColorPicker_SelectedColorChanged_Odd_Background_Ad);

            #line default
            #line hidden
                return;

            case 49:
                this.Odd_Foreground_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 341 "..\..\GiveProducts.xaml"
                this.Odd_Foreground_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Odd_Foreground_Ad_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.Even_Backround_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 347 "..\..\GiveProducts.xaml"
                this.Even_Backround_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Backround_Ad_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.Even_Foreground_Ad = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 351 "..\..\GiveProducts.xaml"
                this.Even_Foreground_Ad.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Foreground_Ad_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.Odd_Backround_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 357 "..\..\GiveProducts.xaml"
                this.Odd_Backround_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Odd_Backround_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 53:
                this.Odd_Foreground_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 361 "..\..\GiveProducts.xaml"
                this.Odd_Foreground_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Odd_Foreground_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.Even_Backround_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 367 "..\..\GiveProducts.xaml"
                this.Even_Backround_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Backround_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.Even_Foreground_Product = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 371 "..\..\GiveProducts.xaml"
                this.Even_Foreground_Product.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.Even_Foreground_Product_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 56:
                this.AddProduct = ((Xceed.Wpf.Toolkit.ChildWindow)(target));

            #line 391 "..\..\GiveProducts.xaml"
                this.AddProduct.Closed += new System.EventHandler(this.AddProduct_Closed);

            #line default
            #line hidden
                return;

            case 57:
                this.LocalProduct = ((ShopManager.AddProduct)(target));
                return;

            case 58:
                this.AddAD = ((Xceed.Wpf.Toolkit.ChildWindow)(target));

            #line 412 "..\..\GiveProducts.xaml"
                this.AddAD.Closed += new System.EventHandler(this.AddAD_Closed);

            #line default
            #line hidden
                return;

            case 59:
                this.LocalAD = ((ShopManager.AddAD)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.busyIndo = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 2:
                this.SearchBox_Unique_id = ((System.Windows.Controls.TextBox)(target));

            #line 35 "..\..\GiveProducts.xaml"
                this.SearchBox_Unique_id.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 3:
                this.SearchBox_Title = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\GiveProducts.xaml"
                this.SearchBox_Title.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.SearchBox_Description = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\GiveProducts.xaml"
                this.SearchBox_Description.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden
                return;

            case 5:
                this.Textcategory_id = ((Xceed.Wpf.Toolkit.DropDownButton)(target));
                return;

            case 6:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 56 "..\..\GiveProducts.xaml"
                this.treeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.treeView_MouseDoubleClick);

            #line default
            #line hidden

            #line 56 "..\..\GiveProducts.xaml"
                this.treeView.KeyDown += new System.Windows.Input.KeyEventHandler(this.treeView_KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.SearchBox_Color = ((System.Windows.Controls.ComboBox)(target));

            #line 77 "..\..\GiveProducts.xaml"
                this.SearchBox_Color.DropDownClosed += new System.EventHandler(this.SearchBox_Model_DropDownClosed);

            #line default
            #line hidden
                return;

            case 8:
                this.PanelPrice = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 9:
                this.LabelMinPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.RangeCarPrice = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 87 "..\..\GiveProducts.xaml"
                this.RangeCarPrice.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_LowerValueChanged);

            #line default
            #line hidden

            #line 87 "..\..\GiveProducts.xaml"
                this.RangeCarPrice.HigherValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarPrice_HigherValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.LabelMaxPrice = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.PanelAmount = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 13:
                this.LabelMinAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.RangeCarAmount = ((Xceed.Wpf.Toolkit.RangeSlider)(target));

            #line 96 "..\..\GiveProducts.xaml"
                this.RangeCarAmount.LowerValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_LowerValueChanged);

            #line default
            #line hidden

            #line 96 "..\..\GiveProducts.xaml"
                this.RangeCarAmount.HigherValueChanged += new System.Windows.RoutedEventHandler(this.RangeCarAmount_HigherValueChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.LabelMaxAmount = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.SearchBox_Make = ((System.Windows.Controls.ComboBox)(target));

            #line 113 "..\..\GiveProducts.xaml"
                this.SearchBox_Make.DropDownClosed += new System.EventHandler(this.SearchBox_Make_DropDownClosed);

            #line default
            #line hidden
                return;

            case 17:
                this.SearchBox_Model = ((System.Windows.Controls.ComboBox)(target));

            #line 131 "..\..\GiveProducts.xaml"
                this.SearchBox_Model.DropDownClosed += new System.EventHandler(this.SearchBox_Model_DropDownClosed);

            #line default
            #line hidden
                return;

            case 18:
                this.CheckboxCar = ((System.Windows.Controls.CheckBox)(target));

            #line 136 "..\..\GiveProducts.xaml"
                this.CheckboxCar.Checked += new System.Windows.RoutedEventHandler(this.CheckboxCar_Checked_change);

            #line default
            #line hidden

            #line 136 "..\..\GiveProducts.xaml"
                this.CheckboxCar.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxCar_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.DataGrid_1 = ((Xceed.Wpf.DataGrid.DataGridControl)(target));

            #line 141 "..\..\GiveProducts.xaml"
                this.DataGrid_1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGrid_1_MouseDoubleClick);

            #line default
            #line hidden

            #line 141 "..\..\GiveProducts.xaml"
                this.DataGrid_1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DataGrid_1_MouseEnter);

            #line default
            #line hidden
                return;

            case 20:

            #line 159 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Delete_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 160 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Update_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 161 "..\..\GiveProducts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.checkBoxPhoto = ((System.Windows.Controls.CheckBox)(target));

            #line 162 "..\..\GiveProducts.xaml"
                this.checkBoxPhoto.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 162 "..\..\GiveProducts.xaml"
                this.checkBoxPhoto.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 24:
                this.UpdateItemWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 25:
                this.LocalTest = ((ShopManager.UpdateProduct)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.textBox_CombatGroupName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     
     #line 20 "..\..\CombatPage.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCombatForceButton_Clicked);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 24 "..\..\CombatPage.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clearSimulation_Clicked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.simulatedCombatModeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     
     #line 28 "..\..\CombatPage.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SimulateButton_Clicked);
     
     #line default
     #line hidden
     return;
     case 16:
     this.addUnitChildWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
     return;
     case 17:
     this.presetComboBox_addUnit_childWindow = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 18:
     this.typeOfUnitComboBox_addUnit_childWindow = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 19:
     this.nameTextBox_addUnit_childWindow = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.healthTextBox_addUnit_childWindow = ((System.Windows.Controls.TextBox)(target));
     
     #line 231 "..\..\CombatPage.xaml"
     this.healthTextBox_addUnit_childWindow.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CheckNumbersOnly_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 231 "..\..\CombatPage.xaml"
     this.healthTextBox_addUnit_childWindow.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPaste_CheckNumbers));
     
     #line default
     #line hidden
     return;
     case 21:
     this.attackValueTextBox_addUnit_childWindow = ((System.Windows.Controls.TextBox)(target));
     
     #line 237 "..\..\CombatPage.xaml"
     this.attackValueTextBox_addUnit_childWindow.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CheckNumbersOnly_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 237 "..\..\CombatPage.xaml"
     this.attackValueTextBox_addUnit_childWindow.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPaste_CheckNumbers));
     
     #line default
     #line hidden
     return;
     case 22:
     this.commandAndControlCheckBox_addUnit_childWindow = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 23:
     this.detectedCheckBox_addUnit_childWindow = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 24:
     this.quantityOfUnits_addUnit_childWindow = ((System.Windows.Controls.TextBox)(target));
     
     #line 250 "..\..\CombatPage.xaml"
     this.quantityOfUnits_addUnit_childWindow.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CheckNumbersOnly_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 250 "..\..\CombatPage.xaml"
     this.quantityOfUnits_addUnit_childWindow.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPaste_CheckNumbers));
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 254 "..\..\CombatPage.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SubmitUnitButton_Clicked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbInstructorName = ((System.Windows.Controls.ComboBox)(target));

            #line 25 "..\..\DailySheet.xaml"
                this.cmbInstructorName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbInstructorName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.dtpDate = ((System.Windows.Controls.DatePicker)(target));

            #line 29 "..\..\DailySheet.xaml"
                this.dtpDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.dtgData = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 117 "..\..\DailySheet.xaml"
                this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\DailySheet.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.wndFilter = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 11:
                this.wfhMain = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 12:
                this.rptViewer = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }