/// <summary> /// 数据存储设定 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void LinkDbSetting_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { //if (!System.IO.File.Exists(DbFilepath)) //{ DBConfigSetting dbsettingfrm = new DBConfigSetting(); if (dbsettingfrm.ShowDialog() == DialogResult.OK) { //DbFilepath = ConfigurationManager.AppSettings["ConnectionString"].ToString(); DbFilepath = dbsettingfrm.SavedDbpath; } //} }
///// <summary> ///// 2.4.是否分组 ///// </summary> ///// <param name="sender"></param> ///// <param name="e"></param> //private void checkBox1_CheckedChanged(object sender, EventArgs e) //{ // this.RecordListView.ShowGroups = this.checkBox1.Checked; // this.RecordListView.BuildList(); //} #endregion #region 4.工具设定 /// <summary> ///4.1.数据存储路径 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void HeadTolMenu_DBSetting_Click(object sender, EventArgs e) { DBConfigSetting Dbsetfrm = new DBConfigSetting(); Dbsetfrm.ShowDialog(); }
/// <summary> ///4.1.数据存储路径 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void HeadTolMenu_DBSetting_Click(object sender, EventArgs e) { DBConfigSetting Dbsetfrm = new DBConfigSetting(); Dbsetfrm.ShowDialog(); }