void newInterface_MouseDoubleClick(object sender, MouseButtonEventArgs e) { InterfaceEditor editor = new InterfaceEditor(); editor.InterfaceObject = (sender as ComponentControlInterface).Interface; this.ParentManager.LoadInterfaceEditor(editor); }
internal void LoadInterfaceEditor(InterfaceEditor editor) { this.interfaceEditorContainer.Children.Clear(); this.interfaceEditorContainer.Children.Add(editor); }