internal static Information GetNoPermissionInfoPanel() { Information infoPanel = new Information(); infoPanel.Height = 30; infoPanel.InfoMessage = ResourceHelper.GetReourceValue("Common_NoPermission"); return infoPanel; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Medical.Apartment.Silverlight.UI;component/Controls/UserAccount.xaml", System.UriKind.Relative)); this.panelUserAccount = ((System.Windows.Controls.StackPanel)(this.FindName("panelUserAccount"))); this.lblUsername = ((System.Windows.Controls.TextBlock)(this.FindName("lblUsername"))); this.uiUsers = ((Telerik.Windows.Controls.RadComboBox)(this.FindName("uiUsers"))); this.lblPassword = ((System.Windows.Controls.TextBlock)(this.FindName("lblPassword"))); this.txtPassword = ((System.Windows.Controls.PasswordBox)(this.FindName("txtPassword"))); this.lblEmail = ((System.Windows.Controls.TextBlock)(this.FindName("lblEmail"))); this.txtEmail = ((System.Windows.Controls.TextBox)(this.FindName("txtEmail"))); this.gridExtraInfo = ((System.Windows.Controls.Grid)(this.FindName("gridExtraInfo"))); this.chkAccountApproved = ((System.Windows.Controls.CheckBox)(this.FindName("chkAccountApproved"))); this.chkResetPassword = ((System.Windows.Controls.CheckBox)(this.FindName("chkResetPassword"))); this.chkChangePasswordQuestionAnswer = ((System.Windows.Controls.CheckBox)(this.FindName("chkChangePasswordQuestionAnswer"))); this.txtResetPasswordInfo = ((System.Windows.Controls.TextBox)(this.FindName("txtResetPasswordInfo"))); this.txtPasswordQuestionLabel = ((System.Windows.Controls.TextBlock)(this.FindName("txtPasswordQuestionLabel"))); this.txtPasswordQuestion = ((System.Windows.Controls.TextBox)(this.FindName("txtPasswordQuestion"))); this.txtPasswordAnswerLabel = ((System.Windows.Controls.TextBlock)(this.FindName("txtPasswordAnswerLabel"))); this.txtPasswordAnswer = ((System.Windows.Controls.TextBox)(this.FindName("txtPasswordAnswer"))); this.lblInputPassword = ((System.Windows.Controls.TextBlock)(this.FindName("lblInputPassword"))); this.txtInputPassword = ((System.Windows.Controls.PasswordBox)(this.FindName("txtInputPassword"))); this.ucInformation = ((Medical.Apartment.Silverlight.UI.Information)(this.FindName("ucInformation"))); this.uiImageOnline = ((System.Windows.Controls.Image)(this.FindName("uiImageOnline"))); this.btnUnlock = ((Medical.Apartment.Silverlight.UI.SingleClickButton)(this.FindName("btnUnlock"))); this.btnSave = ((Medical.Apartment.Silverlight.UI.SingleClickButton)(this.FindName("btnSave"))); }