protected override void OnCreate() { this.goBackWhenClickBG = false; window = (MainUI.MainWindow) this.contentPane; this.window.bm1_.onClick.Add(OnCommand); this.window.bm2_.onClick.Add(OnCommand); this.window.bm3_.onClick.Add(OnCommand); this.window.bm4_.onClick.Add(OnCommand); this.window.bm5_.onClick.Add(OnCommand); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Main = ((MainUI.MainWindow)(target)); #line 10 "..\..\..\MainWindow.xaml" this.Main.Loaded += new System.Windows.RoutedEventHandler(this.Main_Loaded); #line default #line hidden return; case 2: this.Users = ((System.Windows.Controls.ListBox)(target)); return; case 3: this.Status = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.Values = ((System.Windows.Controls.ListBox)(target)); return; case 5: this.SubmitThresh = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.BySubmission = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\..\MainWindow.xaml" this.BySubmission.Click += new System.Windows.RoutedEventHandler(this.BySubmission_Click); #line default #line hidden return; case 7: this.ByComment = ((System.Windows.Controls.Button)(target)); #line 61 "..\..\..\MainWindow.xaml" this.ByComment.Click += new System.Windows.RoutedEventHandler(this.ByComment_Click); #line default #line hidden return; case 8: this.Picker = ((System.Windows.Controls.DatePicker)(target)); return; case 9: this.ByCreated = ((System.Windows.Controls.Button)(target)); #line 72 "..\..\..\MainWindow.xaml" this.ByCreated.Click += new System.Windows.RoutedEventHandler(this.ByCreated_Click); #line default #line hidden return; } this._contentLoaded = true; }