当前位置: 首页>>代码示例>>C#>>正文


C# Panel.Equals方法代码示例

本文整理汇总了C#中System.Web.UI.WebControls.Panel.Equals方法的典型用法代码示例。如果您正苦于以下问题:C# Panel.Equals方法的具体用法?C# Panel.Equals怎么用?C# Panel.Equals使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Web.UI.WebControls.Panel的用法示例。


在下文中一共展示了Panel.Equals方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelFavourites.Visible = p.Equals(PanelFavourites);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:4,代码来源:Favourites.ascx.cs

示例2: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelSignUpForm.Visible = p.Equals(PanelSignUpForm);
			PanelAlreadyPromoter.Visible = p.Equals(PanelAlreadyPromoter);
			PanelEditDone.Visible = p.Equals(PanelEditDone);
			PanelAddDone.Visible = p.Equals(PanelAddDone);
			PanelPic.Visible = p.Equals(PanelPic);
			PanelBrandVenueError.Visible = p.Equals(PanelBrandVenueError);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:9,代码来源:Edit.ascx.cs

示例3: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelEnabled.Visible = p.Equals(PanelEnabled);

			PanelNoPhoto.Visible = p.Equals(PanelNoPhoto);

			PanelChecklist.Visible = p.Equals(PanelChecklist);
			PanelIntro1.Visible = p.Equals(PanelIntro1);
			PanelSignUpForm.Visible = p.Equals(PanelSignUpForm);
			PanelSignedUp.Visible = p.Equals(PanelSignedUp);
			PanelAlreadySignedUp.Visible = p.Equals(PanelAlreadySignedUp);
			PanelPastEventConfirm.Visible = p.Equals(PanelPastEventConfirm);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:13,代码来源:Spotters.ascx.cs

示例4: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelChange.Visible = p.Equals(PanelChange);
			PanelDone.Visible = p.Equals(PanelDone);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:5,代码来源:ChangePassword.ascx.cs

示例5: ChangePanel

		public void ChangePanel(Panel p)
		{
			CurrentArticlesPanel.Visible = p.Equals(CurrentArticlesPanel);
			AddArticlePanel.Visible = p.Equals(AddArticlePanel);
			CantEditPanel.Visible = p.Equals(CantEditPanel);

			EditArticleTitleSummaryPanel.Visible = p.Equals(EditArticleTitleSummaryPanel);
			
			EditArticleSubjectMatterPanel.Visible = p.Equals(EditArticleSubjectMatterPanel);
			
			EditArticlePicturePanel.Visible = p.Equals(EditArticlePicturePanel);
			
			EditArticleBodyPanel.Visible = p.Equals(EditArticleBodyPanel);
			
			EditArticlePhotoUploadPanel.Visible = p.Equals(EditArticlePhotoUploadPanel);
			EditArticleAdminPanel.Visible = p.Equals(EditArticleAdminPanel);
			
			EditArticleParaPanel.Visible = p.Equals(EditArticleParaPanel);

			EditArticleParaPhotoPanel.Visible = p.Equals(EditArticleParaPhotoPanel);

			if (p.Equals(EditArticleTitleSummaryPanel) ||
				p.Equals(EditArticleSubjectMatterPanel) ||
				p.Equals(EditArticlePicturePanel) ||
				p.Equals(EditArticleBodyPanel) ||
				p.Equals(EditArticlePhotoUploadPanel) ||
				p.Equals(EditArticleAdminPanel))
			{
				EditArticleIndexPanel.Visible = true;
			}
			else
			{
				EditArticleIndexPanel.Visible = false;
			}
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:35,代码来源:MyArticles.ascx.cs

示例6: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelNoDetails.Visible = p.Equals(PanelNoDetails);
			PanelDetails.Visible = p.Equals(PanelDetails);
			//PanelNoVerifyEmail.Visible = p.Equals(PanelNoVerifyEmail);
			//PanelUnsubscribedUser.Visible = p.Equals(PanelUnsubscribedUser);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:7,代码来源:Home.ascx.cs

示例7: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelList.Visible = p.Equals(PanelList);
			PanelUpload.Visible = p.Equals(PanelUpload);
			PanelView.Visible = p.Equals(PanelView);
			PanelDelete.Visible = p.Equals(PanelDelete);



		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:10,代码来源:Files.ascx.cs

示例8: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelList.Visible = p.Equals(PanelList);
			PanelEdit.Visible = p.Equals(PanelEdit);
			PanelPic.Visible = p.Equals(PanelPic);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:6,代码来源:Competitions.ascx.cs

示例9: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelNoAccount.Visible = p.Equals(PanelNoAccount);
			PanelPromoterList.Visible = p.Equals(PanelPromoterList);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:5,代码来源:Intro.ascx.cs

示例10: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelSpottings.Visible = p.Equals(PanelSpottings);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:4,代码来源:Spottings.ascx.cs

示例11: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelJoin.Visible = p.Equals(PanelJoin);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:4,代码来源:GroupJoin.ascx.cs

示例12: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelDelete.Visible = p.Equals(PanelDelete);
			PanelError.Visible = p.Equals(PanelError);
			PanelDone.Visible = p.Equals(PanelDone);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:6,代码来源:Delete.ascx.cs

示例13: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelInbox.Visible = p.Equals(PanelInbox);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:4,代码来源:Inbox.ascx.cs

示例14: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelInvite.Visible = p.Equals(PanelInvite);
			PanelNoGroups.Visible = p.Equals(PanelNoGroups);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:5,代码来源:Invite.ascx.cs

示例15: ChangePanel

		void ChangePanel(Panel p)
		{
			PanelPayDone.Visible = p.Equals(PanelPayDone);
			PanelPay.Visible = p.Equals(PanelPay);
			PanelList.Visible = p.Equals(PanelList);
			PanelClose.Visible = p.Equals(PanelClose);
			PanelEdit.Visible = p.Equals(PanelEdit);
			PanelAddError.Visible = p.Equals(PanelAddError);
			PanelAddCreditsError.Visible = p.Equals(PanelAddCreditsError);
			PanelBuy.Visible = p.Equals(PanelBuy);
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:11,代码来源:Guestlists.ascx.cs


注:本文中的System.Web.UI.WebControls.Panel.Equals方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。