public BreakfastWindow(MainWindow mainWindow, BeveragesWindow bevW, LunchDinnerWindow ld) { mainParent = mainWindow; bevParent = mainParent.GetBeveragesWindow(); ldParent = mainParent.GetLunchDinnerWindow(); 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); }