| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3283 人关注过本帖
标题:如何保存密码
只看楼主 加入收藏
ww0109
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-2-28
收藏
 问题点数:0 回复次数:0 
如何保存密码
有一个远程控制软件(KDT),能够自动保存密码,自动登录,但是如果掉线时登录密码会掉(不能保存),本人不懂,请教高手,是否修改下面这段代码中的一部分,就能不管什么情况都能保存密码不掉。怎么修改?先谢了!LOGIN代码如下:
<?xml version="1.0" encoding="utf-8" ?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by cigar (cigar) -->
<gem id="login" alone="yes">
<defs>
<image id="LogoBorder" source="LogoBorder.png" />
</defs>
<window id="LoginDlg" size="640,447" min-size="640,447" grip-size="25,25" image-background="login.png" color-background="#FFFFFF" padding="10, 10, 10, 10" title="登录KDT" resizable="no" moved="yes" transparent="yes" smooth="no" style="font-family:宋体; font-size:9pt; font-color:#000000">
<!-- TITLE AREA -->
<image id="close" point="615,8" align="left" source="close.png" mouse-sense="yes" cursor="hand" command="61536" tooltip="关闭" />
<text point="32,12" align="left" enable="no" auto-size="yes" flags="nowrap linelimit" style="font-color:#003366">快递通(KDT) 2004</text>
<image rect="8,8,20,18" align="right" visible="yes" source="sysmenu.png" />
<image id="EditAreaBackGround" point="400,215" source="edit_box.png" visible="yes" enable="no" />
<rectangle id="editarea" rect="260,245,380,95" visible="no" enable="no" />
<text id="statictext" point="400,195" align="left" auto-size="yes" enable="no" visible="no" style="font-color:#003366">请输入您的密码:</text>
<rectangle id="currentuserlogo" rect="275,140,103,103" align="left" visible="no" enable="no" />
<rectangle id="currentusername" rect="398,150,200,28" align="left" visible="no" enable="no" />
<rectangle id="currentuserid" rect="398,170,200,28" align="left" visible="no" enable="no" />
<object id="password" rect="401,216,170,17" align="left" style="font-size:15" />
<object id="pass" rect="401,216,170,17" align="left" style="font-size:15" />
<object id="userid" rect="401,166,170,17" align="left" style="font-size:15" />

<!--LOGIN -->
<image id="User_EditGround" point="400,165" source="edit_box.png" visible="no" enable="no" />
<rectangle id="User_editarea" rect="400,165,380,95" visible="no" enable="no" />
<text id="user_text" point="400,145" align="left" auto-size="yes" enable="no" visible="no" style="font-color:#003366">请输入您的帐号:</text>
<image id="Pass_EditGround" point="400,215" source="edit_box.png" visible="no" enable="no" />
<rectangle id="Pass_editarea" rect="400,245,380,95" visible="no" enable="no" />
<text id="Pass_text" point="400,195" align="left" auto-size="yes" enable="no" visible="no" style="font-color:#003366">请输入您的密码:</text>
<image id="User_buttonlogin" point="400,250" align="left" source="loginbut.png" mouse-sense="yes" visible="no" enable="no" command="1" cursor="hand" tooltip="登录" />
<!-- INPUT AREA -->
<image id="buttonlogin" point="400,250" align="left" source="loginbut.png" mouse-sense="yes" visible="no" enable="no" command="1" cursor="hand" tooltip="登录KDT" />

<image id="cancellbut" point="400,250" align="left" source="cancellbut.png" mouse-sense="yes" visible="no" enable="no" command="5028" cursor="hand" tooltip="取消登录" />

<image id="pass_check" rect="400,290,20,20" align="left" source="check.png" visible="yes" enable="yes" check-style="yes" cursor="hand" tooltip="保存用户密码,下次登录时不用再输入密码" />
<text id="savepassword" point="420,290" align="left" auto-size="yes" visible="no" enable="no" style="font-color:#003366" style-hover="font-color:#FF0000" cursor="hand" command="5026" tooltip="保存用户密码,下次登录时不用再输入密码">保存密码</text>

<image id="AutoLogin_check" rect="400,310,20,20" align="left" source="check.png" visible="yes" enable="yes" check-style="yes" cursor="hand" tooltip="下次开启时自动登录此帐号" />
<text id="AutoLogin" point="420,310" align="left" auto-size="yes" visible="no" enable="no" style="font-color:#003366" style-hover="font-color:#FF0000" cursor="hand" command="5027" tooltip="下次开启时自动登录此帐号">自动登录</text>

<image id="OffLogin_check" rect="400,330,20,20" align="left" source="check.png" visible="yes" enable="yes" check-style="yes" cursor="hand" tooltip="离线使用KDT" />
<text id="OffLogin" point="420,330" align="left" auto-size="yes" style="font-color:#003366;" style-hover="font-color:#FF0000" cursor="hand" command="5025" tooltip="离线使用KDT">离线使用</text>

<!-- USER SELECT -->
<text point="34,98" align="left" auto-size="yes" style="font-color:#003366" tooltip="单击选择帐号">请在列表选择帐号登录</text>


<object id="listwnd" rect="21,140,143,245" align="right" alignV="bottom">
<image id="Border" source="Border.png" />
<image id="EnableBorder" source="EnableBorder.png" />
<image id="BorderHover" source="BorderHover.png" />
<image id="BorderNoShadow" source="BorderNoShadow.png" />
<image id="SelBorderHover" source="SelBorderHover.png" />
<image id="SelBorderNoShadow" source="SelBorderNoShadow.png" />
<image id="ListWndBack" source="ListWndBack.png" />

</object>
<image id="ListBox" rect="16,135,160,250" source="list_box.png" visible="no" enable="no" />
<image id="Splitter" point="165,140" source="Splitter.png" visible="no" enable="no" />
<image id="ArrowUp" point="166,140" align="left" source="ArrowUp.png" mouse-sense="yes" visible="no" enable="no" command="201" cursor="hand" tooltip="向上" />
<image id="ArrowDown" point="166,369" align="left" source="ArrowDown.png" mouse-sense="yes" visible="no" enable="no" command="202" cursor="hand" tooltip="向下" />
<image id="Splitter2" rect="181,140,2,245" source="Splitter.png" visible="no" enable="no" />
<!-- MAIN DIALOG -->
<text id="optiontext" point="371,44" align="left" auto-size="yes" style="font-color:#003366;" style-hover="font-color:#FF0000" cursor="hand" command="5024" tooltip="使用已有的账户登录">使用已有帐号</text>
<image point="455,36" align="left" source="SplitterShot.png" />
<text id="registertext" point="465,44" align="left" auto-size="yes" style="font-color:#003366;" style-hover="font-color:#FF0000" cursor="hand" command="102" tooltip="单击新增帐号">注册新用户</text>
<image point="535,36" align="left" source="SplitterShot.png" />
<text id="optiontext" point="545,44" align="left" auto-size="yes" style="font-color:#003366;" style-hover="font-color:#FF0000" cursor="hand" command="104" tooltip="改变设置">设置</text>

<image point="581,36" align="left" source="SplitterShot.png" />
<text id="helptext" point="591,44" align="left" auto-size="yes" style="font-color:#003366;" style-hover="font-color:#FF0000" cursor="hand" command="114" tooltip="相关帮助">帮助</text>
<text id="infotext" rect="300,401,280,40" align="left" style="font-color:#003366">请从列表中选择帐号</text>
</window>
</gem>


搜索更多相关主题的帖子: 密码 cigar 保存 xmlspy 
2006-02-28 11:14
快速回复:如何保存密码
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.115323 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved