void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.calculatorGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.autoFoods = ((MonitoringLifestyle.Views.AutoComplete)(target)); return; case 3: this.caloriesTextbox = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.sugarTextbox = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.proteinsTextbox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.carbsTextbox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.fatsTextbox = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.autoCities = ((MonitoringLifestyle.Views.AutoComplete)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyDailyDiet = ((MonitoringLifestyle.Views.MyDailyDietUserControl1)(target)); return; case 2: this.ParentGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.autoFoods = ((MonitoringLifestyle.Views.AutoComplete)(target)); return; case 4: this.BreakfastList = ((System.Windows.Controls.ListBox)(target)); return; case 5: this.LunchList = ((System.Windows.Controls.ListBox)(target)); return; case 6: this.DinnerList = ((System.Windows.Controls.ListBox)(target)); return; case 7: this.SnacksList = ((System.Windows.Controls.ListBox)(target)); return; case 8: this.TotalCalories = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.TotalFats = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.TotalFibers = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.TotalProteins = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.TotalSugars = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.GoalCalories = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.GoalFats = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.GoalFibers = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.GoalProteins = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.GoalSugars = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.RemainingCalories = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.RemainingFats = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.RemainingFibers = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.RemainingProteins = ((System.Windows.Controls.TextBlock)(target)); return; case 22: this.RemainingSugars = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }