BaseMainWindowPane.cs 483 B

12345678910111213
  1. namespace COM3D2.MeidoPhotoStudio.Plugin
  2. {
  3. public abstract class BaseMainWindowPane : BaseWindowPane
  4. {
  5. protected TabsPane tabsPane;
  6. public void SetTabsPane(TabsPane tabsPane) => this.tabsPane = tabsPane;
  7. /* Main window panes have panes within them while being a pane itself of the main window */
  8. public override void SetParent(BaseWindow window)
  9. {
  10. foreach (BasePane pane in Panes) pane.SetParent(window);
  11. }
  12. }
  13. }