Пример #1
0
        /// <summary>
        /// User clicked on the Tools' Customize menu item
        /// </summary>
        private void CustomizeToolMenuItemClick(object sender, EventArgs e)
        {
            FormCustomizeTools formCustomizeTools = new FormCustomizeTools(App.CustomTools);

            if (formCustomizeTools.ShowDialog() == DialogResult.OK)
            {
                App.CustomTools = formCustomizeTools.CustomTools.Copy();
            }
        }
Пример #2
0
 /// <summary>
 /// User clicked on the Tools' Customize menu item
 /// </summary>
 private void CustomizeToolMenuItemClick(object sender, EventArgs e)
 {
     FormCustomizeTools formCustomizeTools = new FormCustomizeTools(App.CustomTools);
     if (formCustomizeTools.ShowDialog() == DialogResult.OK)
         App.CustomTools = formCustomizeTools.CustomTools.Copy();
 }