private OnePage Page2(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var key = "useCgi"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); { //DAT var l = new ListVal(); key = "cgiExtension"; l.Add(new OneVal(key, "", Crlf.Contonie, new CtrlTextBox(Lang.Value(key), 10))); key = "Program"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlFile(Lang.Value(key), 50, kernel))); onePage.Add(new OneVal("cgiCmd", null, Crlf.Nextline, new CtrlDat("", l, 142, Lang.LangKind))); } //DAT key = "cgiTimeout"; onePage.Add(new OneVal(key, 10, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); { //DAT var l = new ListVal(); key = "CgiPath"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "cgiDirectory"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlFolder(Lang.Value(key), 60, kernel))); key = "cgiPath"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), l, 155, Lang.LangKind))); } //DAT return(onePage); }
private OnePage Page1(String name, String title) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 999, 30, 50)); //サーバ基本設定 return(onePage); }
private OnePage Page2(string name, string title) { var onePage = new OnePage(name, title); var key = "useChps"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); key = "minimumLength"; onePage.Add(new OneVal(key, 8, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "disableJoe"; onePage.Add(new OneVal(key, true, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); var list = new ListVal(); key = "useNum"; list.Add(new OneVal(key, true, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); key = "useSmall"; list.Add(new OneVal(key, true, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); key = "useLarge"; list.Add(new OneVal(key, true, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); key = "useSign"; list.Add(new OneVal(key, true, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); key = "groupNeed"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlGroup(Lang.Value(key), list))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 25, 30, 10)); //サーバ基本設定 var key = "domainName"; onePage.Add(new OneVal(key, "example.com", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "bannerMessage"; onePage.Add(new OneVal(key, "$s SMTP $p $v; $d", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "receivedHeader"; onePage.Add(new OneVal(key, "from $h ([$a]) by $s with SMTP id $i for <$t>; $d", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "sizeLimit"; onePage.Add(new OneVal(key, 5000, Crlf.Nextline, new CtrlInt(Lang.Value(key), 8))); key = "errorFrom"; onePage.Add(new OneVal(key, "root@local", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "useNullFrom"; onePage.Add(new OneVal(key, false, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); key = "useNullDomain"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); key = "usePopBeforeSmtp"; onePage.Add(new OneVal(key, false, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); key = "timePopBeforeSmtp"; onePage.Add(new OneVal(key, 10, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "useCheckFrom"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 8080, 60, 300)); //サーバ基本設定 var key = "useRequestLog"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); var list1 = new ListVal(); key = "anonymousAddress"; list1.Add(new OneVal(key, "BlackJumboDog@", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 70))); key = "serverHeader"; list1.Add(new OneVal(key, "BlackJumboDog Version $v", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 70))); key = "anonymousFtp"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlGroup(Lang.Value(key), list1))); key = "useBrowserHedaer"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); var list2 = new ListVal(); list2.Add(new OneVal("addHeaderRemoteHost", false, Crlf.Contonie, new CtrlCheckBox("Remote-Host:"))); list2.Add(new OneVal("addHeaderXForwardedFor", false, Crlf.Contonie, new CtrlCheckBox("X-Forwarded-For:"))); list2.Add(new OneVal("addHeaderForwarded", false, Crlf.Nextline, new CtrlCheckBox("Forwarded:"))); key = "groupAddHeader"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlGroup(Lang.Value(key), list2))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); //nameTag����|�[�g�ԍ���擾���Z�b�g����i�ύX�s�j var tmp = NameTag.Split(':'); var protocolKind = ProtocolKind.Tcp; var port = 0; var targetServer = ""; var targetPort = 0; if (tmp.Length == 4) { //�l������I�ɐݒ� protocolKind = (tmp[0] == "Tunnel-TCP") ? ProtocolKind.Tcp : ProtocolKind.Udp; port = Convert.ToInt32(tmp[1]); targetServer = tmp[2]; targetPort = Convert.ToInt32(tmp[3]); } onePage.Add(CreateServerOption(protocolKind, port, 60, 10)); //�T�[�o��{�ݒ� var key = "targetPort"; onePage.Add(new OneVal(key, targetPort, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "targetServer"; onePage.Add(new OneVal(key, targetServer, Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "idleTime"; onePage.Add(new OneVal(key, 1, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); return onePage; }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Udp, 67, 10, 10)); //�T�[�o��{�ݒ� var key = "leaseTime"; onePage.Add(new OneVal(key, 18000, Crlf.Nextline, new CtrlInt(Lang.Value(key), 8))); key = "startIp"; onePage.Add(new OneVal(key, new Ip(IpKind.V4_0), Crlf.Nextline, new CtrlAddress(Lang.Value(key)))); key = "endIp"; onePage.Add(new OneVal(key, new Ip(IpKind.V4_0), Crlf.Nextline, new CtrlAddress(Lang.Value(key)))); key = "maskIp"; onePage.Add(new OneVal(key, new Ip("255.255.255.0"), Crlf.Nextline, new CtrlAddress(Lang.Value(key)))); key = "gwIp"; onePage.Add(new OneVal(key, new Ip(IpKind.V4_0), Crlf.Nextline, new CtrlAddress(Lang.Value(key)))); key = "dnsIp0"; onePage.Add(new OneVal(key, new Ip(IpKind.V4_0), Crlf.Nextline, new CtrlAddress(Lang.Value(key)))); key = "dnsIp1"; onePage.Add(new OneVal(key, new Ip(IpKind.V4_0), Crlf.Nextline, new CtrlAddress(Lang.Value(key)))); key = "useWpad"; onePage.Add(new OneVal(key, false, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); onePage.Add(new OneVal("wpadUrl", "http://", Crlf.Nextline, new CtrlTextBox("URL", 37))); return(onePage); }
private OnePage Page2(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var key = "useUpperProxy"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); key = "upperProxyServer"; onePage.Add(new OneVal(key, "", Crlf.Contonie, new CtrlTextBox(Lang.Value(key), 30))); key = "upperProxyPort"; onePage.Add(new OneVal(key, 8080, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "upperProxyUseAuth"; onePage.Add(new OneVal(key, false, Crlf.Contonie, new CtrlCheckBox(Lang.Value(key)))); key = "upperProxyAuthName"; onePage.Add(new OneVal(key, "", Crlf.Contonie, new CtrlTextBox(Lang.Value(key), 20))); key = "upperProxyAuthPass"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlHidden(Lang.Value(key), 20))); var list2 = new ListVal(); key = "address"; list2.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "disableAddress"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), list2, 200, Lang.LangKind))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Udp, 53, 10, 30)); //サーバ基本設定 var key = "rootCache"; onePage.Add(new OneVal(key, "named.ca", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "useRD"; onePage.Add(new OneVal(key, true, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); var list = new ListVal(); key = "soaMail"; list.Add(new OneVal(key, "postmaster", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "soaSerial"; list.Add(new OneVal(key, 1, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "soaRefresh"; list.Add(new OneVal(key, 3600, Crlf.Contonie, new CtrlInt(Lang.Value(key), 5))); key = "soaRetry"; list.Add(new OneVal(key, 300, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "soaExpire"; list.Add(new OneVal(key, 360000, Crlf.Contonie, new CtrlInt(Lang.Value(key), 5))); key = "soaMinimum"; list.Add(new OneVal(key, 3600, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "GroupSoa"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlGroup(Lang.Value(key), list))); return(onePage); }
private OnePage Page5(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var key = "confirmDocument"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlMemo(Lang.Value(key), 600, 360))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 5050, 30, 10)); //サーバ基本設定 return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 10001, 60, 1)); //�T�[�o��{�ݒ� var key = "password"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlHidden(Lang.Value(key), 20))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var key = "dir"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlFolder(Lang.Value(key), 40, kernel))); key = "useDetailsLog"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox((Lang.Value(key))))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 5060, 30, 30)); //サーバ基本設定 var key = "sampleText"; onePage.Add(new OneVal(key, "Sample Server : ", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 60))); return(onePage); }
private OnePage Page6(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var l = new ListVal(); var key = "string"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); key = "limitString"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), l, 300, Lang.LangKind))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var list = new ListVal(); var key = "name"; list.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 80))); key = "authority"; list.Add(new OneVal(key, true, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); onePage.Add(new OneVal("domainList", null, Crlf.Nextline, new CtrlDat("", list, 400, Lang.LangKind))); return(onePage); }
private OnePage Page3(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var key = "useSsi"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); key = "ssiExt"; onePage.Add(new OneVal(key, "html,htm", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "useExec"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Udp, 162, 30, 10)); //サーバ基本設定 // sample // var key = "SnmptrapText"; // onePage.Add(new OneVal(key, "Snmptrap Server : ", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 50))); return(onePage); }
private OnePage Page10(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var key = "encode"; onePage.Add(new OneVal(key, 0, Crlf.Nextline, new CtrlComboBox(Lang.Value(key), new[] { "UTF-8", "SHIFT-JIS", "EUC" }, 100))); key = "indexDocument"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlMemo(Lang.Value(key), OptionDlg.Width() - 15, 145))); key = "errorDocument"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlMemo(Lang.Value(key), OptionDlg.Width() - 15, 145))); return(onePage); }
private OnePage Page2(string name, string title) { var onePage = new OnePage(name, title); var listVal = new ListVal(); var key = "userName"; listVal.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "password"; listVal.Add(new OneVal(key, "", Crlf.Nextline, new CtrlHidden(Lang.Value(key), 30))); key = "user"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), listVal, 250, Lang.LangKind))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 8023, 60, 10)); //�T�[�o��{�ݒ� var key = "idleTime"; onePage.Add(new OneVal(key, 1, Crlf.Contonie, new CtrlInt(Lang.Value(key), 5))); return(onePage); }
private OnePage Page7(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var l = new ListVal(); var key = "aliasUser"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "aliasName"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 80))); key = "aliasList"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), l, 250, Lang.LangKind))); return(onePage); }
private OnePage Page2(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var listVal = new ListVal(); var key = "fromFolder"; listVal.Add(new OneVal(key, "", Crlf.Nextline, new CtrlFolder(Lang.Value(key), 70, kernel))); key = "toFolder"; listVal.Add(new OneVal(key, "", Crlf.Nextline, new CtrlFolder(Lang.Value(key), 70, kernel))); key = "mountList"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), listVal, 360, Lang.LangKind))); return(onePage); }
private OnePage Page9(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var l = new ListVal(); var key = "group"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 20))); key = "userName"; l.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 40))); key = "groupList"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), l, 350, Lang.LangKind))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var list = new ListVal(); list.Add(new OneVal("type", 0, Crlf.Nextline, new CtrlComboBox("Type", new [] { "A(PTR)", "NS", "MX", "CNAME", "AAAA" }, 80))); list.Add(new OneVal("name", "", Crlf.Contonie, new CtrlTextBox("Name", 30))); list.Add(new OneVal("alias", "", Crlf.Nextline, new CtrlTextBox("Alias", 30))); list.Add(new OneVal("address", "", Crlf.Contonie, new CtrlTextBox("Address", 30))); list.Add(new OneVal("priority", 10, Crlf.Nextline, new CtrlInt("Priority", 5))); onePage.Add(new OneVal("resourceList", null, Crlf.Nextline, new CtrlOrgDat("", list, 350, Lang.LangKind))); return(onePage); }
private OnePage Page3(string name, string title) { var onePage = new OnePage(name, title); var key = "useAutoAcl"; onePage.Add(new OneVal(key, false, Crlf.Nextline, new CtrlCheckBox(Lang.Value(key)))); key = "autoAclLabel"; onePage.Add(new OneVal(key, Lang.Value(key), Crlf.Nextline, new CtrlLabel(Lang.Value(key)))); key = "autoAclMax"; onePage.Add(new OneVal(key, 5, Crlf.Contonie, new CtrlInt(Lang.Value(key), 5))); key = "autoAclSec"; onePage.Add(new OneVal(key, 60, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); var list = new ListVal(); var key = "user"; list.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 250))); key = "mlList"; onePage.Add(new OneVal(key, null, Crlf.Nextline, new CtrlDat(Lang.Value(key), list, 250, Lang.LangKind))); return(onePage); }
private OnePage Page1(string name, string title) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 110, 30, 10)); //�T�[�o��{�ݒ� var key = "bannerMessage"; onePage.Add(new OneVal(key, "$p (Version $v) ready", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 80))); key = "authType"; onePage.Add(new OneVal(key, 0, Crlf.Nextline, new CtrlRadio(Lang.Value(key), new[] { Lang.Value(key + "1"), Lang.Value(key + "2"), Lang.Value(key + "3") }, 600, 2))); key = "authTimeout"; onePage.Add(new OneVal(key, 30, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); return(onePage); }
//listValの初期化 // protected void Init() { // // // //「ACL」タブの追加 // if (_useAcl) { // var list = new ListVal(); // list.Add(new OneVal("enableAcl", 0, Crlf.Nextline, new CtrlRadio((Kernel.IsJp()) ? "指定したアドレスからのアクセスのみを" : "Access of ths user who appoint it", new List<string> { (Kernel.IsJp()) ? "許可する" : "Allow", (Kernel.IsJp()) ? "禁止する" : "Deny" }, OptionDlg.Width() - 15, 2))); // {//DAT // var l = new ListVal(); // l.Add(new OneVal("aclName", "", Crlf.Nextline, new CtrlTextBox((Kernel.IsJp()) ? "名前(表示名)" : "Name(Display)", 200))); // l.Add(new OneVal("aclAddress", "", Crlf.Nextline, new CtrlTextBox((Kernel.IsJp()) ? "アドレス" : "Address", 300))); // list.Add(new OneVal("acl", null, Crlf.Nextline, new CtrlDat((Kernel.IsJp()) ? "利用者(アドレス)の指定" : "Access Control List", l, 600, 340, Kernel.IsJp()))); // }//DAT // Add(new OneVal("ACL", list, Crlf.Nextline, new CtrlTabPage("ACL"))); // } // // //名前重複の確認 + ar.Valsの初期化 // foreach (var a in ListVal.Vals) { // if (1 != ListVal.Vals.Count(o => o.Name == a.Name)) { // throw new Exception(string.Format("Name repetition {0}-{1}\r\n", this, a.Name)); // } // } // // //レジストリからの読み込み // _iniDb.Read(NameTag, ListVal); // } // protected OnePage PageAcl() { var onePage = new OnePage("ACL", "ACL"); onePage.Add(new OneVal("enableAcl", 0, Crlf.Nextline, new CtrlRadio(_isJp ? "指定したアドレスからのアクセスのみを": "Access of ths user who appoint it", new[] { _isJp ? "許可する" : "Allow", _isJp ? "禁止する" : "Deny" }, OptionDlg.Width() - 15, 2))); var list = new ListVal(); list.Add(new OneVal("aclName", "", Crlf.Nextline, new CtrlTextBox(_isJp ? "名前(表示名)" : "Name(Display)", 20))); list.Add(new OneVal("aclAddress", "", Crlf.Nextline, new CtrlTextBox(_isJp ? "アドレス" : "Address", 20))); onePage.Add(new OneVal("acl", null, Crlf.Nextline, new CtrlDat(_isJp ? "利用者(アドレス)の指定" : "Access Control List", list, 310, Lang.LangKind))); return(onePage); }
private OnePage Page1(string name, string title, Kernel kernel) { var onePage = new OnePage(name, title); onePage.Add(CreateServerOption(ProtocolKind.Tcp, 8110, 60, 10)); //サーバ基本設定 var key = "targetPort"; onePage.Add(new OneVal(key, 110, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); key = "targetServer"; onePage.Add(new OneVal(key, "", Crlf.Nextline, new CtrlTextBox(Lang.Value(key), 30))); key = "idleTime"; onePage.Add(new OneVal(key, 1, Crlf.Nextline, new CtrlInt(Lang.Value(key), 5))); return(onePage); }