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

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

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

            case 4:
                this.DataGridNhap = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 5:
                this.TienSP = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 6:
                this.TongTien = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));
                return;

            case 7:
                this.dpick = ((System.Windows.Controls.DatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DeleteDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:

            #line 38 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfirmDeleteBtnPressedEvent);

            #line default
            #line hidden
                return;

            case 3:

            #line 87 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 87 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 4:

            #line 88 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 88 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 5:

            #line 89 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 89 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 6:

            #line 90 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 90 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 7:

            #line 91 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 91 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 8:

            #line 92 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 92 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 9:

            #line 93 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 93 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 10:

            #line 94 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 94 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 11:

            #line 95 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 95 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 12:

            #line 96 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 96 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 13:

            #line 97 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 97 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 14:

            #line 98 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 98 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 15:

            #line 110 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CreateMemberBtnPressedEvent);

            #line default
            #line hidden
                return;

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

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

            case 18:
                this.SexComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.WilayaBirthComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 147 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.WilayaBirthComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BirthWilayaSelectedEvent);

            #line default
            #line hidden
                return;

            case 20:
                this.CommuneBirthComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.StdLvlComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.workingSectorComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 184 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.workingSectorComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.workingSectorSelectedEvent);

            #line default
            #line hidden
                return;

            case 23:
                this.FunctionComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 200 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.CurrentWilayaComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CurrentWilayaSelectedEvent);

            #line default
            #line hidden
                return;

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

            case 26:
                this.StartBirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 28:
                this.StartRegisterDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.EndRegisterDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 30:
                this.StartJoinDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 31:
                this.EndJoinDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 32:

            #line 246 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearFilterBtnClickedEvent);

            #line default
            #line hidden
                return;

            case 33:
                this.LengthFilterBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:

            #line 259 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FilterBtnClickedEvent);

            #line default
            #line hidden
                return;

            case 35:
                this.PageListBox = ((System.Windows.Controls.ListBox)(target));

            #line 267 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.PageListBox.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.SelectedPageEvent);

            #line default
            #line hidden
                return;

            case 36:
                this.ResultCountBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 37:
                this.MembersGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 39:
                this.IDColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.NameColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 41:
                this.LastNameColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 42:
                this.SexColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 43:
                this.BDateColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 44:
                this.BWilayaColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 45:
                this.BCommuneColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 46:
                this.StdLvlColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 47:
                this.FunctionColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 48:
                this.WorkAreaColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 49:
                this.CWilayaColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 50:
                this.CCommuneColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 51:
                this.JoinDateColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }