void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FormStack = ((System.Windows.Controls.StackPanel)(target)); return; case 2: this.FirstNameTextBox = ((VotingMaster.CustomClasses.CustomTextBox)(target)); return; case 3: this.LastNameTextBox = ((VotingMaster.CustomClasses.CustomTextBox)(target)); return; case 4: this.PeselTextBox = ((VotingMaster.CustomClasses.CustomTextBox)(target)); return; case 5: this.VoteButton = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 6: this.ErrorListContainer = ((System.Windows.Controls.Border)(target)); return; case 7: this.ErrorList = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SwitchModeButton = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 2: this.ContentGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ExportCandidatesToCsv = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 4: this.ExportCandidatesToPdf = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 5: this.CandidateChart = ((LiveCharts.Wpf.CartesianChart)(target)); return; case 6: this.CandidateXAxis = ((LiveCharts.Wpf.Axis)(target)); return; case 7: this.CandidateGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.ExportPartiesCsv = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 9: this.ExportPartiesPdf = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 10: this.PartyChart = ((LiveCharts.Wpf.CartesianChart)(target)); return; case 11: this.PartyXAxis = ((LiveCharts.Wpf.Axis)(target)); return; case 12: this.PartyGrid = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainStack = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.returnButton = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 3: this.VoteButton = ((VotingMaster.CustomClasses.CustomRoundedButton)(target)); return; case 4: this.WarningTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.CandidateListContainer = ((System.Windows.Controls.Border)(target)); return; case 6: this.CandidateListScroll = ((System.Windows.Controls.ScrollViewer)(target)); return; case 7: this.NoCandidatesTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.CandidateList = ((VotingMaster.CustomClasses.CandidateList)(target)); return; } this._contentLoaded = true; }