Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DW1 = ((WpfApplication1.DialogWin)(target));
                return;

            case 2:
                this.showQueryCanvasStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.closeQueryCanvasStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.Canvas1 = ((System.Windows.Controls.Canvas)(target));

            #line 193 "..\..\..\DialogWin.xaml"
                this.Canvas1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.button1 = ((WMControl.WMButton)(target));

            #line 206 "..\..\..\DialogWin.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.button2 = ((WMControl.WMButton)(target));

            #line 217 "..\..\..\DialogWin.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

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

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

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

            case 4:
                this.tb_TaskCode = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnMin = ((WMControl.WMButton)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnMax = ((WMControl.WMButton)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.btnMax.Click += new System.Windows.RoutedEventHandler(this.btnMax_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnClose = ((WMControl.WMButton)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Btn_Tidy = ((WMControl.WMTabItem)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.Btn_Tidy.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_Tidy_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 91 "..\..\MainWindow.xaml"
                ((WMControl.WMTabItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 102 "..\..\MainWindow.xaml"
                ((WMControl.WMTabItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_Set_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.radio_muti = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.radio_only = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:

            #line 115 "..\..\MainWindow.xaml"
                ((WMControl.WMTabItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.GetTask_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.sPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.tb_Count = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 141 "..\..\MainWindow.xaml"
                this.tb_keyWord.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 141 "..\..\MainWindow.xaml"
                this.tb_keyWord.LostFocus += new System.Windows.RoutedEventHandler(this.tb_keyWord_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\MainWindow.xaml"
                this.btn_find.Click += new System.Windows.RoutedEventHandler(this.btn_find_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.LogBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 19:
                this.p1 = ((System.Windows.Documents.Paragraph)(target));
                return;

            case 20:
                this.b1 = ((System.Windows.Controls.Button)(target));

            #line 166 "..\..\MainWindow.xaml"
                this.b1.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 21:
                this.l1 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.b2 = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\MainWindow.xaml"
                this.b2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 23:
                this.l2 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.b3 = ((System.Windows.Controls.Button)(target));

            #line 174 "..\..\MainWindow.xaml"
                this.b3.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 25:
                this.l3 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.b4 = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\MainWindow.xaml"
                this.b4.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            case 28:
                this.ViewGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:
                this.View_Work = ((System.Windows.Controls.ListView)(target));

            #line 187 "..\..\MainWindow.xaml"
                this.View_Work.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.View_Work_MouseRightButtonUp);

            #line default
            #line hidden
                return;

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

            #line 194 "..\..\MainWindow.xaml"
                this.cb_All.Click += new System.Windows.RoutedEventHandler(this.AllCheckBox_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.ColumnName = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 33:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 34:
                this.DeletePop = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 35:
                this.DelPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:

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

            #line default
            #line hidden
                return;

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

            case 39:
                this.popPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 40:

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

            #line default
            #line hidden
                return;

            case 41:

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

            #line default
            #line hidden
                return;

            case 42:

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

            #line default
            #line hidden
                return;

            case 43:
                this.BtnCheck = ((System.Windows.Controls.Button)(target));

            #line 271 "..\..\MainWindow.xaml"
                this.BtnCheck.Click += new System.Windows.RoutedEventHandler(this.CheckTask);

            #line default
            #line hidden
                return;

            case 44:
                this.BtnFail = ((System.Windows.Controls.Button)(target));

            #line 272 "..\..\MainWindow.xaml"
                this.BtnFail.Click += new System.Windows.RoutedEventHandler(this.PutTaskFail);

            #line default
            #line hidden
                return;

            case 45:
                this.Popup_Check = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 46:

            #line 283 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblCaption_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 47:
                this.tb_Code = ((System.Windows.Controls.TextBlock)(target));

            #line 284 "..\..\MainWindow.xaml"
                this.tb_Code.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblCaption_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 48:
                this.tb_back = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.Group1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 50:
                this.cb_delete = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 51:
                this.cb_secret = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 52:
                this.cb_无授权 = ((System.Windows.Controls.CheckBox)(target));

            #line 291 "..\..\MainWindow.xaml"
                this.cb_无授权.Click += new System.Windows.RoutedEventHandler(this.cb_无授权_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.cb_无签名 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 54:
                this.cb_DelayDate = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 55:
                this.Group2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 56:
                this.rb_硕士 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 57:
                this.rb_博士 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 58:
                this.rb_博士后 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 59:
                this.rb_待定 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 60:
                this.Group3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 61:
                this.cb_year = ((System.Windows.Controls.CheckBox)(target));

            #line 306 "..\..\MainWindow.xaml"
                this.cb_year.Click += new System.Windows.RoutedEventHandler(this.cb_year_Click);

            #line default
            #line hidden
                return;

            case 62:
                this.tb_year = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.Group4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 64:
                this.rb_yes = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 65:
                this.rb_no = ((System.Windows.Controls.RadioButton)(target));

            #line 314 "..\..\MainWindow.xaml"
                this.rb_no.Checked += new System.Windows.RoutedEventHandler(this.rb_no_Checked);

            #line default
            #line hidden

            #line 314 "..\..\MainWindow.xaml"
                this.rb_no.Unchecked += new System.Windows.RoutedEventHandler(this.rb_no_Unchecked);

            #line default
            #line hidden
                return;

            case 66:
                this.rb_不合格 = ((System.Windows.Controls.RadioButton)(target));

            #line 315 "..\..\MainWindow.xaml"
                this.rb_不合格.Checked += new System.Windows.RoutedEventHandler(this.rb_不合格_Checked);

            #line default
            #line hidden

            #line 315 "..\..\MainWindow.xaml"
                this.rb_不合格.Unchecked += new System.Windows.RoutedEventHandler(this.rb_不合格_Unchecked);

            #line default
            #line hidden
                return;

            case 67:
                this.cb_备注 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 68:

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

            #line default
            #line hidden
                return;

            case 69:
                this.btn_NotDo = ((System.Windows.Controls.Button)(target));

            #line 328 "..\..\MainWindow.xaml"
                this.btn_NotDo.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 70:

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

            #line default
            #line hidden
                return;

            case 71:
                this.Popup_XiaoY = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 72:
                this.DataGrid_XiaoY = ((System.Windows.Controls.DataGrid)(target));

            #line 342 "..\..\MainWindow.xaml"
                this.DataGrid_XiaoY.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.DataGrid_XiaoY_CellEditEnding);

            #line default
            #line hidden
                return;

            case 73:
                this.OK = ((System.Windows.Controls.Button)(target));

            #line 350 "..\..\MainWindow.xaml"
                this.OK.Click += new System.Windows.RoutedEventHandler(this.CancelCheck);

            #line default
            #line hidden
                return;

            case 74:
                this.tb_CurPath = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\MainWindow.xaml"
     ((ClearSpace.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Win_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 7 "..\..\MainWindow.xaml"
     ((ClearSpace.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Min_Btn = ((WMControl.WMButton)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.Min_Btn.Click += new System.Windows.RoutedEventHandler(this.Min_Btn_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Close_Btn = ((WMControl.WMButton)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this.Close_Btn.Click += new System.Windows.RoutedEventHandler(this.Close_Btn_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.NoConnIndicator = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.ConnectedIndicator = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.TransferCompletedIndicator = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.text_TransState = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.PhoneImg = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.text_ComputerName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.text_PhoneName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.UpdatePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     
     #line 75 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateYes_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 76 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateNo_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.OpenFileBtn = ((System.Windows.Controls.TextBlock)(target));
     
     #line 78 "..\..\MainWindow.xaml"
     this.OpenFileBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OpenFile_MouseEnter);
     
     #line default
     #line hidden
     
     #line 78 "..\..\MainWindow.xaml"
     this.OpenFileBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OpenFile_MouseLeave);
     
     #line default
     #line hidden
     
     #line 78 "..\..\MainWindow.xaml"
     this.OpenFileBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OpenFile_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }