Exemplo n.º 1
0
        private void getSettings(object sender, EventArgs e)
        {
            SettingsWindow settings = (SettingsWindow)sender;

            componentList = settings.ComponentList;
            extensionMaps = settings.ExtensionMapperList;
            boxSelected   = settings.BoxSelected;
        }
Exemplo n.º 2
0
 public SettingsWindow(NameComponentList list, ExtensionMapperList mappers, bool[] boxSelected)
 {
     InitializeComponent();
     componentList         = list;
     maps                  = mappers;
     nameCB.IsChecked      = boxSelected[0];
     extensionCB.IsChecked = boxSelected[1];
     CreateItems();
     CreateExtensionMaps();
 }