Пример #1
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     using (var configset = new ConfigSet())
     {
         configset.ShowDialog(this);
     }
     // 重新加载
     LoadList();
 }
Пример #2
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            DialogResult ret;

            using (var configset = new ConfigSet())
            {
                ret = configset.ShowDialog(this);
            }
            if (ret == DialogResult.OK)
            {
                // 有修改才重新加载
                LoadList();
            }
        }
Пример #3
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     using(var configset = new ConfigSet())
     {
         configset.ShowDialog(this);
     }
     // 重新加载
     LoadList();
 }