資源簡介
登陸界面記住賬號密碼,選擇賬號密碼登陸功能
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.Configuration;
using?System.Net.Configuration;
using?System.IO;
namespace?RwConfigDemo
{
public?partial?class?Form1?:?Form
{
public?Form1()
{
InitializeComponent();
}
private?void?txtRead_Click(object?sender?EventArgs?e)
{
MySection1?mySectioin1?=?(MySection1)ConfigurationManager.GetSection(“MySection111“);
txtUsername1.Text?=?mySectioin1.UserName;
txtUrl1.Text?=?mySectioin1.Url;
MySection2?mySectioin2?=?(MySection2)ConfigurationManager.GetSection(“MySection222“);
txtUsername2.Text?=?mySectioin2.Users.UserName;
txtUrl2.Text?=?m
評論
共有 條評論