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