public void OnClick(IWin32Window Owner) { if (Editor == null || Editor.IsDisposed) { Editor = new DialogOptionsEditor(InitScript); Editor.SetCurrentDialog(CurrentDialog); } if (!Editor.Visible) { Editor.OnClick(Owner); } }
public Helper(Editors.VisualNovelEditor.ProjectEternityVisualNovelEditor.InitScriptDelegate InitScript) { this.InitScript = InitScript; Editor = new DialogOptionsEditor(InitScript); }