public IMyGenDocument Create(IMyGenerationMDI mdi, params string[] args) { SampleEditor edit = new SampleEditor(mdi); switch (args[0]) { case SampleEditorManager.SAMPLE_IMAGE: default: edit.CreateNewImage(); break; } return(edit); }
public IMyGenDocument Create(IMyGenerationMDI mdi, params string[] args) { SampleEditor edit = new SampleEditor(mdi); switch (args[0]) { case SampleEditorManager.SAMPLE_IMAGE: default: edit.CreateNewImage(); break; } return edit; }