亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? registercomponent.js

?? 在流覽器上仿CS界面的JAVASCRIPT腳本
?? JS
字號:
// This component creates a registration form and goes to a web service to// do the actual registration// requires RegistrationServicefunction RegisterComponent(oStringBundle, oRegService) {	// call super()	BiComponent.call(this);	this.stringBundle = oStringBundle;	this.regService = oRegService;	// Create the components/objects	this.messageLabel = new BiLabel;	this.fullNameLabel = new BiLabel;	this.fullNameField = new BiTextField;	this.emailLabel = new BiLabel;	this.emailField = new BiTextField;	this.passwordLabel = new BiLabel;	this.passwordField = new BiPasswordField;	this.password2Label = new BiLabel;	this.password2Field = new BiPasswordField;	this.companyLabel = new BiLabel;	this.companyField = new BiTextField;	this.homePageLabel = new BiLabel;	this.homePageField = new BiTextField;	this.emailUpdatesCheckBox = new BiCheckBox( "", true );	this.requiredGroup = new BiGroupBox;	this.optionalGroup = new BiGroupBox;	this.licenseLabel = new BiLabel;	this.errorLabel = new BiLabel;	this.registerButton = new BiButton;	this.cancelButton = new BiButton;	this.registerProgress = new BiUndeterminedProgressBar;	this.updateStrings();	// set some of the properties for these components	this.messageLabel.setWrap(true);	// this assosciates the label with the field	this.fullNameLabel.setLabelFor(this.fullNameField);	this.emailLabel.setLabelFor(this.emailField);	this.passwordLabel.setLabelFor(this.passwordField);	this.password2Label.setLabelFor(this.password2Field);	this.companyLabel.setLabelFor(this.companyField);	this.homePageLabel.setLabelFor(this.homePageField);	this.errorLabel.setWrap(true);	this.errorLabel.setBorder( new BiBorder(1, "solid", "ThreeDDarkShadow") );	this.errorLabel.setBackColor("Window");	this.errorLabel.setForeColor("WindowText");	this.errorLabel.setPadding(5);	this.errorLabel.setIcon( new BiImage( application.getPath() + "images/exclamation.16.png", 16, 16 ) );	// set the fixed size and position values	// the dynamic position is done in layoutAllChildre*	this.requiredGroup.setLeft(5);	this.requiredGroup.setRight(5);	this.optionalGroup.setLeft(5);	this.optionalGroup.setRight(5);	this.licenseLabel.setLeft(5);	this.licenseLabel.setRight(5);	this.messageLabel.setLeft(10);	this.messageLabel.setRight(10);	this.fullNameLabel.setLeft(10);	this.fullNameLabel.setWidth(105);	this.emailLabel.setLeft(10);	this.emailLabel.setWidth(105);	this.passwordLabel.setLeft(10);	this.passwordLabel.setWidth(105);	this.password2Label.setLeft(10);	this.password2Label.setWidth(105);	this.companyLabel.setLeft(10);	this.companyLabel.setWidth(105);	this.homePageLabel.setLeft(10);	this.homePageLabel.setWidth(105);	this.emailUpdatesCheckBox.setLeft( 10 );	this.emailUpdatesCheckBox.setRight( 10 );	this.fullNameField.setLeft(115);	this.emailField.setLeft(115);	this.passwordField.setLeft(115);	this.password2Field.setLeft(115);	this.companyField.setLeft(115);	this.homePageField.setLeft(115);	this.fullNameField.setRight(10);	this.emailField.setRight(10);	this.passwordField.setRight(10);	this.password2Field.setRight(10);	this.companyField.setRight(10);	this.homePageField.setRight(10);	this.registerProgress.setLeft(10);	this.registerProgress.setRight(10);	this.registerProgress.setVisible(false);	this.errorLabel.setLeft(10);	this.errorLabel.setRight(10);	this.errorLabel.setVisible(false);	this.registerButton.setBottom(10);	this.registerButton.setWidth(80);	this.registerButton.setRight(100);	this.cancelButton.setBottom(10);	this.cancelButton.setWidth(80);	this.cancelButton.setRight(10);	// add all the components	this.add(this.requiredGroup);	this.add(this.optionalGroup);	this.add(this.messageLabel);	this.requiredGroup.add(this.fullNameLabel);	this.requiredGroup.add(this.fullNameField);	this.requiredGroup.add(this.emailLabel);	this.requiredGroup.add(this.emailField);	this.requiredGroup.add(this.passwordLabel);	this.requiredGroup.add(this.passwordField);	this.requiredGroup.add(this.password2Label);	this.requiredGroup.add(this.password2Field);	this.optionalGroup.add(this.companyLabel);	this.optionalGroup.add(this.companyField);	this.optionalGroup.add(this.homePageLabel);	this.optionalGroup.add(this.homePageField);	this.optionalGroup.add(this.emailUpdatesCheckBox);	this.add(this.licenseLabel);	this.add(this.registerButton);	this.add(this.cancelButton);	this.add(this.registerProgress);	this.add(this.errorLabel);	// add event listeners	this.regService.addEventListener("register", this.onWsResult, this);	this.regService.addEventListener("registererror", this.onWsResult, this);	this.registerButton.addEventListener("action", this.register, this);	this.cancelButton.addEventListener("action", this.close, this);	this.stringBundle.addEventListener("change", this.updateStrings, this);}// make RegisterComponent extend BiComponentvar _p = RegisterComponent.prototype = new BiComponent;_p._className = "RegisterComponent";RegisterComponent.LICENSE_URI = "../../../download/license.html";//RegisterComponent.LICENSE_URI = "http://www.bindows.net/download/license.html";// override layoutAllChildrenY to calculate the position_p.layoutAllChildrenY = function () {	var y = 10;	this.messageLabel.setTop(y);	y += this.messageLabel.getHeight() + 10;;	this.requiredGroup.setTop(y);	var y2 = 20;	this.fullNameLabel.setTop(y2);	this.fullNameField.setTop( y2 - 2);	y2 += this.fullNameLabel.getHeight() + 15;	this.emailLabel.setTop(y2);	this.emailField.setTop( y2 - 2 );	y2 += this.emailLabel.getHeight() + 15;	this.passwordLabel.setTop(y2);	this.passwordField.setTop( y2 - 2 );	y2 += this.passwordLabel.getHeight() + 15;	this.password2Label.setTop(y2);	this.password2Field.setTop( y2 - 2 );	y2 += this.password2Label.getHeight() + 15;	this.requiredGroup.setHeight(y2);	//----------------------	y += y2 + 10;	y2 = 20;	this.optionalGroup.setTop(y);	this.companyLabel.setTop(y2);	this.companyField.setTop( y2 - 2 );	y2 += this.companyLabel.getHeight() + 15;	this.homePageLabel.setTop(y2);	this.homePageField.setTop( y2 - 2 );	y2 += this.homePageLabel.getHeight() + 15;	this.emailUpdatesCheckBox.setTop( y2 - 2 );	y2 += this.emailUpdatesCheckBox.getHeight() + 15;	this.optionalGroup.setHeight(y2);	//----------------------	y += y2 + 10;	this.licenseLabel.setTop(y);	y += this.licenseLabel.getHeight() + 10;	this.registerProgress.setTop(y);	this.errorLabel.setTop(y);	// call super.layoutAllChildrenY()	BiComponent.prototype.layoutAllChildrenY.call(this);};// if you override layoutAllChildrenY or layoutAllChildrenX you also need to// override layoutAllChildren. Otherwise your y (or x) changes will not be called// when both width and height are changed_p.layoutAllChildren = function () {	this.layoutAllChildrenY();	this.layoutAllChildrenX();};// this updates the UI and calls the registrationService register_p.register = function () {	var error = this.validate();	if (error != "") {		// since we got an error we show the error label and update its text		this.errorLabel.setVisible(true);		this.errorLabel.setText(error);	}	else {		this.registerButton.setFocused(true);		var fullName = this.fullNameField.getText();		var password = this.passwordField.getText();		var password2 = this.password2Field.getText();		var email = this.emailField.getText();		var company = this.companyField.getText();		var homePage = this.homePageField.getText();		var allowEmail = this.emailUpdatesCheckBox.getChecked();		// call the service (asynchronously)		this.regService.register(fullName, password, email, company, homePage, allowEmail);		// disable fields while we wait for the response from the server		this.setFieldsEnabled(false);		this.registerProgress.setVisible(true);		this.errorLabel.setVisible(false);		// start the progress bar		this.registerProgress.start();	}};_p.close = function () {	application.getWindow().close();};// enables the text fields_p.setFieldsEnabled = function (b) {	this.fullNameField.setEnabled(b);	this.passwordField.setEnabled(b);	this.password2Field.setEnabled(b);	this.companyField.setEnabled(b);	this.homePageField.setEnabled(b);	this.registerButton.setEnabled(b);};// validates the text in the required fields_p.validate = function () {	var fullName = this.fullNameField.getText();	var password = this.passwordField.getText();	var password2 = this.password2Field.getText();	var email = this.emailField.getText();	var error = "";	if (/^\s*$/.test(fullName)) {		error = this.stringBundle.getString("invalidFullName");	}	else if (/^\s*$/.test(password)) {		error = this.stringBundle.getString("invalidPassword");	}	else if (password != password2) {		error = this.stringBundle.getString("passwordsDoNotMatch");	}	else if ( !(/^\S+(\.S+)*@\S+(\.\S+)*$/.test(email)) ) {		error = this.stringBundle.getString("invalidEmail");	}	return error;}// called when the register event is fired from the// registrationService_p.onWsResult = function (e) {	this.registerProgress.stop();	this.setFieldsEnabled(true);	this.registerProgress.setVisible(false);	this.registerProgress.setValue(10);	if (e.result.error) {		this.errorLabel.setText(e.result.errorDetail.string);		this.errorLabel.setVisible(true);	}	else if (e.result.value.ErrorCode != 0) {		this.errorLabel.setText(e.result.value.Message);		this.errorLabel.setVisible(true);	}	else {		this.dispatchEvent(new BiEvent("register"));	}	try {		this.fullNameField.setFocused(true);		this.fullNameField.selectAll();	}	catch (ex) {}};_p.getEmail = function () {	return this.emailField.getText();};_p.updateStrings = function () {	this.messageLabel.setText( this.stringBundle.getString("loginInfoMessage") );	this.fullNameLabel.setText( this.stringBundle.getString("fullNameLabel") );	this.passwordLabel.setText( this.stringBundle.getString("passwordLabel") );	this.password2Label.setText( this.stringBundle.getString("retypePasswordLabel") );	this.emailLabel.setText( this.stringBundle.getString("emailLabel") );	this.companyLabel.setText( this.stringBundle.getString("companyLabel") );	this.homePageLabel.setText( this.stringBundle.getString("homePageLabel") );	this.emailUpdatesCheckBox.setText( this.stringBundle.getString("emailUpdatesLabel") );	this.requiredGroup.setText( this.stringBundle.getString("requiredGroupTitle") );	this.optionalGroup.setText( this.stringBundle.getString("optionalGroupTitle") );	this.registerButton.setText( this.stringBundle.getString("registerButton") );	this.cancelButton.setText( this.stringBundle.getString("cancelButton") );	this.licenseLabel.setHtml("<a href='" + RegisterComponent.LICENSE_URI + "' target='_blank'>" +		this.stringBundle.getString("licenseLinkLabel") + "</a>");};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩福利电影在线观看| 亚洲卡通欧美制服中文| 激情国产一区二区| 欧美不卡一区二区三区| 久88久久88久久久| 久久精品一区二区三区av| 国产精品88av| 中文字幕一区二区三区蜜月| www.综合网.com| 亚洲自拍都市欧美小说| 欧美日韩免费一区二区三区| 强制捆绑调教一区二区| 精品国产乱码久久久久久久久| 国产中文字幕一区| 1024成人网| 欧美日本国产视频| 国产精品一区二区三区四区| 中文字幕一区二区三区在线观看| 精品视频1区2区3区| 经典一区二区三区| 一区视频在线播放| 欧美一区二区三区啪啪| 国产福利精品导航| 亚洲一区二区三区影院| 欧美mv日韩mv国产网站| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 日韩精品一区二区三区在线 | 亚洲欧美综合另类在线卡通| 在线视频综合导航| 国产在线精品一区二区三区不卡 | 亚洲1区2区3区4区| 国产农村妇女精品| 在线影院国内精品| 激情深爱一区二区| 午夜视频一区二区三区| 久久久久9999亚洲精品| 欧美日韩日日骚| 国产凹凸在线观看一区二区| 亚洲国产一区二区在线播放| 久久久久久麻豆| 欧美色网一区二区| 韩国av一区二区| 亚洲一线二线三线视频| 国产午夜亚洲精品午夜鲁丝片| 91丨porny丨最新| 久久99精品视频| 亚洲成人av电影| 日韩毛片高清在线播放| 2023国产精品视频| 欧美高清精品3d| 色成年激情久久综合| 国产一区二区三区在线观看免费视频 | 欧洲精品在线观看| 国产成人小视频| 琪琪久久久久日韩精品| 亚洲美女视频在线观看| 久久久久久久久久久电影| 欧美一区二区三区四区久久| 欧美视频完全免费看| 94色蜜桃网一区二区三区| 国产高清久久久久| 国产真实乱对白精彩久久| 五月婷婷激情综合| 无码av免费一区二区三区试看| 亚洲欧洲日产国码二区| 日本一区二区三区国色天香| 久久久国产精品麻豆| 久久一留热品黄| 日韩欧美国产麻豆| 日韩视频一区二区三区| 欧美一区二区三区四区五区| 欧美日韩一区在线| 欧美日韩国产一级二级| 欧美色视频在线| 91成人免费在线| 欧美网站大全在线观看| 欧美精品自拍偷拍| 欧美日本免费一区二区三区| 欧美日韩精品免费| 91精品在线一区二区| 538在线一区二区精品国产| 欧美美女直播网站| 日韩丝袜情趣美女图片| 精品播放一区二区| 国产午夜精品一区二区三区四区| 久久久91精品国产一区二区精品 | 91亚洲精品乱码久久久久久蜜桃| 成人福利视频在线看| 不卡视频一二三| 在线亚洲免费视频| 欧美一级在线观看| 久久嫩草精品久久久久| 国产女同互慰高潮91漫画| 国产精品不卡在线| 亚洲精品视频免费看| 亚洲成av人片在www色猫咪| 日韩精品欧美成人高清一区二区| 免费成人美女在线观看.| 国产老妇另类xxxxx| 成人性视频网站| 欧美综合一区二区三区| 日韩欧美一区二区三区在线| 久久久久国产精品人| 国产精品久久久久久福利一牛影视| 综合欧美一区二区三区| 午夜精品一区在线观看| 久久99精品国产| 99在线视频精品| 欧美日韩成人高清| 久久精品一区二区三区不卡| 亚洲欧美激情小说另类| 麻豆国产一区二区| 成人的网站免费观看| 欧美偷拍一区二区| 久久日韩粉嫩一区二区三区| 亚洲精品视频在线看| 国产在线不卡视频| 欧美综合一区二区| 精品成人a区在线观看| 一区二区国产盗摄色噜噜| 精品一区二区精品| 在线观看亚洲一区| 久久精品亚洲一区二区三区浴池 | 日本亚洲一区二区| 丁香亚洲综合激情啪啪综合| 91成人国产精品| 中文字幕精品一区| 免费日韩伦理电影| 色综合久久久久综合体| 欧美成人精品二区三区99精品| 亚洲欧美偷拍三级| 韩国三级电影一区二区| 欧美视频在线不卡| 国产精品污www在线观看| 奇米四色…亚洲| 91久久人澡人人添人人爽欧美| 久久午夜色播影院免费高清| 亚洲高清免费视频| www.av亚洲| 久久久久久久综合| 蜜臀久久久久久久| 欧美三级视频在线| 亚洲蜜臀av乱码久久精品| 成人一区二区三区在线观看| 精品精品国产高清a毛片牛牛| 亚洲国产日产av| 一本一道久久a久久精品| 久久新电视剧免费观看| 六月丁香婷婷色狠狠久久| 欧美色图12p| 亚洲综合网站在线观看| 色综合久久久网| 自拍偷拍国产亚洲| 成人午夜在线视频| 国产网站一区二区三区| 国内精品伊人久久久久av一坑| 91精品国产福利| 日日嗨av一区二区三区四区| 欧美中文字幕一区二区三区| 中文字幕在线不卡一区二区三区| 国产精品12区| 国产欧美中文在线| 成人中文字幕在线| 国产片一区二区三区| 国产精品中文字幕一区二区三区| 欧美成人综合网站| 精品一区二区三区蜜桃| 精品国产乱码久久久久久1区2区| 裸体在线国模精品偷拍| 亚洲精品在线观看网站| 韩国精品在线观看| 国产日韩欧美高清在线| 成人黄色在线视频| 亚洲视频一区二区在线观看| 91美女精品福利| 亚洲一区二区精品视频| 欧美年轻男男videosbes| 青青草成人在线观看| 精品国产乱码久久久久久影片| 国产精品自拍av| 亚洲同性同志一二三专区| 色综合天天综合在线视频| 亚洲综合久久久久| 欧美日韩一区二区三区视频| 视频一区二区不卡| 精品国产髙清在线看国产毛片| 国内久久精品视频| 国产精品国产三级国产普通话三级| 91在线视频网址| 亚洲国产精品久久人人爱蜜臀| 91麻豆精品国产自产在线观看一区| 日本成人中文字幕在线视频| 欧美变态口味重另类| 国产69精品久久久久毛片| 亚洲激情中文1区| 欧美一区二区三区四区五区| 丰满少妇在线播放bd日韩电影| 亚洲美女视频一区| 日韩精品中文字幕一区| 99re热视频这里只精品|