コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.dazzleButtonClose = ((WPF.DazzleUI2.Controls.DazzleButton)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\ShiftsSetting.xaml"
                ((DentistManagement.View.ShiftsSetting)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.dazzleButtonClose = ((WPF.DazzleUI2.Controls.DazzleButton)(target));
                return;

            case 3:
                this.dgShiftsSet = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabControlWndWorkMatters = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.TabItemPositionReportingRecord = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 4:
                this.CalendarListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.CalendarListBox1 = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

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

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

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

            #line 144 "..\..\..\MainWindow.xaml"
                this.btnDay.Click += new System.Windows.RoutedEventHandler(this.btnDay_Click);

            #line default
            #line hidden
                return;

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

            #line 145 "..\..\..\MainWindow.xaml"
                this.btnWeek.Click += new System.Windows.RoutedEventHandler(this.btnWeek_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnMonth = ((System.Windows.Controls.Button)(target));

            #line 146 "..\..\..\MainWindow.xaml"
                this.btnMonth.Click += new System.Windows.RoutedEventHandler(this.btnMonth_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.AA = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.btnPrevious = ((System.Windows.Controls.Button)(target));

            #line 152 "..\..\..\MainWindow.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnCurrent = ((System.Windows.Controls.Button)(target));

            #line 177 "..\..\..\MainWindow.xaml"
                this.btnCurrent.Click += new System.Windows.RoutedEventHandler(this.btnCurrent_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 195 "..\..\..\MainWindow.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.lbDateRight = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.gdMonth = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.CalendarListBoxByMonth = ((System.Windows.Controls.ListBox)(target));
                return;

            case 21:
                this.gdDay = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.gd = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.dayCanvas = ((DentistManagement.View.DayCanvasUserControl)(target));
                return;

            case 24:
                this.caDayListBox = ((System.Windows.Controls.Canvas)(target));
                return;

            case 25:
                this.CalendarListBoxByDay = ((System.Windows.Controls.ListBox)(target));
                return;

            case 26:
                this.gdWeek = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.lbSunday = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lbMonday = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.lbTuesday = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.lbWednesday = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.lbThursday = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lbFriday = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.lbSaturday = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.dayCanvasWeek = ((DentistManagement.View.WeekCanvasUserControl)(target));
                return;

            case 35:
                this.caWeekListBox = ((System.Windows.Controls.Canvas)(target));
                return;

            case 36:
                this.CalendarListBoxByWeek = ((System.Windows.Controls.ListBox)(target));
                return;

            case 37:
                this.dazzleButtonMin = ((WPF.DazzleUI2.Controls.DazzleButton)(target));
                return;

            case 38:
                this.dazzleButtonClose = ((WPF.DazzleUI2.Controls.DazzleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 3:
                this.imageReaderStasus = ((System.Windows.Controls.Image)(target));
                return;

            case 4:

            #line 19 "..\..\MainWindow.xaml"
                ((WPF.DazzleUI2.Controls.DazzleTabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DazzleTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.serstudent = ((System.Windows.Controls.MenuItem)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.serstudent.Click += new System.Windows.RoutedEventHandler(this.serstudent_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.meuRecharge = ((System.Windows.Controls.MenuItem)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.meuRecharge.Click += new System.Windows.RoutedEventHandler(this.meuRecharge_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.serManage = ((System.Windows.Controls.MenuItem)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.serManage.Click += new System.Windows.RoutedEventHandler(this.serManage_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.frameStu = ((System.Windows.Controls.Frame)(target));
                return;

            case 9:
                this.perBook = ((System.Windows.Controls.MenuItem)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.perBook.Click += new System.Windows.RoutedEventHandler(this.perBook_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.muiBook = ((System.Windows.Controls.MenuItem)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.muiBook.Click += new System.Windows.RoutedEventHandler(this.muiBook_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.frameBook = ((System.Windows.Controls.Frame)(target));
                return;

            case 12:
                this.frameSer = ((System.Windows.Controls.Frame)(target));
                return;

            case 13:
                this.drvInfo = ((System.Windows.Controls.MenuItem)(target));

            #line 124 "..\..\MainWindow.xaml"
                this.drvInfo.Click += new System.Windows.RoutedEventHandler(this.drvInfo_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.carInfo = ((System.Windows.Controls.MenuItem)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.carInfo.Click += new System.Windows.RoutedEventHandler(this.carInfo_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.trainerInfo = ((System.Windows.Controls.MenuItem)(target));

            #line 137 "..\..\MainWindow.xaml"
                this.trainerInfo.Click += new System.Windows.RoutedEventHandler(this.trainerInfo_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.frameInfo = ((System.Windows.Controls.Frame)(target));
                return;

            case 17:
                this.userInfo = ((System.Windows.Controls.MenuItem)(target));

            #line 161 "..\..\MainWindow.xaml"
                this.userInfo.Click += new System.Windows.RoutedEventHandler(this.userInfo_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.baseInfo = ((System.Windows.Controls.MenuItem)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.baseInfo.Click += new System.Windows.RoutedEventHandler(this.baseInfo_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.frameUser = ((System.Windows.Controls.Frame)(target));
                return;

            case 20:
                this.tbxTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:

            #line 207 "..\..\MainWindow.xaml"
                ((WPF.DazzleUI2.Controls.DazzleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.DazzleButton_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 218 "..\..\MainWindow.xaml"
                ((WPF.DazzleUI2.Controls.DazzleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.DazzleButton_Click_2);

            #line default
            #line hidden
                return;

            case 23:

            #line 229 "..\..\MainWindow.xaml"
                ((WPF.DazzleUI2.Controls.DazzleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.DazzleButton_Click_2);

            #line default
            #line hidden
                return;

            case 24:
                this.menu = ((WPF.DazzleUI2.Controls.DazzleButton)(target));

            #line 240 "..\..\MainWindow.xaml"
                this.menu.Click += new System.Windows.RoutedEventHandler(this.menu_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.menu1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 26:

            #line 259 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 260 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 28:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 29:
                this.statusBarItem = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((Demo.MainWindow)(target)).MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DazzleWindow_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.CloseButton = ((WPF.DazzleUI2.Controls.DazzleButton)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.MaximizationButton = ((WPF.DazzleUI2.Controls.DazzleButton)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.MaximizationButton.Click += new System.Windows.RoutedEventHandler(this.MaximizationButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.MinimizeButton = ((WPF.DazzleUI2.Controls.DazzleButton)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.MinimizeButton.Click += new System.Windows.RoutedEventHandler(this.MinimizeButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ClassListBox = ((System.Windows.Controls.ListBox)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.ClassListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ClassListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.ClassInforLable = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.TimetablesGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 83 "..\..\MainWindow.xaml"
                this.AddCourse.Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 87 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 91 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 95 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 99 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 104 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 108 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

            #line 116 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

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

            case 18:

            #line 120 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 125 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 129 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 133 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 137 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 146 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 150 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 154 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 158 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 28:

            #line 162 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCourse_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.Cancel = ((System.Windows.Controls.MenuItem)(target));

            #line 167 "..\..\MainWindow.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ClassInfoListBox = ((System.Windows.Controls.ListBox)(target));

            #line 172 "..\..\MainWindow.xaml"
                this.ClassInfoListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ClassInfoListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.ClassroomListBox = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\..\..\View\WorkforceManagement.xaml"
                ((DentistManagement.View.WorkforceManagement)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.ButtonListUC = ((DentistManagement.View.ButtonListUC)(target));
                return;

            case 5:
                this.gdWorkManagement = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.dgWorkManagement = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.header29 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 8:
                this.header30 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 9:
                this.header31 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 10:
                this.headerRest = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.headerAllwork = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.headerLeave = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.headerEarly = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.headerLate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.headerAbsence = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.headerEarlyWork = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.headerMinddleWork = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.headerLateWork = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 19:
                this.labUser = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.dazzleButtonClose = ((WPF.DazzleUI2.Controls.DazzleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }