//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { MessagesModuleOptions CurrentMessagesModule = (MessagesModuleOptions)HttpContext.Current.Items["CurrentMessagesModule"]; ucGetAll.ModuleTypeID = CurrentMessagesModule.ModuleTypeID; //----------------------------------------------- if (!IsPostBack) { if (CurrentMessagesModule.HasSpecialAdminText) { this.Page.Title = CurrentMessagesModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetMessageModuleText(CurrentMessagesModule, "Module_CategoriesDefault"); } else { this.Page.Title = CurrentMessagesModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_CategoriesDefault; } } //----------------------------------------------- }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { MessagesModuleOptions CurrentMessagesModule = (MessagesModuleOptions)HttpContext.Current.Items["CurrentMessagesModule"]; ucSendSms.ModuleTypeID = CurrentMessagesModule.ModuleTypeID; ucSendSms.FormSmsTo = FormSMSToTypes.All; //----------------------------------------------- if (!IsPostBack) { if (CurrentMessagesModule.HasSpecialAdminText) { this.Page.Title = CurrentMessagesModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetMessageModuleText(CurrentMessagesModule, "SendSms"); } else { this.Page.Title = CurrentMessagesModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.SendSms; } } //----------------------------------------------- }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { MessagesModuleOptions CurrentMessagesModule = (MessagesModuleOptions)HttpContext.Current.Items["CurrentMessagesModule"]; ucEdit.ModuleTypeID = CurrentMessagesModule.ModuleTypeID; ucEdit.Identifire = CurrentMessagesModule.Identifire; ucEdit.BaseModuleType = ModuleBaseTypes.Messages; //----------------------------------------------- if (!IsPostBack) { if (CurrentMessagesModule.HasSpecialAdminText) { this.Page.Title = CurrentMessagesModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetMessageModuleText(CurrentMessagesModule, "Module_Comments"); } else { this.Page.Title = CurrentMessagesModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_Comments; } } //----------------------------------------------- }