/// <summary> /// 初始化树结构 /// </summary> /// <param name="wpfTreeView"></param> private void InitRunningVmsTreeView(WpfTreeView.WpfTreeView wpfTreeView) { int runningGroupIndex = VmManager.Instance.RunningGroupIndex; if (runningGroupIndex == -1) { return; } int groupEndIndex = VmManager.Instance.VmIndexArray[runningGroupIndex, VmManager.Instance.Column - 1]; int endNumber = groupEndIndex == -1 ? VmManager.Instance.MaxVmNumber : groupEndIndex + 1; //string firstLevelNodeText = $"第{runningGroupIndex + 1}组 {VmManager.Instance.VmIndexArray[runningGroupIndex, 0] + 1}-{endNumber}"; string firstLevelNodeText = string.Format(SystemLanguageManager.Instance.ResourceManager.GetString("Group", SystemLanguageManager.Instance.CultureInfo), runningGroupIndex + 1, VmManager.Instance.VmIndexArray[runningGroupIndex, 0] + 1, endNumber); List <WpfTreeViewItem> wpfTreeViewItems = new List <WpfTreeViewItem>(); WpfTreeViewItem topLevelNode = new WpfTreeViewItem() { Caption = firstLevelNodeText, Id = -1, IsExpanded = true, }; wpfTreeViewItems.Add(topLevelNode); for (int i = 0; i < VmManager.Instance.Column; i++) { if (VmManager.Instance.VmIndexArray[runningGroupIndex, i] != -1) { WpfTreeViewItem subNode = new WpfTreeViewItem() { Id = VmManager.Instance.VmIndexArray[runningGroupIndex, i] + 1, Caption = string.Format(SystemLanguageManager.Instance.ResourceManager.GetString("Phone_Num", SystemLanguageManager.Instance.CultureInfo), VmManager.Instance.VmIndexArray[runningGroupIndex, i] + 1), ParentId = -1, }; wpfTreeViewItems.Add(subNode); } } wpfTreeView.SetItemsSourceData(wpfTreeViewItems, item => item.Caption, item => item.IsExpanded, item => item.Id, item => item.ParentId); }
/// <summary> /// 初始化树结构 /// </summary> /// <param name="wpfTreeView"></param> private void InitRunningVmsTreeView(WpfTreeView.WpfTreeView wpfTreeView) { List <WpfTreeViewItem> items = new List <WpfTreeViewItem>(); for (int i = 0; i < VmManager.Instance.Row; i++) { int groupEndIndex = VmManager.Instance.VmIndexArray[i, VmManager.Instance.Column - 1]; int endNumber = groupEndIndex == -1 ? VmManager.Instance.MaxVmNumber : groupEndIndex + 1; string firstLevelNodeText = string.Format(SystemLanguageManager.Instance.ResourceManager.GetString("Group", SystemLanguageManager.Instance.CultureInfo), i + 1, VmManager.Instance.VmIndexArray[i, 0] + 1, endNumber); var firstLevelNode = new WpfTreeViewItem() { Caption = firstLevelNodeText, Id = VmManager.Instance.MaxVmNumber + i + 1, IsExpanded = false, }; items.Add(firstLevelNode); for (int j = 0; j < VmManager.Instance.Column; j++) { if (VmManager.Instance.VmIndexArray[i, j] != -1) { WpfTreeViewItem subNode = new WpfTreeViewItem() { Id = VmManager.Instance.VmIndexArray[i, j] + 1, Caption = string.Format(SystemLanguageManager.Instance.ResourceManager.GetString("Phone_Num", SystemLanguageManager.Instance.CultureInfo), VmManager.Instance.VmIndexArray[i, j] + 1), ParentId = VmManager.Instance.MaxVmNumber + i + 1 }; items.Add(subNode); } } } wpfTreeView.SetItemsSourceData(items, item => item.Caption, item => item.IsExpanded, item => item.Id, item => item.ParentId); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.lblTimelineLike = ((System.Windows.Controls.Label)(target)); #line 15 "..\..\..\ContentViews\MaintainAccountsView.xaml" this.lblTimelineLike.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblTimelineLike_MouseLeftButtonDown); #line default #line hidden return; case 2: this.gridTimelineLike = ((System.Windows.Controls.Grid)(target)); return; case 3: this.treeviewTimeline = ((WpfTreeView.WpfTreeView)(target)); return; case 4: this.lblSlideNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.tbSlideNumber = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.lblTimes = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.lblLikeNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.tbLikeNumber = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.lblTimes2 = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.lblClickInterval = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.tbBeginningInterval = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.tbEndingInterval = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.lblIntervalUnit = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.btnSubmitTask_TimelineLike = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\..\ContentViews\MaintainAccountsView.xaml" this.btnSubmitTask_TimelineLike.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_TimelineLike_Click); #line default #line hidden return; case 15: this.lblFriendsTimelineLike = ((System.Windows.Controls.Label)(target)); #line 53 "..\..\..\ContentViews\MaintainAccountsView.xaml" this.lblFriendsTimelineLike.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblFriendsTimelineLike_MouseLeftButtonDown); #line default #line hidden return; case 16: this.gridFriendTimelineLike = ((System.Windows.Controls.Grid)(target)); return; case 17: this.treeviewTimeline2 = ((WpfTreeView.WpfTreeView)(target)); return; case 18: this.lblSlideNumber2 = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.tbSlideNumber2 = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.lblTimes3 = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.lblLikeNumber2 = ((System.Windows.Controls.TextBlock)(target)); return; case 22: this.tbLikeNumber2 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.lblTimes4 = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.lblClickInterval2 = ((System.Windows.Controls.TextBlock)(target)); return; case 25: this.tbBeginningInterval2 = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.tbEndingInterval2 = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.lblIntervalUnit2 = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.lblClickFriendsNumber = ((System.Windows.Controls.TextBlock)(target)); return; case 29: this.tbClickFriendsNumber = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.lblTimes5 = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.btnSubmitTask_TimelineLike2 = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\..\ContentViews\MaintainAccountsView.xaml" this.btnSubmitTask_TimelineLike2.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_TimelineLike2_Click); #line default #line hidden return; case 32: this.lblMaintainAccounts = ((System.Windows.Controls.Label)(target)); #line 99 "..\..\..\ContentViews\MaintainAccountsView.xaml" this.lblMaintainAccounts.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblMaintainAccounts_MouseLeftButtonDown); #line default #line hidden return; case 33: this.gridMaintainAccount = ((System.Windows.Controls.Grid)(target)); return; case 34: this.treeviewMaintainAccounts = ((WpfTreeView.WpfTreeView)(target)); return; case 35: this.rbLikePages = ((System.Windows.Controls.RadioButton)(target)); return; case 36: this.rbLikeHomepage = ((System.Windows.Controls.RadioButton)(target)); return; case 37: this.lblIsLoopExecution = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.rbSingleExecution = ((System.Windows.Controls.RadioButton)(target)); return; case 39: this.rbLoopExecution = ((System.Windows.Controls.RadioButton)(target)); return; case 40: this.lblLoopInterval = ((System.Windows.Controls.TextBlock)(target)); return; case 41: this.tbBeginningInterval3 = ((System.Windows.Controls.TextBox)(target)); return; case 42: this.tbEndingInterval3 = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.lblIntervalUnit3 = ((System.Windows.Controls.TextBlock)(target)); return; case 44: this.lblLoopTimes = ((System.Windows.Controls.TextBlock)(target)); return; case 45: this.tbLoopTimes = ((System.Windows.Controls.TextBox)(target)); return; case 46: this.cbIsInfinite = ((System.Windows.Controls.CheckBox)(target)); return; case 47: this.lblLikeNumber3 = ((System.Windows.Controls.TextBlock)(target)); return; case 48: this.tbLikeNumber3 = ((System.Windows.Controls.TextBox)(target)); return; case 49: this.lblSlideNumber3 = ((System.Windows.Controls.TextBlock)(target)); return; case 50: this.tbSlideNumber3 = ((System.Windows.Controls.TextBox)(target)); return; case 51: this.lblInterval = ((System.Windows.Controls.TextBlock)(target)); return; case 52: this.tbBeginningInterval4 = ((System.Windows.Controls.TextBox)(target)); return; case 53: this.tbEndingInterval4 = ((System.Windows.Controls.TextBox)(target)); return; case 54: this.lblIntervalUnit4 = ((System.Windows.Controls.TextBlock)(target)); return; case 55: this.lblHomepage = ((System.Windows.Controls.TextBlock)(target)); return; case 56: this.tbHomepage = ((System.Windows.Controls.TextBox)(target)); return; case 57: this.btnSubmitTask_MaintainAccounts = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabGroupManagement = ((System.Windows.Controls.TabItem)(target)); return; case 2: this.lblGroupManagement = ((System.Windows.Controls.Label)(target)); #line 15 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.lblGroupManagement.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblGroupManagement_MouseLeftButtonDown); #line default #line hidden return; case 3: this.treeviewGroupManagement = ((WpfTreeView.WpfTreeView)(target)); return; case 4: this.lblOperationTimes = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.tbOperationTimes = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.lblTimes = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.lblClickingInterval = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.tbBeginningInterval = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.tbEndingInterval = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblIntervalUnit = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.lblGroupTypeTags = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.tbGroupTypeTags = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.lblGroupTypeTagsTips = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.rbAddGroupMember = ((System.Windows.Controls.RadioButton)(target)); return; case 15: this.rbAddGroupAdmin = ((System.Windows.Controls.RadioButton)(target)); return; case 16: this.lblAddLanguage = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.cbSimplifiedChinese = ((System.Windows.Controls.CheckBox)(target)); return; case 18: this.cbTraditionalChinese = ((System.Windows.Controls.CheckBox)(target)); return; case 19: this.cbEnglish = ((System.Windows.Controls.CheckBox)(target)); return; case 20: this.btnSubmitTask_GroupManagement = ((System.Windows.Controls.Button)(target)); return; case 21: this.tabSubscribeHomepage = ((System.Windows.Controls.TabItem)(target)); return; case 22: this.lblSubscribeHomepage = ((System.Windows.Controls.Label)(target)); #line 66 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.lblSubscribeHomepage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSubscribeHomepage_MouseLeftButtonDown); #line default #line hidden return; case 23: this.tvAttentionHomePage = ((WpfTreeView.WpfTreeView)(target)); return; case 24: this.lblOperationPhoneFrequency = ((System.Windows.Controls.TextBlock)(target)); return; case 25: this.txtOperationPhoneFrequency = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.lblTimes32 = ((System.Windows.Controls.TextBlock)(target)); return; case 27: this.lblOperationTimeInterval = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.txtOperationTimeIntervaMin = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.txtEndingIntervalMax = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.lblHomePageIntervalUnit = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.lblHomePage = ((System.Windows.Controls.TextBlock)(target)); return; case 32: this.txtHomePage = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.btnSubmitTask_AttentionHomePage = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.btnSubmitTask_AttentionHomePage.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_AttentionHomePage_Click); #line default #line hidden return; case 34: this.tabInviteFriendsToGroup = ((System.Windows.Controls.TabItem)(target)); return; case 35: this.lblInviteFriendsToGroup = ((System.Windows.Controls.Label)(target)); #line 104 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.lblInviteFriendsToGroup.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblInviteFriendsToGroup_MouseLeftButtonDown); #line default #line hidden return; case 36: this.tvInviteToGroup = ((WpfTreeView.WpfTreeView)(target)); return; case 37: this.lblOperationTimesPerPhone = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.tbOperationTimesPerPhone = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.lblTimes2 = ((System.Windows.Controls.TextBlock)(target)); return; case 40: this.lblClickingInterval2 = ((System.Windows.Controls.TextBlock)(target)); return; case 41: this.tbBeginningIntervalMin = ((System.Windows.Controls.TextBox)(target)); return; case 42: this.tbEndingIntervalMax = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.lblIntervalUnit2 = ((System.Windows.Controls.TextBlock)(target)); return; case 44: this.lblGroupName = ((System.Windows.Controls.TextBlock)(target)); return; case 45: this.tbGroupName = ((System.Windows.Controls.TextBox)(target)); return; case 46: this.btnSubmitTask_InviteToGroup = ((System.Windows.Controls.Button)(target)); #line 136 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.btnSubmitTask_InviteToGroup.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_InviteToGroup_Click); #line default #line hidden return; case 47: this.tabInviteFriendsToLike = ((System.Windows.Controls.TabItem)(target)); return; case 48: this.lblInviteFriendsToLike = ((System.Windows.Controls.Label)(target)); #line 144 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.lblInviteFriendsToLike.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblInviteFriendsToLike_MouseLeftButtonDown); #line default #line hidden return; case 49: this.tvInviteToPraise = ((WpfTreeView.WpfTreeView)(target)); return; case 50: this.lblOperatingFrequency = ((System.Windows.Controls.TextBlock)(target)); return; case 51: this.txtOperationTimes = ((System.Windows.Controls.TextBox)(target)); return; case 52: this.lblTimesThumbs = ((System.Windows.Controls.TextBlock)(target)); return; case 53: this.lblOperationInterval = ((System.Windows.Controls.TextBlock)(target)); return; case 54: this.tbBeginningIntervMin = ((System.Windows.Controls.TextBox)(target)); return; case 55: this.txtEndingIntervaMax = ((System.Windows.Controls.TextBox)(target)); return; case 56: this.lblIntervalUnit3 = ((System.Windows.Controls.TextBlock)(target)); return; case 57: this.lblGroupName1Praise = ((System.Windows.Controls.TextBlock)(target)); return; case 58: this.txtGroupNamePraise = ((System.Windows.Controls.TextBox)(target)); return; case 59: this.btnSubmitTask_FriendsSomePraise = ((System.Windows.Controls.Button)(target)); #line 174 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.btnSubmitTask_FriendsSomePraise.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_FriendsSomePraise_Click); #line default #line hidden return; case 60: this.tabAddGroupUser = ((System.Windows.Controls.TabItem)(target)); return; case 61: this.lblAddGroupUser = ((System.Windows.Controls.Label)(target)); #line 181 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.lblAddGroupUser.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblAddGroupUser_MouseLeftButtonDown); #line default #line hidden return; case 62: this.gridAddGroupUser = ((System.Windows.Controls.Grid)(target)); return; case 63: this.treeviewAddGroupUser = ((WpfTreeView.WpfTreeView)(target)); return; case 64: this.tbAddPageFriend = ((System.Windows.Controls.TextBlock)(target)); return; case 65: this.rtbAddPageFriend = ((System.Windows.Controls.RichTextBox)(target)); return; case 66: this.tbAddGroupFriend1 = ((System.Windows.Controls.TextBlock)(target)); return; case 67: this.lbl_GroupFriendNums = ((System.Windows.Controls.Label)(target)); return; case 68: this.txt_GroupFriendFriend = ((System.Windows.Controls.TextBox)(target)); return; case 69: this.tbAddGroupFriend2 = ((System.Windows.Controls.TextBlock)(target)); return; case 70: this.lbl_GroupFriendSecoFriend = ((System.Windows.Controls.Label)(target)); return; case 71: this.txt_GroupFriendMinFriend = ((System.Windows.Controls.TextBox)(target)); return; case 72: this.txt_GroupFriendMaxFriend = ((System.Windows.Controls.TextBox)(target)); return; case 73: this.btnGroupFriendSubmit = ((System.Windows.Controls.Button)(target)); #line 213 "..\..\..\ContentViews\GroupAndHomepageView.xaml" this.btnGroupFriendSubmit.Click += new System.Windows.RoutedEventHandler(this.btnGroupFriendSubmit_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabPublishPicAndText = ((System.Windows.Controls.TabItem)(target)); return; case 2: this.lblPublishPicAndText = ((System.Windows.Controls.Label)(target)); #line 16 "..\..\..\ContentViews\PublishPostView.xaml" this.lblPublishPicAndText.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblPublishPicAndText_MouseLeftButtonDown); #line default #line hidden return; case 3: this.gridPublishPicAndText = ((System.Windows.Controls.Grid)(target)); return; case 4: this.treeviewPublishPicAndText = ((WpfTreeView.WpfTreeView)(target)); return; case 5: this.lblEnterCopywriting = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.tbCopywriting = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.btnSelectPics = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSelectPics.Click += new System.Windows.RoutedEventHandler(this.btnSelectPics_Click); #line default #line hidden return; case 8: this.btnDeletePics = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\ContentViews\PublishPostView.xaml" this.btnDeletePics.Click += new System.Windows.RoutedEventHandler(this.btnDeletePics_Click); #line default #line hidden return; case 9: this.lblSelectPicsTips = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.panelPics = ((System.Windows.Forms.Panel)(target)); return; case 11: this.btnSubmitTask_PostMoment = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSubmitTask_PostMoment.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_PostMoment_Click); #line default #line hidden return; case 12: this.tabPublishHomepage = ((System.Windows.Controls.TabItem)(target)); return; case 13: this.lblPublishHomepage = ((System.Windows.Controls.Label)(target)); #line 57 "..\..\..\ContentViews\PublishPostView.xaml" this.lblPublishHomepage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblPublishHomepage_MouseLeftButtonDown); #line default #line hidden return; case 14: this.gridPublishHomepage = ((System.Windows.Controls.Grid)(target)); return; case 15: this.treeviewSendHomepageMessages = ((WpfTreeView.WpfTreeView)(target)); return; case 16: this.lblPostSharing = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.rbMyDynamics = ((System.Windows.Controls.RadioButton)(target)); return; case 18: this.rbGroupDynamics = ((System.Windows.Controls.RadioButton)(target)); return; case 19: this.rbBuddyTimeline = ((System.Windows.Controls.RadioButton)(target)); return; case 20: this.lblSearchHomePageName = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.txtHomepageMessage = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.btnSubmitTask_SendHomepageMsg = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSubmitTask_SendHomepageMsg.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_SendHomepageMsg_Click); #line default #line hidden return; case 23: this.tabSendFriendsMessages = ((System.Windows.Controls.TabItem)(target)); return; case 24: this.lblSendFriendsMessages = ((System.Windows.Controls.Label)(target)); #line 91 "..\..\..\ContentViews\PublishPostView.xaml" this.lblSendFriendsMessages.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSendFriendsMessages_MouseLeftButtonDown); #line default #line hidden return; case 25: this.gridSendFriendsMessage = ((System.Windows.Controls.Grid)(target)); return; case 26: this.treeviewSendFriendsMessages = ((WpfTreeView.WpfTreeView)(target)); return; case 27: this.lblNumberOfTargetFriends = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.tbNumberOfTargetFriends = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.lblClicking_Interval = ((System.Windows.Controls.TextBlock)(target)); return; case 30: this.tbBeginningInterval = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.tbEndingInterval = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.lblIntervalUnit = ((System.Windows.Controls.TextBlock)(target)); return; case 33: this.lblHistoryRecord = ((System.Windows.Controls.TextBlock)(target)); return; case 34: this.rbFromStart = ((System.Windows.Controls.RadioButton)(target)); #line 122 "..\..\..\ContentViews\PublishPostView.xaml" this.rbFromStart.Checked += new System.Windows.RoutedEventHandler(this.rbFromStart_Checked); #line default #line hidden return; case 35: this.rbFromLastPosition = ((System.Windows.Controls.RadioButton)(target)); #line 123 "..\..\..\ContentViews\PublishPostView.xaml" this.rbFromLastPosition.Checked += new System.Windows.RoutedEventHandler(this.rbFromLastPosition_Checked); #line default #line hidden return; case 36: this.lblEnterFriendMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 37: this.tbFriendMessage = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.btnSelectPics2 = ((System.Windows.Controls.Button)(target)); #line 134 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSelectPics2.Click += new System.Windows.RoutedEventHandler(this.btnSelectPics2_Click); #line default #line hidden return; case 39: this.btnDeletePics2 = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\..\ContentViews\PublishPostView.xaml" this.btnDeletePics2.Click += new System.Windows.RoutedEventHandler(this.btnDeletePics2_Click); #line default #line hidden return; case 40: this.lblAddPicsTips = ((System.Windows.Controls.TextBlock)(target)); return; case 41: this.panelPics2 = ((System.Windows.Forms.Panel)(target)); return; case 42: this.btnSubmitTask_SendFriendMsg = ((System.Windows.Controls.Button)(target)); #line 144 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSubmitTask_SendFriendMsg.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_SendFriendMsg_Click); #line default #line hidden return; case 43: this.tabSendGroupMessages = ((System.Windows.Controls.TabItem)(target)); return; case 44: this.lblSendGroupMessages = ((System.Windows.Controls.Label)(target)); #line 151 "..\..\..\ContentViews\PublishPostView.xaml" this.lblSendGroupMessages.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSendGroupMessages_MouseLeftButtonDown); #line default #line hidden return; case 45: this.gridSendGroupMessages = ((System.Windows.Controls.Grid)(target)); return; case 46: this.treeviewSendGroupMessage = ((WpfTreeView.WpfTreeView)(target)); return; case 47: this.lblContentTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 48: this.tbContentTitle = ((System.Windows.Controls.TextBox)(target)); return; case 49: this.lblPrice = ((System.Windows.Controls.TextBlock)(target)); return; case 50: this.tbPrice = ((System.Windows.Controls.TextBox)(target)); return; case 51: this.lblRelatedNames = ((System.Windows.Controls.TextBlock)(target)); return; case 52: this.tbRelatedNames = ((System.Windows.Controls.TextBox)(target)); return; case 53: this.lblRelatedNameTips = ((System.Windows.Controls.TextBlock)(target)); return; case 54: this.lblAddress = ((System.Windows.Controls.TextBlock)(target)); return; case 55: this.tbAddress = ((System.Windows.Controls.TextBox)(target)); return; case 56: this.lblAddressTips = ((System.Windows.Controls.TextBlock)(target)); return; case 57: this.lblDetailContent = ((System.Windows.Controls.TextBlock)(target)); return; case 58: this.tbDetailContent = ((System.Windows.Controls.TextBox)(target)); return; case 59: this.lblRelatedPics = ((System.Windows.Controls.TextBlock)(target)); return; case 60: this.btnSelectPics3 = ((System.Windows.Controls.Button)(target)); #line 214 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSelectPics3.Click += new System.Windows.RoutedEventHandler(this.btnSelectPics3_Click); #line default #line hidden return; case 61: this.btnDeletePics3 = ((System.Windows.Controls.Button)(target)); #line 215 "..\..\..\ContentViews\PublishPostView.xaml" this.btnDeletePics3.Click += new System.Windows.RoutedEventHandler(this.btnDeletePics3_Click); #line default #line hidden return; case 62: this.tbNumberOfPicsPerPhoneTips = ((System.Windows.Controls.TextBlock)(target)); return; case 63: this.cbNumberOfPicsPerPhone = ((System.Windows.Controls.ComboBox)(target)); return; case 64: this.panelPics3 = ((System.Windows.Forms.Panel)(target)); return; case 65: this.btnSubmitTask_SendGroupMsg = ((System.Windows.Controls.Button)(target)); #line 237 "..\..\..\ContentViews\PublishPostView.xaml" this.btnSubmitTask_SendGroupMsg.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_SendGroupMsg_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnGoback = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\..\Views\ClickTestView.xaml" this.btnGoback.Click += new System.Windows.RoutedEventHandler(this.btnGoback_Click); #line default #line hidden return; case 2: this.btnGotoHomepage = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\..\Views\ClickTestView.xaml" this.btnGotoHomepage.Click += new System.Windows.RoutedEventHandler(this.btnGotoHomepage_Click); #line default #line hidden return; case 3: this.btnGetAttachedDevices = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\Views\ClickTestView.xaml" this.btnGetAttachedDevices.Click += new System.Windows.RoutedEventHandler(this.btnGetAttachedDevices_Click); #line default #line hidden return; case 4: this.treeview = ((WpfTreeView.WpfTreeView)(target)); return; case 5: this.tbSearchKey = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.btnSearch = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\..\Views\ClickTestView.xaml" this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click); #line default #line hidden return; case 7: this.cbIsFuzzySearch = ((System.Windows.Controls.CheckBox)(target)); return; case 8: this.tbClickKey = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.tbTargetIndex = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.btnClick = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\..\Views\ClickTestView.xaml" this.btnClick.Click += new System.Windows.RoutedEventHandler(this.btnClick_Click); #line default #line hidden return; case 11: this.cbIsFuzzySearchClick = ((System.Windows.Controls.CheckBox)(target)); return; case 12: this.tbChildKey = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.tbChildIndex = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.tbParentDepth = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.btnClickParent = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\..\Views\ClickTestView.xaml" this.btnClickParent.Click += new System.Windows.RoutedEventHandler(this.btnClickParent_Click); #line default #line hidden return; case 16: this.tbPasteKey = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.btnPaste = ((System.Windows.Controls.Button)(target)); #line 70 "..\..\..\Views\ClickTestView.xaml" this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click); #line default #line hidden return; case 18: this.tbXClick = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.tbYClick = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.btnClickCoordinate = ((System.Windows.Controls.Button)(target)); #line 84 "..\..\..\Views\ClickTestView.xaml" this.btnClickCoordinate.Click += new System.Windows.RoutedEventHandler(this.btnClickCoordinate_Click); #line default #line hidden return; case 21: this.tbAssignmentKey = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.tbAssignment = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.btnAssign = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\..\Views\ClickTestView.xaml" this.btnAssign.Click += new System.Windows.RoutedEventHandler(this.btnAssign_Click); #line default #line hidden return; case 24: this.tbClearKey = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.btnClear = ((System.Windows.Controls.Button)(target)); #line 98 "..\..\..\Views\ClickTestView.xaml" this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click); #line default #line hidden return; case 26: this.tbXSwipe = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.tbYSwipe = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.tbXSwipe2 = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.tbYSwipe2 = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.tbSteps = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.btnSwipe = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\..\Views\ClickTestView.xaml" this.btnSwipe.Click += new System.Windows.RoutedEventHandler(this.btnSwipe_Click); #line default #line hidden return; case 32: this.btnSelctPics = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\..\Views\ClickTestView.xaml" this.btnSelctPics.Click += new System.Windows.RoutedEventHandler(this.btnSelctPics_Click); #line default #line hidden return; case 33: this.tbImagePaths = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.btnImportImages = ((System.Windows.Controls.Button)(target)); #line 123 "..\..\..\Views\ClickTestView.xaml" this.btnImportImages.Click += new System.Windows.RoutedEventHandler(this.btnImportImages_Click); #line default #line hidden return; case 35: this.btnDeleteAll = ((System.Windows.Controls.Button)(target)); #line 124 "..\..\..\Views\ClickTestView.xaml" this.btnDeleteAll.Click += new System.Windows.RoutedEventHandler(this.btnDeleteAll_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabPhoneManagement = ((System.Windows.Controls.TabItem)(target)); return; case 2: this.lblPhoneManagement = ((System.Windows.Controls.Label)(target)); #line 14 "..\..\..\ContentViews\PhoneManagementView.xaml" this.lblPhoneManagement.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblPhoneManagement_MouseLeftButtonDown); #line default #line hidden return; case 3: this.gridPhoneManagement = ((System.Windows.Controls.Grid)(target)); return; case 4: this.treeviewReconstructionSimulator = ((WpfTreeView.WpfTreeView)(target)); return; case 5: this.dgPhoneManagement = ((System.Windows.Controls.DataGrid)(target)); #line 25 "..\..\..\ContentViews\PhoneManagementView.xaml" this.dgPhoneManagement.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dgPhoneManagement_MouseLeftButtonUp); #line default #line hidden return; case 6: this.Id = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.IMEI = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.phoneBrand = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 9: this.phoneType = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.Imsi = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 11: this.Androidid = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 12: this.btnReconstruction = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\..\ContentViews\PhoneManagementView.xaml" this.btnReconstruction.Click += new System.Windows.RoutedEventHandler(this.btnReconstruction_Click); #line default #line hidden return; case 13: this.tbLoginManagement = ((System.Windows.Controls.TabItem)(target)); return; case 14: this.lblLoginManagement = ((System.Windows.Controls.Label)(target)); #line 44 "..\..\..\ContentViews\PhoneManagementView.xaml" this.lblLoginManagement.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblLoginManagement_MouseLeftButtonDown); #line default #line hidden return; case 15: this.gdLoginManagement = ((System.Windows.Controls.Grid)(target)); return; case 16: this.dgAccountManagement = ((System.Windows.Controls.DataGrid)(target)); return; case 17: this.UserId = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 18: this.Login = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 19: this.Password = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 20: this.Explain = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 23: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\ContentViews\PhoneManagementView.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; } this._contentLoaded = true; }