public override bool IsOptionsChanged() { var s = setting.GetPacServerSettings(); // basic if (s.port != Lib.Utils.Str2Int(tboxPort.Text) || s.isAutorun != chkIsAutorun.Checked || s.customBlackList != rtboxCustomBlackList.Text || s.customWhiteList != rtboxCustomWhiteList.Text) { return(true); } // custom pac file if (s.isUseCustomPac != this.chkCustomPacFile.Checked || s.customPacFilePath != this.tboxCustomPacFilePath.Text) { return(true); } return(false); }