示例#1
0
        private void mnuEditLayout_Click(object sender, EventArgs e)
        {
            LayoutSettingsEditor layoutSettings = new LayoutSettingsEditor();

            if (layoutSettings.ShowDialog() == DialogResult.OK)
            {
                Settings.Default.Save();
            }
            else
            {
                Settings.Default.Reload();
            }
        }
示例#2
0
 private void mnuEditLayout_Click(object sender, EventArgs e)
 {
     LayoutSettingsEditor layoutSettings = new LayoutSettingsEditor();
     if (layoutSettings.ShowDialog() == DialogResult.OK)
     {
         Settings.Default.Save();
     }
     else
     {
         Settings.Default.Reload();
     }
 }