Exemplo n.º 1
0
        private void OnMappingSelected(object sender, MappingSelectionArgs e)
        {
            Controls.Remove(mapperManager);
            var mapEditor = new ControllerMapperEditor(e.Controller, e.Target, e.PreviewSkin, e.Mapping);

            mapEditor.Dock = DockStyle.Fill;
            Controls.Add(mapEditor);
            mapEditor.FinishEditing += (o, args) => {
                ConfigManager.Save();
                Close();
            };
        }
Exemplo n.º 2
0
 protected virtual void OnMappingSelected(MappingSelectionArgs e)
 {
     MappingSelected?.Invoke(this, e);
 }