在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
选中TextBox控件,在属性窗格中找到(ApplicationSettings),然后设置它。
private Settings settings = new Settings(); private void MainForm_Load(object sender, EventArgs e) { this.txtTargetInitialCatalog.Text = settings.sadbname; } private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { settings.sadbname = this.txtTargetInitialCatalog.Text; settings.Save(); }
|
请发表评论