internal Pad(DefaultWorkbench workbench, PadCodon content) { this.window = workbench.GetPadWindow(content); this.window.PadHidden += delegate { IsOpenedAutomatically = false; }; this.content = content; this.workbench = workbench; }