private void LoadSettingData() { if (SettingObject == null) { return; } txtTimerInterval.Value = SettingObject.TimerIntervalSec < 10 ? "10" : SettingObject.TimerIntervalSec.ToString(CultureInfo.InvariantCulture); txtSenderMobileNo.Value = SettingObject.SmsSenderNumber; txtSenderEmailAddress.Value = SettingObject.SenderEmailAddress; txtSenderEmailPassword.Value = SettingObject.GetSenderEmailNoHashPassword(); txtNotifyMsgTitle.Value = SettingObject.NotifyMessageTitle; txtNotifyMessageContent.Value = SettingObject.NotifyMessageContent; txtReceiverMobiles.Value = string.Join(Splitter + Environment.NewLine, SettingObject.SmsReceiverMobilesNo); txtReceiverEmails.Value = string.Join(Splitter + Environment.NewLine, SettingObject.ReceiverEmails); txtEmailHost.Value = SettingObject.EmailHost; txtEmailHostPort.Value = SettingObject.EmailHostPort.ToString(); txtSmsServiceUsername.Value = SettingObject.SmsServiceUsername; txtSmsServicePassword.Value = SettingObject.GetSmsServiceNoHashPassword(); cmbStatusOn.SelectedValue = (int)SettingObject.NotifyJustStatusChangingTo; chkEnableSMS.Checked = SettingObject.SendSmsEnable; chkEnableEmail.Checked = SettingObject.SendEmailNotifyEnable; }