public LunchDinnerWindow(MainWindow mainWindow, BeveragesWindow beveragesWindow, BreakfastWindow breakfastWindow) { mainParent = mainWindow; bevParent = mainParent.GetBeveragesWindow(); bParent = mainParent.GetBreakfastWindow(); InitializeComponent(); }
public BeveragesWindow(MainWindow mainWindow, BreakfastWindow breakfastWindow, LunchDinnerWindow lunchDinnerWindow) { mainParent = mainWindow; bwParent = mainParent.GetBreakfastWindow(); ldParent = mainParent.GetLunchDinnerWindow(); InitializeComponent(); }
public MainWindow(BreakfastWindow breakfastWindow, BeveragesWindow beveragesWindow, LunchDinnerWindow lunchDinnerWindow) { InitializeComponent(); this.bw = breakfastWindow; bw = new BreakfastWindow(this, bevW, ld); this.bevW = beveragesWindow; bevW = new BeveragesWindow(this, bw, ld); this.ld = lunchDinnerWindow; ld = new LunchDinnerWindow(this, bevW, bw); }