public void TestInitialize() { selectedDates = new ObservableCollection<DateTime>(); calendar = new Calendar(); calendar.SelectionMode = CalendarSelectionMode.SingleRange; MultiSelectorBehaviours.SetSynchronizedSelectedItems(calendar, (IList)selectedDates); }
private void initLabels() { Calendar cal = new Calendar(DateTime.Today.ToShortDateString(), Calendar.Solar_Date); date_Lbl.Content = cal.calcOtherModeNumeric(); newId = getNewId(); ID_Lbl.Content = Codes.ApartmanMaskooniForooshi + " - " + newId; }
public DateChoiceCtrl() { Grid LayoutRoot = new Grid(); m_Calendar = new System.Windows.Controls.Calendar(); m_Calendar.SelectionMode = CalendarSelectionMode.SingleDate; m_Calendar.DisplayDate = DateTime.Today; m_Calendar.DisplayDateChanged += new EventHandler<CalendarDateChangedEventArgs>(m_Calendar_DisplayDateChanged); m_Calendar.SelectedDatesChanged += new EventHandler<SelectionChangedEventArgs>(m_Calendar_SelectedDatesChanged); LayoutRoot.Children.Add(m_Calendar); m_Waiting = new BusyControl(); m_Waiting.Text = Localization.Loading; LayoutRoot.Children.Add(m_Waiting); Grid.SetRow(m_Waiting, 1); IsBusy = false; this.Content = LayoutRoot; resDoubleClickTimer = new Storyboard(); resDoubleClickTimer.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 250)); resDoubleClickTimer.Completed += new EventHandler(Storyboard_Completed); LayoutRoot.Resources.Add("resDoubleClickTimer", resDoubleClickTimer); m_Calendar.MouseLeftButtonDown += new MouseButtonEventHandler(Calendar_MouseLeftButtonDown); }
private void initLabels() { Calendar cal = new Calendar(DateTime.Today.ToShortDateString(), Calendar.Solar_Date); Lbl_Date.Content = cal.calcOtherModeNumeric(); newId = getNewId(); Lbl_ID.Content = Codes.HouseForooshi + " - " + newId; }
private void initLabels() { Calendar cal = new Calendar(DateTime.Today.ToShortDateString(), Calendar.Solar_Date); date_Lbl.Content = cal.calcOtherModeNumeric(); newId = getNewId(); ID_Lbl.Content = Codes.HouseEstijari + " - " + newId; }
public CalendarBackend () { Widget = new WindowsCalendar (); Widget.DisplayMode = CalendarMode.Month; Widget.IsTodayHighlighted = true; Widget.SelectionMode = CalendarSelectionMode.SingleDate; }
public Form1() { InitializeComponent(); _calendar = new Calendar(); _calendar.DisplayMode = CalendarMode.Decade; this.elementHost1.Child = _calendar; }
public void TestInitialize () { calendar = new Calendar (); calendar.Height = 200; calendar.Width = 200; calendar.DisplayMode = CalendarMode.Year; DateTime date = new DateTime (2000, 2, 2); calendar.DisplayDate = date; calendar.SelectedDate = date; }
public void DrawCalendar(Grid mainGrid) { Calendar calendar = new Calendar(); calendar.Name = "MainCalendar"; calendar.DisplayMode = CalendarMode.Year; calendar.BorderBrush = Brushes.Black; calendar.Margin = new Thickness(BorderLeft, BorderTop - 3, 0, 0); calendar.VerticalAlignment = System.Windows.VerticalAlignment.Top; calendar.HorizontalAlignment = System.Windows.HorizontalAlignment.Left; mainGrid.Children.Add(calendar); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/Dlg/Dlg_Calender.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.calendar = ((System.Windows.Controls.Calendar)(this.FindName("calendar"))); this.btnF1 = ((System.Windows.Controls.Button)(this.FindName("btnF1"))); this.btnF12 = ((System.Windows.Controls.Button)(this.FindName("btnF12"))); this.dlgThemeShinyBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeShinyBlue)(this.FindName("dlgThemeShinyBlue"))); this.dlgThemeTwilightBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeTwilightBlue)(this.FindName("dlgThemeTwilightBlue"))); }
public ApartmanEdariS() { InitializeComponent(); Calendar cal = new Calendar(DateTime.Today.ToShortDateString(), Calendar.Solar_Date); date_Lbl.Content = cal.calcOtherModeNumeric(); address_Txt.Focus(); price = new DispatcherTimer(); price.Tick += new EventHandler(price_Tick); price.Interval = TimeSpan.FromSeconds(1); price.Start(); WndConfig.setConfig4SimpleSearch(this); }
public Behaviour(Calendar calendar) { this.Calendar = calendar; this.Calendar.SelectedDatesChanged += (sender, e) => { var element = sender as UIElement; if (sender == null) throw new NullReferenceException("Sender is null"); var command = (ICommand)element.GetValue(CalendarBehaviour.SelectedDatesChangedProperty); if (command.CanExecute(null)) { command.Execute(null); } }; }
/// <summary> /// Initializes a new instance of the DateTimeAutomationPeer class. /// </summary> /// <param name="date"></param> /// <param name="owningCalendar"></param> /// <param name="buttonMode"></param> internal DateTimeAutomationPeer(DateTime date, Calendar owningCalendar, CalendarMode buttonMode) : base() { if (date == null) { throw new ArgumentNullException("date"); } if (owningCalendar == null) { throw new ArgumentNullException("owningCalendar"); } Date = date; ButtonMode = buttonMode; OwningCalendar = owningCalendar; }
public YearDatePicker() { InitializeComponent(); calendarPopup = new Popup(); calendarControl = new Calendar() { Name = "Calendar1", DisplayMode = CalendarMode.Decade }; calendarPopup.Child = new Grid() { HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch, VerticalAlignment = System.Windows.VerticalAlignment.Stretch, Width = 2000, Height = 2000 }; (calendarPopup.Child as Grid).Children.Add(calendarControl); (calendarPopup.Child as Grid).MouseLeftButtonUp += new MouseButtonEventHandler(YearDatePicker_MouseLeftButtonUp); (calendarPopup.Child as Grid).Background = new SolidColorBrush() { Color = Colors.Transparent }; calendarControl.HorizontalAlignment = System.Windows.HorizontalAlignment.Left; calendarControl.VerticalAlignment = System.Windows.VerticalAlignment.Top; calendarControl.DisplayDateChanged += CalendarDisplayDateChanged; calendarControl.DisplayModeChanged += CalendarDisplayModeChanged; dateDropContent.DropDownOpened += DateDropDownOpened; }
public override void OnApplyTemplate() { base.OnApplyTemplate(); Popup popup = base.GetTemplateChild("Popup") as Popup; m_Calendar = null; if (popup != null && popup.Child != null) { Canvas canvas = popup.Child as Canvas; if (canvas != null) { foreach (UIElement item in canvas.Children) { m_Calendar = item as Calendar; if (m_Calendar != null) break; } } } m_TextBox = base.GetTemplateChild("TextBox") as DatePickerTextBox; //m_TextBox.FontSize = 11; //m_TextBox.Padding = new Thickness(2, 0, 2, 0); m_TextBox.VerticalAlignment = VerticalAlignment.Center; m_TextBox.Text = " "; if (m_TextBox != null) m_TextBox.IsReadOnly = true; var readOnlyVisualElement = base.GetTemplateChild("ReadOnlyVisualElement") as Border; if (readOnlyVisualElement != null) { readOnlyVisualElement.Background = new SolidColorBrush(Colors.Transparent); } if (m_Calendar != null) { m_Calendar.DisplayDateChanged += new EventHandler<CalendarDateChangedEventArgs>(calendar_DisplayDateChanged); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 54 "..\..\Homepage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: #line 55 "..\..\Homepage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 3: #line 64 "..\..\Homepage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 4: #line 65 "..\..\Homepage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 5: #line 74 "..\..\Homepage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5); #line default #line hidden return; case 6: #line 75 "..\..\Homepage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6); #line default #line hidden return; case 7: this.CalendarNegocios = ((System.Windows.Controls.Calendar)(target)); #line 81 "..\..\Homepage.xaml" this.CalendarNegocios.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.CalendarNegocios_SelectedDatesChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 2: this.menu1 = ((System.Windows.Controls.Menu)(target)); return; case 3: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.tabItem1 = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.calendar1 = ((System.Windows.Controls.Calendar)(target)); return; case 6: this.tabItem2 = ((System.Windows.Controls.TabItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabControl = ((System.Windows.Controls.TabControl)(target)); return; case 2: this.createTab = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.saveQuestion = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\MainWindow.xaml" this.saveQuestion.Click += new System.Windows.RoutedEventHandler(this.saveQuestion_Click); #line default #line hidden return; case 4: this.questionType = ((System.Windows.Controls.ComboBox)(target)); #line 14 "..\..\MainWindow.xaml" this.questionType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.questionType_SelectionChanged); #line default #line hidden return; case 5: this.createGroup = ((System.Windows.Controls.GroupBox)(target)); return; case 6: this.fileLocation = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.choseFile = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\MainWindow.xaml" this.choseFile.Click += new System.Windows.RoutedEventHandler(this.choseFile_Click); #line default #line hidden return; case 8: this.label = ((System.Windows.Controls.Label)(target)); return; case 9: this.writeButton = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\MainWindow.xaml" this.writeButton.Click += new System.Windows.RoutedEventHandler(this.writeButton_Click); #line default #line hidden return; case 10: this.readButton = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\MainWindow.xaml" this.readButton.Click += new System.Windows.RoutedEventHandler(this.readButton_Click); #line default #line hidden return; case 11: this.createTestTab = ((System.Windows.Controls.TabItem)(target)); return; case 12: this.allQuestions = ((System.Windows.Controls.ListBox)(target)); return; case 13: this.addButton = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\MainWindow.xaml" this.addButton.Click += new System.Windows.RoutedEventHandler(this.addButton_Click); #line default #line hidden return; case 14: this.removeButton = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.removeButton.Click += new System.Windows.RoutedEventHandler(this.removeButton_Click); #line default #line hidden return; case 15: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 16: this.randomizeCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 17: this.label1_Copy = ((System.Windows.Controls.Label)(target)); return; case 18: this.numberTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.label1_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 20: this.calendar = ((System.Windows.Controls.Calendar)(target)); return; case 21: this.label1_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 22: this.testNameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.saveTest = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\MainWindow.xaml" this.saveTest.Click += new System.Windows.RoutedEventHandler(this.saveTest_Click); #line default #line hidden return; case 24: this.testQuestions = ((System.Windows.Controls.ListBox)(target)); return; case 25: this.label1_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 26: this.label1_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 27: this.listBox = ((System.Windows.Controls.ListBox)(target)); return; case 28: this.textBox = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.button = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; case 30: this.groupBox = ((System.Windows.Controls.GroupBox)(target)); return; } this._contentLoaded = true; }
internal InternalTestHook(Calendar cal) { _calendar = cal; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Exit_Button = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\MainWindow.xaml" this.Exit_Button.Click += new System.Windows.RoutedEventHandler(this.Exit_Button_Click); #line default #line hidden return; case 2: this.TimeTable_DataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.AddSubject_Button = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.AddSubject_Button.Click += new System.Windows.RoutedEventHandler(this.AddSubject_Button_Click); #line default #line hidden return; case 4: this.AddSubject_Callendar = ((System.Windows.Controls.Calendar)(target)); return; case 5: this.AddSubjectName_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.AddSubject_TimePicker = ((MaterialDesignThemes.Wpf.TimePicker)(target)); return; case 7: this.DeleteSubject_Button = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\MainWindow.xaml" this.DeleteSubject_Button.Click += new System.Windows.RoutedEventHandler(this.DeleteSubject_Button_Click); #line default #line hidden return; case 8: this.WhatToLearnToday_DataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 9: this.WB = ((System.Windows.Controls.WebBrowser)(target)); return; case 10: this.ExamGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 11: this.ExamName_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.ExamDate_Calendar = ((System.Windows.Controls.Calendar)(target)); return; case 13: this.AddExam_Button = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\MainWindow.xaml" this.AddExam_Button.Click += new System.Windows.RoutedEventHandler(this.AddExam_Button_Click); #line default #line hidden return; case 14: this.DeleteExam_Button = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\MainWindow.xaml" this.DeleteExam_Button.Click += new System.Windows.RoutedEventHandler(this.DeleteExam_Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.chart1 = ((TimeCount.PieControl.PieChart)(target)); return; case 2: this.Calender = ((System.Windows.Controls.Calendar)(target)); #line 13 "..\..\..\Pages\MainPage.xaml" this.Calender.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.Calender_SelectedDatesChanged); #line default #line hidden return; case 3: this.ToatalSpendTimeLbl = ((System.Windows.Controls.Label)(target)); return; case 4: this.CurrentDateLbl = ((System.Windows.Controls.Label)(target)); return; case 5: this.StatusLbl = ((System.Windows.Controls.Label)(target)); return; case 6: this.MyPcSourceBtn = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\Pages\MainPage.xaml" this.MyPcSourceBtn.Click += new System.Windows.RoutedEventHandler(this.MyPcSourceBtn_Click); #line default #line hidden return; case 7: this.DbSourceBtn = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\Pages\MainPage.xaml" this.DbSourceBtn.Click += new System.Windows.RoutedEventHandler(this.DbSourceBtn_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\ha_add_new_entry.xaml" ((HomeAccounting.ha_add_new_entry)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.tb_data = ((System.Windows.Controls.Calendar)(target)); return; case 3: this.rb_expense = ((System.Windows.Controls.RadioButton)(target)); #line 15 "..\..\..\ha_add_new_entry.xaml" this.rb_expense.Checked += new System.Windows.RoutedEventHandler(this.rb_expense_Checked); #line default #line hidden return; case 4: this.rb_income = ((System.Windows.Controls.RadioButton)(target)); #line 16 "..\..\..\ha_add_new_entry.xaml" this.rb_income.Checked += new System.Windows.RoutedEventHandler(this.rb_income_Checked); #line default #line hidden return; case 5: this.tb_sum = ((System.Windows.Controls.TextBox)(target)); #line 17 "..\..\..\ha_add_new_entry.xaml" this.tb_sum.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_sum_PreviewMouseDown); #line default #line hidden #line 17 "..\..\..\ha_add_new_entry.xaml" this.tb_sum.PreviewLostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.tb_sum_PreviewLostKeyboardFocus); #line default #line hidden #line 17 "..\..\..\ha_add_new_entry.xaml" this.tb_sum.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden return; case 6: this.tb_comment = ((System.Windows.Controls.TextBox)(target)); #line 18 "..\..\..\ha_add_new_entry.xaml" this.tb_comment.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_comment_PreviewMouseDown); #line default #line hidden #line 18 "..\..\..\ha_add_new_entry.xaml" this.tb_comment.PreviewLostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.tb_comment_PreviewLostKeyboardFocus); #line default #line hidden return; case 7: this.btnAdd = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\ha_add_new_entry.xaml" this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click); #line default #line hidden return; case 8: this.btnEsc = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\ha_add_new_entry.xaml" this.btnEsc.Click += new System.Windows.RoutedEventHandler(this.Close_window_Button_Click); #line default #line hidden return; case 9: this.tb_category = ((System.Windows.Controls.ComboBox)(target)); #line 21 "..\..\..\ha_add_new_entry.xaml" this.tb_category.DropDownClosed += new System.EventHandler(this.tb_category_DropDownClosed); #line default #line hidden return; case 10: this.tb_new_category = ((System.Windows.Controls.TextBox)(target)); #line 23 "..\..\..\ha_add_new_entry.xaml" this.tb_new_category.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_new_category_PreviewMouseDown); #line default #line hidden #line 23 "..\..\..\ha_add_new_entry.xaml" this.tb_new_category.PreviewLostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.tb_new_category_PreviewLostKeyboardFocus); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.g = ((System.Windows.Controls.Grid)(target)); return; case 2: this.itemcon = ((System.Windows.Controls.ItemsControl)(target)); return; case 3: this.SwitcherPanel = ((System.Windows.Controls.WrapPanel)(target)); return; case 4: this.ComboBox2 = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.ComboBox1 = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.SwitchButton = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\..\Presentation Layer\BoardGui.xaml" this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click); #line default #line hidden return; case 7: this.TaskCreater = ((System.Windows.Controls.WrapPanel)(target)); return; case 8: this.cc = ((System.Windows.Controls.Calendar)(target)); return; case 9: #line 53 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Create_Click); #line default #line hidden return; case 10: #line 55 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Column_Sort); #line default #line hidden return; case 11: #line 56 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Title_Sort); #line default #line hidden return; case 12: #line 57 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Des_Sort); #line default #line hidden return; case 13: #line 58 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Des_Sort); #line default #line hidden return; case 14: this.ErrorsLabel = ((System.Windows.Controls.Label)(target)); return; case 15: this.ColumnCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 16: #line 75 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 17: #line 82 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.add_column); #line default #line hidden return; case 18: #line 83 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 19: this.deleteCol = ((System.Windows.Controls.ComboBox)(target)); return; case 20: #line 96 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.delCol); #line default #line hidden return; case 21: this.Filter = ((System.Windows.Controls.TextBox)(target)); return; case 22: #line 98 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.filter); #line default #line hidden return; case 23: #line 99 "..\..\..\Presentation Layer\BoardGui.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.showall); #line default #line hidden return; case 24: this.Boardmng = ((System.Windows.Controls.Button)(target)); #line 100 "..\..\..\Presentation Layer\BoardGui.xaml" this.Boardmng.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 25: this.label = ((System.Windows.Controls.Label)(target)); return; case 26: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; case 27: this.label_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 28: this.label_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 29: this.label_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 30: this.label_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 31: this.label_Copy5 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((cs2103_project_UI_logic.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.calendar1 = ((System.Windows.Controls.Calendar)(target)); return; case 3: this.listBox1 = ((System.Windows.Controls.ListBox)(target)); #line 13 "..\..\..\MainWindow.xaml" this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged); #line default #line hidden return; case 4: this.button1 = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 5: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); #line 17 "..\..\..\MainWindow.xaml" this.textBox1.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox1_KeyDown); #line default #line hidden return; case 6: this.button2 = ((System.Windows.Controls.Button)(target)); return; case 7: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 8: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\..\MainWindow.xaml" this.textBox2.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox2_KeyDown); #line default #line hidden #line 22 "..\..\..\MainWindow.xaml" this.textBox2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox2_TextChanged); #line default #line hidden return; case 9: this.button3 = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\MainWindow.xaml" this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click_1); #line default #line hidden return; } this._contentLoaded = true; }
public override void OnApplyTemplate() { this._calendar = this.GetTemplateChild(ElementCalendar) as System.Windows.Controls.Calendar; base.OnApplyTemplate(); this.SetDatePartValues(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 13 "..\..\HostWin.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged); #line default #line hidden return; case 2: this.tbHost = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.grpBHostD = ((System.Windows.Controls.GroupBox)(target)); return; case 4: this.txtPName = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtFName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtMail = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txtPhone = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txtNumberBank = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.txtAddress = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.txtCity = ((System.Windows.Controls.TextBox)(target)); #line 47 "..\..\HostWin.xaml" this.txtCity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged); #line default #line hidden return; case 11: this.cbBank = ((System.Windows.Controls.ComboBox)(target)); #line 48 "..\..\HostWin.xaml" this.cbBank.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbBank_SelectionChanged); #line default #line hidden return; case 12: this.txtBankNum = ((System.Windows.Controls.TextBox)(target)); #line 64 "..\..\HostWin.xaml" this.txtBankNum.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBankNum_TextChanged); #line default #line hidden return; case 13: this.chbCollectionClearance = ((System.Windows.Controls.CheckBox)(target)); return; case 14: this.txyUN = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.txtPass = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.btnAddNew = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\HostWin.xaml" this.btnAddNew.Click += new System.Windows.RoutedEventHandler(this.btnAddNew_Click); #line default #line hidden return; case 17: this.tbHU = ((System.Windows.Controls.TabItem)(target)); #line 76 "..\..\HostWin.xaml" this.tbHU.MouseEnter += new System.Windows.Input.MouseEventHandler(this.tbHU_MouseEnter); #line default #line hidden return; case 18: this.lblInstructions = ((System.Windows.Controls.Label)(target)); return; case 19: this.txtHUName = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.cldrDiary = ((System.Windows.Controls.Calendar)(target)); return; case 21: this.cmbType = ((System.Windows.Controls.ComboBox)(target)); #line 94 "..\..\HostWin.xaml" this.cmbType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbType_SelectionChanged); #line default #line hidden return; case 22: this.cmbArea = ((System.Windows.Controls.ComboBox)(target)); #line 95 "..\..\HostWin.xaml" this.cmbArea.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbArea_SelectionChanged); #line default #line hidden return; case 23: this.txtKids = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.txtAdults = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.ckbPool = ((System.Windows.Controls.CheckBox)(target)); return; case 26: this.ckbKidAtra = ((System.Windows.Controls.CheckBox)(target)); return; case 27: this.ckbJacuzzi = ((System.Windows.Controls.CheckBox)(target)); return; case 28: this.ckbGarden = ((System.Windows.Controls.CheckBox)(target)); return; case 29: this.btnAdd = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\HostWin.xaml" this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click); #line default #line hidden return; case 30: this.btnUpdate = ((System.Windows.Controls.Button)(target)); #line 111 "..\..\HostWin.xaml" this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click); #line default #line hidden return; case 31: this.btnDelete = ((System.Windows.Controls.Button)(target)); #line 112 "..\..\HostWin.xaml" this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 32: this.DtgrdAllHU = ((System.Windows.Controls.DataGrid)(target)); #line 113 "..\..\HostWin.xaml" this.DtgrdAllHU.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DtgrdAllHU_SelectionChanged); #line default #line hidden return; case 33: this.btnAddNewHost = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\HostWin.xaml" this.btnAddNewHost.Click += new System.Windows.RoutedEventHandler(this.btnAddNewHost_Click); #line default #line hidden return; case 34: this.tbPotOrd = ((System.Windows.Controls.TabItem)(target)); #line 123 "..\..\HostWin.xaml" this.tbPotOrd.MouseEnter += new System.Windows.Input.MouseEventHandler(this.tbPotOrd_MouseEnter); #line default #line hidden return; case 35: this.btnSendMail = ((System.Windows.Controls.Button)(target)); #line 132 "..\..\HostWin.xaml" this.btnSendMail.Click += new System.Windows.RoutedEventHandler(this.btnSendMail_Click); #line default #line hidden return; case 36: this.btnTryToCloseADeal = ((System.Windows.Controls.Button)(target)); #line 133 "..\..\HostWin.xaml" this.btnTryToCloseADeal.Click += new System.Windows.RoutedEventHandler(this.btnTryToCloseADeal_Click); #line default #line hidden return; case 37: this.dtgrdMatchingGR = ((System.Windows.Controls.DataGrid)(target)); #line 134 "..\..\HostWin.xaml" this.dtgrdMatchingGR.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgrdMatchingGR_SelectionChanged); #line default #line hidden return; case 38: this.dtgrdOrders = ((System.Windows.Controls.DataGrid)(target)); #line 144 "..\..\HostWin.xaml" this.dtgrdOrders.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgrdOrders_SelectionChanged); #line default #line hidden return; case 39: this.btnCreateOr = ((System.Windows.Controls.Button)(target)); #line 153 "..\..\HostWin.xaml" this.btnCreateOr.Click += new System.Windows.RoutedEventHandler(this.btnCreateOr_Click); #line default #line hidden return; case 40: this.btnFindMatch = ((System.Windows.Controls.Button)(target)); #line 154 "..\..\HostWin.xaml" this.btnFindMatch.Click += new System.Windows.RoutedEventHandler(this.btnFindMatch_Click); #line default #line hidden return; case 41: this.cmbHU = ((System.Windows.Controls.ComboBox)(target)); #line 155 "..\..\HostWin.xaml" this.cmbHU.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbHU_SelectionChanged); #line default #line hidden return; case 42: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 160 "..\..\HostWin.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 28 "..\..\..\Pages\Report.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RepeatButton_Click_1); #line default #line hidden return; case 2: #line 36 "..\..\..\Pages\Report.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RepeatButton_Click); #line default #line hidden return; case 3: this.WindowScroll = ((System.Windows.Controls.ScrollViewer)(target)); return; case 4: #line 108 "..\..\..\Pages\Report.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 5: this.OrderDetails = ((System.Windows.Controls.Grid)(target)); return; case 6: this.Details = ((System.Windows.Controls.Grid)(target)); return; case 7: this.FondSumm = ((System.Windows.Controls.DockPanel)(target)); return; case 8: this.RecomendPort = ((System.Windows.Controls.Grid)(target)); return; case 9: this.CurrentPortfel = ((System.Windows.Controls.Grid)(target)); return; case 10: this.cInner = ((Syncfusion.UI.Xaml.Charts.SfChart)(target)); return; case 11: this.sInner = ((Syncfusion.UI.Xaml.Charts.PieSeries)(target)); return; case 12: this.cMidder = ((Syncfusion.UI.Xaml.Charts.SfChart)(target)); return; case 13: this.doughnutSeries2 = ((Syncfusion.UI.Xaml.Charts.DoughnutSeries)(target)); return; case 14: this.vvv = ((Syncfusion.UI.Xaml.Charts.ChartAdornmentInfo)(target)); return; case 15: this.cOuter = ((Syncfusion.UI.Xaml.Charts.SfChart)(target)); return; case 16: this.doughnutSeries3 = ((Syncfusion.UI.Xaml.Charts.DoughnutSeries)(target)); return; case 17: this.Legeng = ((System.Windows.Controls.Grid)(target)); return; case 18: this.iLegend = ((System.Windows.Controls.ItemsControl)(target)); return; case 19: this.Moreinformation = ((System.Windows.Controls.Grid)(target)); return; case 20: this.InvestDetails = ((System.Windows.Controls.DockPanel)(target)); return; case 21: this.Chart = ((System.Windows.Controls.Grid)(target)); return; case 22: this.actives = ((System.Windows.Controls.Grid)(target)); return; case 23: this.TTT = ((Syncfusion.UI.Xaml.Charts.NumericalAxis)(target)); return; case 24: this.dynamic = ((System.Windows.Controls.Grid)(target)); return; case 25: this.CalendarFrom = ((System.Windows.Controls.Calendar)(target)); return; case 26: this.CalendarTo = ((System.Windows.Controls.Calendar)(target)); return; case 27: this.m1 = ((System.Windows.Controls.Button)(target)); return; case 28: this.m3 = ((System.Windows.Controls.Button)(target)); return; case 29: this.m4 = ((System.Windows.Controls.Button)(target)); return; case 30: this.y1 = ((System.Windows.Controls.Button)(target)); return; case 31: this.y2 = ((System.Windows.Controls.Button)(target)); return; case 32: this.max = ((System.Windows.Controls.Button)(target)); return; case 33: this.TotalRBTN = ((System.Windows.Controls.RadioButton)(target)); return; case 34: this.ActivesRBTN = ((System.Windows.Controls.RadioButton)(target)); return; case 35: this.Port_wine = ((System.Windows.Controls.CheckBox)(target)); #line 1117 "..\..\..\Pages\Report.xaml" this.Port_wine.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 36: this.Port_investment_bonds = ((System.Windows.Controls.CheckBox)(target)); #line 1119 "..\..\..\Pages\Report.xaml" this.Port_investment_bonds.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 37: this.Port_speculation_bonds = ((System.Windows.Controls.CheckBox)(target)); #line 1129 "..\..\..\Pages\Report.xaml" this.Port_speculation_bonds.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 38: this.Port_Credit_Linked_Notes = ((System.Windows.Controls.CheckBox)(target)); #line 1139 "..\..\..\Pages\Report.xaml" this.Port_Credit_Linked_Notes.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 39: this.Port_SNGC = ((System.Windows.Controls.CheckBox)(target)); #line 1141 "..\..\..\Pages\Report.xaml" this.Port_SNGC.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 40: this.Port_SNCC = ((System.Windows.Controls.CheckBox)(target)); #line 1151 "..\..\..\Pages\Report.xaml" this.Port_SNCC.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 41: this.Port_SNRS = ((System.Windows.Controls.CheckBox)(target)); #line 1159 "..\..\..\Pages\Report.xaml" this.Port_SNRS.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 42: this.Port_Hi_cap_share = ((System.Windows.Controls.CheckBox)(target)); #line 1167 "..\..\..\Pages\Report.xaml" this.Port_Hi_cap_share.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 43: this.Port_emerging_markets = ((System.Windows.Controls.CheckBox)(target)); #line 1169 "..\..\..\Pages\Report.xaml" this.Port_emerging_markets.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 44: this.Port_mid_cap_share = ((System.Windows.Controls.CheckBox)(target)); #line 1171 "..\..\..\Pages\Report.xaml" this.Port_mid_cap_share.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 45: this.Port_lo_cap = ((System.Windows.Controls.CheckBox)(target)); #line 1176 "..\..\..\Pages\Report.xaml" this.Port_lo_cap.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 46: this.Port_options = ((System.Windows.Controls.CheckBox)(target)); #line 1178 "..\..\..\Pages\Report.xaml" this.Port_options.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 47: this.Port_futures = ((System.Windows.Controls.CheckBox)(target)); #line 1180 "..\..\..\Pages\Report.xaml" this.Port_futures.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 48: this.Port_leveraged_ETF = ((System.Windows.Controls.CheckBox)(target)); #line 1182 "..\..\..\Pages\Report.xaml" this.Port_leveraged_ETF.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 49: this.Port_mutual_funds = ((System.Windows.Controls.CheckBox)(target)); #line 1184 "..\..\..\Pages\Report.xaml" this.Port_mutual_funds.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 50: this.Port_residential_properties = ((System.Windows.Controls.CheckBox)(target)); #line 1189 "..\..\..\Pages\Report.xaml" this.Port_residential_properties.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 51: this.Port_commercial_property = ((System.Windows.Controls.CheckBox)(target)); #line 1191 "..\..\..\Pages\Report.xaml" this.Port_commercial_property.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 52: this.Port_classics_pictures = ((System.Windows.Controls.CheckBox)(target)); #line 1193 "..\..\..\Pages\Report.xaml" this.Port_classics_pictures.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 53: this.Port_modern_pictures = ((System.Windows.Controls.CheckBox)(target)); #line 1195 "..\..\..\Pages\Report.xaml" this.Port_modern_pictures.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 54: this.Port_marks = ((System.Windows.Controls.CheckBox)(target)); #line 1197 "..\..\..\Pages\Report.xaml" this.Port_marks.Click += new System.Windows.RoutedEventHandler(this.Resize_dynamic); #line default #line hidden return; case 55: this.total = ((System.Windows.Controls.CheckBox)(target)); return; case 56: this.Onflo_Outflow = ((System.Windows.Controls.Grid)(target)); return; case 57: this.FundingTools = ((System.Windows.Controls.DataGrid)(target)); return; case 58: this.DGWithdraw = ((System.Windows.Controls.DataGrid)(target)); return; case 59: this.Statements = ((System.Windows.Controls.Border)(target)); return; case 60: this.Statement = ((System.Windows.Controls.Grid)(target)); return; case 61: this.StatementDG = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\..\Pages\Admin.xaml" ((Parking.Pages.Admin)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded); #line default #line hidden return; case 2: this.tabGuest = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.CalendarControl = ((System.Windows.Controls.Calendar)(target)); #line 88 "..\..\..\Pages\Admin.xaml" this.CalendarControl.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.CalendarControl_SelectedDatesChanged); #line default #line hidden return; case 4: this.btnAddReservationGuest = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\..\Pages\Admin.xaml" this.btnAddReservationGuest.Click += new System.Windows.RoutedEventHandler(this.btnAddReservationGuest_Click); #line default #line hidden return; case 5: this.btnRemoveGuest = ((System.Windows.Controls.Button)(target)); #line 125 "..\..\..\Pages\Admin.xaml" this.btnRemoveGuest.Click += new System.Windows.RoutedEventHandler(this.btnRemoveGuest_Click); #line default #line hidden return; case 6: this.radioScpace90 = ((System.Windows.Controls.RadioButton)(target)); return; case 7: this.radioScpace98 = ((System.Windows.Controls.RadioButton)(target)); return; case 8: this.radioScpace109 = ((System.Windows.Controls.RadioButton)(target)); return; case 9: this.radioScpace119 = ((System.Windows.Controls.RadioButton)(target)); return; case 10: this.radioScpace161 = ((System.Windows.Controls.RadioButton)(target)); return; case 11: this.freeGuestSpacesNumber = ((System.Windows.Controls.ListBox)(target)); #line 193 "..\..\..\Pages\Admin.xaml" this.freeGuestSpacesNumber.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.freeGuestSpacesNumber_SelectionChanged); #line default #line hidden return; case 12: this.tbxGuestName = ((System.Windows.Controls.TextBox)(target)); #line 230 "..\..\..\Pages\Admin.xaml" this.tbxGuestName.SelectionChanged += new System.Windows.RoutedEventHandler(this.TbxGuestName_SelectionChanged); #line default #line hidden return; case 13: this.checkBoxAddInfoToCalendar = ((System.Windows.Controls.CheckBox)(target)); return; case 14: this.checkBoxSendEmail = ((System.Windows.Controls.CheckBox)(target)); return; case 15: this.tabManage = ((System.Windows.Controls.TabItem)(target)); return; case 16: this.tabReports = ((System.Windows.Controls.TabItem)(target)); return; case 17: this.tabGuestManage = ((System.Windows.Controls.TabItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Label1 = ((System.Windows.Controls.Label)(target)); return; case 2: this.cmbRaceTrack = ((System.Windows.Controls.ComboBox)(target)); return; case 3: this.Label2 = ((System.Windows.Controls.Label)(target)); return; case 4: this.RaceDate = ((System.Windows.Controls.Calendar)(target)); return; case 5: this.Label3 = ((System.Windows.Controls.Label)(target)); return; case 6: this.txtRaceTime = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.Lap1 = ((System.Windows.Controls.Label)(target)); return; case 8: this.txtLap1 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.Lap2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.txtLap2 = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.Lap3 = ((System.Windows.Controls.Label)(target)); return; case 12: this.txtLap3 = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.Lap4 = ((System.Windows.Controls.Label)(target)); return; case 14: this.txtLap4 = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.Lap5 = ((System.Windows.Controls.Label)(target)); return; case 16: this.txtLap5 = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.Lap6 = ((System.Windows.Controls.Label)(target)); return; case 18: this.txtLap6 = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.Lap7 = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtLap7 = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.Lap8 = ((System.Windows.Controls.Label)(target)); return; case 22: this.txtLap8 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.Lap9 = ((System.Windows.Controls.Label)(target)); return; case 24: this.txtLap9 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.Lap10 = ((System.Windows.Controls.Label)(target)); return; case 26: this.txtLap10 = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.Lap11 = ((System.Windows.Controls.Label)(target)); return; case 28: this.txtLap11 = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.Lap12 = ((System.Windows.Controls.Label)(target)); return; case 30: this.txtLap12 = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.Lap13 = ((System.Windows.Controls.Label)(target)); return; case 32: this.txtLap13 = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.Lap14 = ((System.Windows.Controls.Label)(target)); return; case 34: this.txtLap14 = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.Lap15 = ((System.Windows.Controls.Label)(target)); return; case 36: this.txtLap15 = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.Lap16 = ((System.Windows.Controls.Label)(target)); return; case 38: this.txtLap16 = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.Lap17 = ((System.Windows.Controls.Label)(target)); return; case 40: this.txtLap17 = ((System.Windows.Controls.TextBox)(target)); return; case 41: this.Lap18 = ((System.Windows.Controls.Label)(target)); return; case 42: this.txtLap18 = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.Lap19 = ((System.Windows.Controls.Label)(target)); return; case 44: this.txtLap19 = ((System.Windows.Controls.TextBox)(target)); return; case 45: this.Lap20 = ((System.Windows.Controls.Label)(target)); return; case 46: this.txtLap20 = ((System.Windows.Controls.TextBox)(target)); return; case 47: this.Lap21 = ((System.Windows.Controls.Label)(target)); return; case 48: this.txtLap21 = ((System.Windows.Controls.TextBox)(target)); return; case 49: this.Lap22 = ((System.Windows.Controls.Label)(target)); return; case 50: this.txtLap22 = ((System.Windows.Controls.TextBox)(target)); return; case 51: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\EditTrackTime.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 52: this.Label4 = ((System.Windows.Controls.Label)(target)); return; case 53: this.txtNote = ((System.Windows.Controls.TextBox)(target)); return; case 54: this.textbox = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\AddWindows\AddWorker.xaml" ((Agency.AddWorker)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 3: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 4: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 5: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 6: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 7: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 8: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.textBox3 = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.textBox4 = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.textBox5 = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.calendar1 = ((System.Windows.Controls.Calendar)(target)); return; case 14: this.add = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\AddWindows\AddWorker.xaml" this.add.Click += new System.Windows.RoutedEventHandler(this.Add_Click); #line default #line hidden return; case 15: this.clear = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\AddWindows\AddWorker.xaml" this.clear.Click += new System.Windows.RoutedEventHandler(this.Clear_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Utl_Menu.xaml", System.UriKind.Relative)); this.LayoutRoot = ((SlvHanbaiClient.Class.UI.ExGridLayoutRoot)(this.FindName("LayoutRoot"))); this.gdMenu = ((System.Windows.Controls.Grid)(this.FindName("gdMenu"))); this.tbkConfirmBusiness = ((System.Windows.Controls.TextBlock)(this.FindName("tbkConfirmBusiness"))); this.btnConfirmBusiness = ((System.Windows.Controls.Button)(this.FindName("btnConfirmBusiness"))); this.txtConfirmBusiness = ((System.Windows.Controls.TextBox)(this.FindName("txtConfirmBusiness"))); this.tbkConfirmSystem = ((System.Windows.Controls.TextBlock)(this.FindName("tbkConfirmSystem"))); this.btnConfirmSystem = ((System.Windows.Controls.Button)(this.FindName("btnConfirmSystem"))); this.txtConfirmSystem = ((System.Windows.Controls.TextBox)(this.FindName("txtConfirmSystem"))); this.calendar1 = ((System.Windows.Controls.Calendar)(this.FindName("calendar1"))); this.tabMainMenu = ((System.Windows.Controls.TabControl)(this.FindName("tabMainMenu"))); this.tabItem6 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem6"))); this.stpSetting = ((System.Windows.Controls.StackPanel)(this.FindName("stpSetting"))); this.tabItem1 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem1"))); this.stpSales = ((System.Windows.Controls.StackPanel)(this.FindName("stpSales"))); this.tabItem2 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem2"))); this.stpSalesReport = ((System.Windows.Controls.StackPanel)(this.FindName("stpSalesReport"))); this.tabItem3 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem3"))); this.stpPurchase = ((System.Windows.Controls.StackPanel)(this.FindName("stpPurchase"))); this.tabItem4 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem4"))); this.stpInventory = ((System.Windows.Controls.StackPanel)(this.FindName("stpInventory"))); this.tabItem5 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem5"))); this.stpPurchaseReport = ((System.Windows.Controls.StackPanel)(this.FindName("stpPurchaseReport"))); this.tabItem7 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem7"))); this.stpSupport = ((System.Windows.Controls.StackPanel)(this.FindName("stpSupport"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Label1 = ((System.Windows.Controls.Label)(target)); return; case 2: this.cmbRaceTrack = ((System.Windows.Controls.ComboBox)(target)); return; case 3: this.Label2 = ((System.Windows.Controls.Label)(target)); return; case 4: this.RaceDate = ((System.Windows.Controls.Calendar)(target)); return; case 5: this.Label3 = ((System.Windows.Controls.Label)(target)); return; case 6: this.txtRaceTime = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.Lap1 = ((System.Windows.Controls.Label)(target)); return; case 8: this.txtLap1 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.Lap2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.txtLap2 = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.Lap3 = ((System.Windows.Controls.Label)(target)); return; case 12: this.txtLap3 = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.Lap4 = ((System.Windows.Controls.Label)(target)); return; case 14: this.txtLap4 = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.Lap5 = ((System.Windows.Controls.Label)(target)); return; case 16: this.txtLap5 = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.Lap6 = ((System.Windows.Controls.Label)(target)); return; case 18: this.txtLap6 = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.Lap7 = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtLap7 = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.Lap8 = ((System.Windows.Controls.Label)(target)); return; case 22: this.txtLap8 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.Lap9 = ((System.Windows.Controls.Label)(target)); return; case 24: this.txtLap9 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.Lap10 = ((System.Windows.Controls.Label)(target)); return; case 26: this.txtLap10 = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.Lap11 = ((System.Windows.Controls.Label)(target)); return; case 28: this.txtLap11 = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.Lap12 = ((System.Windows.Controls.Label)(target)); return; case 30: this.txtLap12 = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.Lap13 = ((System.Windows.Controls.Label)(target)); return; case 32: this.txtLap13 = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.Lap14 = ((System.Windows.Controls.Label)(target)); return; case 34: this.txtLap14 = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.Lap15 = ((System.Windows.Controls.Label)(target)); return; case 36: this.txtLap15 = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.Lap16 = ((System.Windows.Controls.Label)(target)); return; case 38: this.txtLap16 = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.Lap17 = ((System.Windows.Controls.Label)(target)); return; case 40: this.txtLap17 = ((System.Windows.Controls.TextBox)(target)); return; case 41: this.Lap18 = ((System.Windows.Controls.Label)(target)); return; case 42: this.txtLap18 = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.Lap19 = ((System.Windows.Controls.Label)(target)); return; case 44: this.txtLap19 = ((System.Windows.Controls.TextBox)(target)); return; case 45: this.Lap20 = ((System.Windows.Controls.Label)(target)); return; case 46: this.txtLap20 = ((System.Windows.Controls.TextBox)(target)); return; case 47: this.Lap21 = ((System.Windows.Controls.Label)(target)); return; case 48: this.txtLap21 = ((System.Windows.Controls.TextBox)(target)); return; case 49: this.Lap22 = ((System.Windows.Controls.Label)(target)); return; case 50: this.txtLap22 = ((System.Windows.Controls.TextBox)(target)); return; case 51: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 72 "..\..\NewTrackTimes.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 52: this.Label4 = ((System.Windows.Controls.Label)(target)); return; case 53: this.txtNote = ((System.Windows.Controls.TextBox)(target)); return; case 54: this.textbox = ((System.Windows.Controls.TextBox)(target)); return; case 55: this.Label5 = ((System.Windows.Controls.Label)(target)); return; case 56: this.cmbRaceTrack1 = ((System.Windows.Controls.ComboBox)(target)); return; case 57: this.Label6 = ((System.Windows.Controls.Label)(target)); return; case 58: this.RaceDate1 = ((System.Windows.Controls.Calendar)(target)); return; case 59: this.Label7 = ((System.Windows.Controls.Label)(target)); return; case 60: this.txtRaceTime1 = ((System.Windows.Controls.TextBox)(target)); return; case 61: this.Lap23 = ((System.Windows.Controls.Label)(target)); return; case 62: this.txtLap23 = ((System.Windows.Controls.TextBox)(target)); return; case 63: this.Lap24 = ((System.Windows.Controls.Label)(target)); return; case 64: this.txtLap24 = ((System.Windows.Controls.TextBox)(target)); return; case 65: this.Lap25 = ((System.Windows.Controls.Label)(target)); return; case 66: this.txtLap25 = ((System.Windows.Controls.TextBox)(target)); return; case 67: this.Lap26 = ((System.Windows.Controls.Label)(target)); return; case 68: this.txtLap26 = ((System.Windows.Controls.TextBox)(target)); return; case 69: this.Lap27 = ((System.Windows.Controls.Label)(target)); return; case 70: this.txtLap27 = ((System.Windows.Controls.TextBox)(target)); return; case 71: this.Lap28 = ((System.Windows.Controls.Label)(target)); return; case 72: this.txtLap28 = ((System.Windows.Controls.TextBox)(target)); return; case 73: this.Lap29 = ((System.Windows.Controls.Label)(target)); return; case 74: this.txtLap29 = ((System.Windows.Controls.TextBox)(target)); return; case 75: this.Lap30 = ((System.Windows.Controls.Label)(target)); return; case 76: this.txtLap30 = ((System.Windows.Controls.TextBox)(target)); return; case 77: this.Lap31 = ((System.Windows.Controls.Label)(target)); return; case 78: this.txtLap31 = ((System.Windows.Controls.TextBox)(target)); return; case 79: this.Lap32 = ((System.Windows.Controls.Label)(target)); return; case 80: this.txtLap32 = ((System.Windows.Controls.TextBox)(target)); return; case 81: this.Lap33 = ((System.Windows.Controls.Label)(target)); return; case 82: this.txtLap33 = ((System.Windows.Controls.TextBox)(target)); return; case 83: this.Lap34 = ((System.Windows.Controls.Label)(target)); return; case 84: this.txtLap34 = ((System.Windows.Controls.TextBox)(target)); return; case 85: this.Lap35 = ((System.Windows.Controls.Label)(target)); return; case 86: this.txtLap35 = ((System.Windows.Controls.TextBox)(target)); return; case 87: this.Lap36 = ((System.Windows.Controls.Label)(target)); return; case 88: this.txtLap36 = ((System.Windows.Controls.TextBox)(target)); return; case 89: this.Lap37 = ((System.Windows.Controls.Label)(target)); return; case 90: this.txtLap37 = ((System.Windows.Controls.TextBox)(target)); return; case 91: this.Lap38 = ((System.Windows.Controls.Label)(target)); return; case 92: this.txtLap38 = ((System.Windows.Controls.TextBox)(target)); return; case 93: this.Lap39 = ((System.Windows.Controls.Label)(target)); return; case 94: this.txtLap39 = ((System.Windows.Controls.TextBox)(target)); return; case 95: this.Lap40 = ((System.Windows.Controls.Label)(target)); return; case 96: this.txtLap40 = ((System.Windows.Controls.TextBox)(target)); return; case 97: this.Lap41 = ((System.Windows.Controls.Label)(target)); return; case 98: this.txtLap41 = ((System.Windows.Controls.TextBox)(target)); return; case 99: this.Lap42 = ((System.Windows.Controls.Label)(target)); return; case 100: this.txtLap42 = ((System.Windows.Controls.TextBox)(target)); return; case 101: this.Lap43 = ((System.Windows.Controls.Label)(target)); return; case 102: this.txtLap43 = ((System.Windows.Controls.TextBox)(target)); return; case 103: this.Lap44 = ((System.Windows.Controls.Label)(target)); return; case 104: this.txtLap44 = ((System.Windows.Controls.TextBox)(target)); return; case 105: this.btnSave1 = ((System.Windows.Controls.Button)(target)); #line 142 "..\..\NewTrackTimes.xaml" this.btnSave1.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 106: this.Label8 = ((System.Windows.Controls.Label)(target)); return; case 107: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 108: this.txtNote1 = ((System.Windows.Controls.TextBox)(target)); return; case 109: this.textbox1 = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.calendar = ((System.Windows.Controls.Calendar)(target)); return; case 2: this.buttonCreateUser = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\AddUserWindow.xaml" this.buttonCreateUser.Click += new System.Windows.RoutedEventHandler(this.buttonCreateUser_Click); #line default #line hidden return; case 3: this.tbName = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.tbBDay = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.buttonShowCalendar = ((System.Windows.Controls.Button)(target)); return; case 6: this.radioWomen = ((System.Windows.Controls.RadioButton)(target)); return; case 7: this.radioMen = ((System.Windows.Controls.RadioButton)(target)); return; case 8: this.tbPhone = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.comboBoxSportType = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.comboBoxSportCategory = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.comboBoxUserRole = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.pass1 = ((System.Windows.Controls.PasswordBox)(target)); return; case 13: this.pass2 = ((System.Windows.Controls.PasswordBox)(target)); return; case 14: this.tbAddress = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.tbPlace = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.calendarReportes = ((System.Windows.Controls.Calendar)(target)); #line 13 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.calendarReportes.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendarReportes_SelectedDatesChanged); #line default #line hidden return; case 2: this.lfechareporte = ((System.Windows.Controls.Label)(target)); return; case 3: this.lventasDia = ((System.Windows.Controls.Label)(target)); return; case 4: this.lgananciaDia = ((System.Windows.Controls.Label)(target)); return; case 5: this.btnReporteDia = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnReporteDia.Click += new System.Windows.RoutedEventHandler(this.btnReporteDia_Click); #line default #line hidden return; case 6: this.btnCostoDia = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnCostoDia.Click += new System.Windows.RoutedEventHandler(this.btnCostoDia_Click); #line default #line hidden return; case 7: this.lventasMes = ((System.Windows.Controls.Label)(target)); return; case 8: this.lgananciaMes = ((System.Windows.Controls.Label)(target)); return; case 9: this.btnReporteMes = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnReporteMes.Click += new System.Windows.RoutedEventHandler(this.btnReporteMes_Click); #line default #line hidden return; case 10: this.btnCostoMes = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnCostoMes.Click += new System.Windows.RoutedEventHandler(this.btnCostoMes_Click); #line default #line hidden return; case 11: this.lventasAño = ((System.Windows.Controls.Label)(target)); return; case 12: this.lgananciaAño = ((System.Windows.Controls.Label)(target)); return; case 13: this.btnReporteAño = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnReporteAño.Click += new System.Windows.RoutedEventHandler(this.btnReporteAño_Click); #line default #line hidden return; case 14: this.btnCostoAño = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnCostoAño.Click += new System.Windows.RoutedEventHandler(this.btnCostoAño_Click); #line default #line hidden return; case 15: this.ltotalrubros = ((System.Windows.Controls.Label)(target)); return; case 16: this.ltotalproduc = ((System.Windows.Controls.Label)(target)); return; case 17: this.btnproductosXrubro = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnproductosXrubro.Click += new System.Windows.RoutedEventHandler(this.btnproductosXrubro_Click); #line default #line hidden return; case 18: this.calendarReportesPagoRubro = ((System.Windows.Controls.Calendar)(target)); #line 57 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.calendarReportesPagoRubro.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendarReportesPagoXRubros_SelectedDatesChanged); #line default #line hidden #line 57 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.calendarReportesPagoRubro.DisplayModeChanged += new System.EventHandler <System.Windows.Controls.CalendarModeChangedEventArgs>(this.calendar1_DisplayModeChanged); #line default #line hidden #line 57 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.calendarReportesPagoRubro.DisplayDateChanged += new System.EventHandler <System.Windows.Controls.CalendarDateChangedEventArgs>(this.calendar1_DisplayDateChanged); #line default #line hidden #line 57 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.calendarReportesPagoRubro.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this._Calendar_PreviewMouseUp); #line default #line hidden return; case 19: this.txtFechaReporte = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.btnSalirReporte = ((System.Windows.Controls.Button)(target)); #line 61 "..\..\..\..\Pages\Tabs\Reportes.xaml" this.btnSalirReporte.Click += new System.Windows.RoutedEventHandler(this.btnSalirReporte_Click); #line default #line hidden return; case 21: this.ladmin = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
private void sentDetailsButton_Click(object sender, RoutedEventArgs e) { try { List <DateTime> myList = MyCalendar.SelectedDates.ToList(); MyCalendar = CreateCalendar(); vbCalendar.Child = null; vbCalendar.Child = MyCalendar; addCurrentList(myList); if (poolComboBox.SelectedItem.ToString() == "אפשרי") { guest.Pool = 0; } else if (poolComboBox.SelectedItem.ToString() == "לא_מעוניין") { guest.Pool = 1; } else if (poolComboBox.SelectedItem.ToString() == "הכרחי") { guest.Pool = 2; } if (jacuzziComboBox.SelectedItem.ToString() == "אפשרי") { guest.Jacuzzi = 0; } else if (jacuzziComboBox.SelectedItem.ToString() == "לא_מעוניין") { guest.Jacuzzi = 1; } else if (jacuzziComboBox.SelectedItem.ToString() == "הכרחי") { guest.Jacuzzi = 2; } if (attractionComboBox.SelectedItem.ToString() == "אפשרי") { guest.ChildrenAttractions = 0; } else if (attractionComboBox.SelectedItem.ToString() == "לא_מעוניין") { guest.ChildrenAttractions = 1; } else if (attractionComboBox.SelectedItem.ToString() == "הכרחי") { guest.ChildrenAttractions = 2; } guest.RegistrationDate = DateTime.Now; guest.Status = true; int value; try { value = int.Parse(this.Adults.Text); if (value <= 0) { throw new Exception(" נא הגדר מספר תקין עבור המבוגרים"); } value = int.Parse(this.Children.Text); if (value < 0) { throw new Exception(" נא הגדר מספר תקין עבור הילדים"); } string str = this.PrivateName.Text; CheckStr(str); string str1 = this.FamilyName.Text; CheckStr(str1); string mail = this.Mail.Text; CheckMail(mail); } catch (Exception ex) { MessageBox.Show(" הקלט לא תקין-" + ex.Message); return; } bl.AddGuestRequest(guest); MessageBox.Show("The Guest Request has been successfully added."); new MainWindow().Show(); this.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 36 "..\..\OwnerWin.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged); #line default #line hidden return; case 2: this.grpGuestRequest = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.gridGuestRequest = ((System.Windows.Controls.Grid)(target)); return; case 4: this.txtPName = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtFName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtMail = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.datePicEntery = ((System.Windows.Controls.DatePicker)(target)); return; case 8: this.datePicRelease = ((System.Windows.Controls.DatePicker)(target)); return; case 9: this.cmbArea = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.txtSubArea = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.txtAdults = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.txtChildrens = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.cmbResortType = ((System.Windows.Controls.ComboBox)(target)); return; case 14: this.cbmPool = ((System.Windows.Controls.ComboBox)(target)); return; case 15: this.cbmJacuzzi = ((System.Windows.Controls.ComboBox)(target)); return; case 16: this.cbmGarden = ((System.Windows.Controls.ComboBox)(target)); return; case 17: this.cbmChildernAtrac = ((System.Windows.Controls.ComboBox)(target)); return; case 18: this.dtgrdAllGRs = ((System.Windows.Controls.DataGrid)(target)); #line 96 "..\..\OwnerWin.xaml" this.dtgrdAllGRs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgrdAllGRs_SelectionChanged); #line default #line hidden return; case 19: this.cmbGrpArea = ((System.Windows.Controls.ComboBox)(target)); #line 108 "..\..\OwnerWin.xaml" this.cmbGrpArea.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbGrpArea_SelectionChanged); #line default #line hidden return; case 20: this.cmbGrpVac = ((System.Windows.Controls.ComboBox)(target)); #line 109 "..\..\OwnerWin.xaml" this.cmbGrpVac.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbGrpVac_SelectionChanged); #line default #line hidden return; case 21: this.btnClear = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\OwnerWin.xaml" this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click); #line default #line hidden return; case 22: this.tbHU = ((System.Windows.Controls.TabItem)(target)); return; case 23: this.txtHUName = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.cldrDiary = ((System.Windows.Controls.Calendar)(target)); return; case 25: this.cmbType = ((System.Windows.Controls.ComboBox)(target)); return; case 26: this.cmbArea1 = ((System.Windows.Controls.ComboBox)(target)); return; case 27: this.txtKids = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.txtAdults1 = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.ckbPool = ((System.Windows.Controls.CheckBox)(target)); return; case 30: this.ckbKidAtra = ((System.Windows.Controls.CheckBox)(target)); return; case 31: this.ckbJacuzzi = ((System.Windows.Controls.CheckBox)(target)); return; case 32: this.ckbGarden = ((System.Windows.Controls.CheckBox)(target)); return; case 33: this.txtHostName = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.btnShowDtl = ((System.Windows.Controls.Button)(target)); return; case 35: this.cmbAreaHU = ((System.Windows.Controls.ComboBox)(target)); #line 150 "..\..\OwnerWin.xaml" this.cmbAreaHU.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbAreaHU_SelectionChanged); #line default #line hidden return; case 36: this.cmbByHost = ((System.Windows.Controls.ComboBox)(target)); #line 151 "..\..\OwnerWin.xaml" this.cmbByHost.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbByHost_SelectionChanged); #line default #line hidden return; case 37: this.dtgrdAllHU = ((System.Windows.Controls.DataGrid)(target)); #line 152 "..\..\OwnerWin.xaml" this.dtgrdAllHU.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgrdAllHU_SelectionChanged); #line default #line hidden return; case 38: this.btnClearHU = ((System.Windows.Controls.Button)(target)); #line 161 "..\..\OwnerWin.xaml" this.btnClearHU.Click += new System.Windows.RoutedEventHandler(this.btnClearHU_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RefrigeratorPage = ((FinalExamination.RefrigeratorWindow)(target)); return; case 2: this.FreezerTempText = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.RefrigeratorTempText = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.TimeText = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.HumidityText = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.IceMakerButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 7: this.CameraButton = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\RefrigeratorWindow.xaml" this.CameraButton.Click += new System.Windows.RoutedEventHandler(this.CameraButton_Click); #line default #line hidden return; case 8: this.CalendarImage = ((System.Windows.Controls.Image)(target)); #line 23 "..\..\RefrigeratorWindow.xaml" this.CalendarImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CalendarImage_MouseLeftButtonDown); #line default #line hidden return; case 9: this.RadioImage = ((System.Windows.Controls.Image)(target)); #line 24 "..\..\RefrigeratorWindow.xaml" this.RadioImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.RadioImage_MouseLeftButtonDown); #line default #line hidden return; case 10: this.RecipesImage = ((System.Windows.Controls.Image)(target)); #line 25 "..\..\RefrigeratorWindow.xaml" this.RecipesImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.RecipesImage_MouseLeftButtonDown); #line default #line hidden return; case 11: this.WebImage = ((System.Windows.Controls.Image)(target)); #line 26 "..\..\RefrigeratorWindow.xaml" this.WebImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WebImage_MouseLeftButtonDown); #line default #line hidden return; case 12: this.WeatherImage = ((System.Windows.Controls.Image)(target)); #line 27 "..\..\RefrigeratorWindow.xaml" this.WeatherImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WeatherImage_MouseLeftButtonDown); #line default #line hidden return; case 13: this.CalendarPopup = ((System.Windows.Controls.Calendar)(target)); #line 28 "..\..\RefrigeratorWindow.xaml" this.CalendarPopup.MouseLeave += new System.Windows.Input.MouseEventHandler(this.CalendarPopup_MouseLeave); #line default #line hidden return; case 14: this.ShowNowImage = ((System.Windows.Controls.Image)(target)); #line 29 "..\..\RefrigeratorWindow.xaml" this.ShowNowImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowNowImage_MouseLeftButtonDown); #line default #line hidden return; case 15: this.HelpImage = ((System.Windows.Controls.Image)(target)); #line 30 "..\..\RefrigeratorWindow.xaml" this.HelpImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.HelpImage_MouseLeftButtonDown); #line default #line hidden return; case 16: this.GoogleWeather = ((System.Windows.Controls.Image)(target)); #line 31 "..\..\RefrigeratorWindow.xaml" this.GoogleWeather.MouseLeave += new System.Windows.Input.MouseEventHandler(this.GoogleWeather_MouseLeave); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Agenda = ((ProjetoCSharp.Views.Agendamento)(target)); #line 8 "..\..\..\Views\Agendamento.xaml" this.Agenda.Loaded += new System.Windows.RoutedEventHandler(this.Agenda_Loaded); #line default #line hidden return; case 2: this.imgPerfil = ((System.Windows.Controls.Image)(target)); return; case 3: this.cadData = ((System.Windows.Controls.Calendar)(target)); return; case 4: this.Agendar = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\..\Views\Agendamento.xaml" this.Agendar.Click += new System.Windows.RoutedEventHandler(this.Agendar_Click); #line default #line hidden return; case 5: this.Mensagem = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\Views\Agendamento.xaml" this.Mensagem.Click += new System.Windows.RoutedEventHandler(this.Mensagem_Click); #line default #line hidden return; case 6: this.ValorBase = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.data = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.info = ((System.Windows.Controls.Label)(target)); return; case 9: this.mensag = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.valorbase = ((System.Windows.Controls.Label)(target)); return; case 11: this.cboHorario = ((System.Windows.Controls.ComboBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DailyIns = ((DailyClient.Views.DailyWindow)(target)); #line 4 "..\..\..\Views\DailyWindow.xaml" this.DailyIns.Closing += new System.ComponentModel.CancelEventHandler(this.DailyIns_Closing); #line default #line hidden return; case 2: this.DailyW_DailyCalendar_Calendar = ((System.Windows.Controls.Calendar)(target)); #line 50 "..\..\..\Views\DailyWindow.xaml" this.DailyW_DailyCalendar_Calendar.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.DailyW_DailyCalendar_Calendar_SelectedDatesChanged); #line default #line hidden return; case 3: this.DailyW_Daily_TabControl = ((System.Windows.Controls.TabControl)(target)); #line 60 "..\..\..\Views\DailyWindow.xaml" this.DailyW_Daily_TabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DailyW_Daily_TabControl_SelectionChanged); #line default #line hidden return; case 4: this.DailyW_MealInscription_LView = ((System.Windows.Controls.ListView)(target)); #line 63 "..\..\..\Views\DailyWindow.xaml" this.DailyW_MealInscription_LView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DailyW_Meal_LView_SelectionChanged); #line default #line hidden return; case 5: this.DailyW_ProductsOfMeal_LView = ((System.Windows.Controls.ListView)(target)); return; case 6: this.DailyW_AddNewDailyMealInscription_Btn = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\..\Views\DailyWindow.xaml" this.DailyW_AddNewDailyMealInscription_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_AddNewDailyMealInscription_Btn_Click); #line default #line hidden return; case 7: this.DailyW_ListOfMyDailyExercisesInscription_LView = ((System.Windows.Controls.ListView)(target)); #line 94 "..\..\..\Views\DailyWindow.xaml" this.DailyW_ListOfMyDailyExercisesInscription_LView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DailyW_ListOfMyDailyExercisesInscription_LView_SelectionChanged); #line default #line hidden return; case 8: #line 97 "..\..\..\Views\DailyWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LView_RemoveTraining_ContextMenuItem_Click); #line default #line hidden return; case 9: this.DailyW_ListOfMyDailyTrainingInscription_LView = ((System.Windows.Controls.ListView)(target)); return; case 10: #line 109 "..\..\..\Views\DailyWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LView_EditTrainingSet_ContextMenuItem_Click); #line default #line hidden return; case 11: #line 110 "..\..\..\Views\DailyWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LView_RemoveTrainingSet_ContextMenuItem_Click); #line default #line hidden return; case 12: this.DailyW_AddNewDailyTrainingInscription_Btn = ((System.Windows.Controls.Button)(target)); #line 122 "..\..\..\Views\DailyWindow.xaml" this.DailyW_AddNewDailyTrainingInscription_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_AddNewDailyTrainingInscription_Btn_Click); #line default #line hidden return; case 13: this.DailyW_ListOfDailyMensurationInscription_LView = ((System.Windows.Controls.ListView)(target)); #line 131 "..\..\..\Views\DailyWindow.xaml" this.DailyW_ListOfDailyMensurationInscription_LView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DailyW_ListOfDailyMensurationInscription_LView_SelectionChanged); #line default #line hidden return; case 14: #line 134 "..\..\..\Views\DailyWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LView_EditResultLView_ContextMenuItem_Click); #line default #line hidden return; case 15: #line 135 "..\..\..\Views\DailyWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LView_RemoveResultLView_ContextMenuItem_Click); #line default #line hidden return; case 16: this.DailyW_AddNewMensurationInscription_Btn = ((System.Windows.Controls.Button)(target)); #line 146 "..\..\..\Views\DailyWindow.xaml" this.DailyW_AddNewMensurationInscription_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_AddNewMensurationInscription_Btn_Click); #line default #line hidden return; case 17: this.DailyW_NewMensurationResult_TBox = ((System.Windows.Controls.TextBox)(target)); #line 151 "..\..\..\Views\DailyWindow.xaml" this.DailyW_NewMensurationResult_TBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.DailyW_NewMensurationResult_TBox_KeyDown); #line default #line hidden return; case 18: this.DailyWindow_BFChoseHelper_Btn = ((System.Windows.Controls.Button)(target)); #line 152 "..\..\..\Views\DailyWindow.xaml" this.DailyWindow_BFChoseHelper_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyWindow_BFChoseHelper_Btn_Click); #line default #line hidden return; case 19: this.DailyWindow_BFCalculateHelper_Btn = ((System.Windows.Controls.Button)(target)); #line 153 "..\..\..\Views\DailyWindow.xaml" this.DailyWindow_BFCalculateHelper_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyWindow_BFCalculateHelper_Btn_Click); #line default #line hidden return; case 20: this.imageBorder = ((System.Windows.Controls.Border)(target)); return; case 21: this.DailyW_SelectedPhoto_Img = ((System.Windows.Controls.Image)(target)); return; case 22: this.DailyW_ListOfMyDailyPhotoInscription_LView = ((System.Windows.Controls.ListView)(target)); #line 162 "..\..\..\Views\DailyWindow.xaml" this.DailyW_ListOfMyDailyPhotoInscription_LView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DailyW_ListOfMyDailyPhotoInscription_LView_SelectionChanged); #line default #line hidden return; case 23: #line 165 "..\..\..\Views\DailyWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LView_DeletePhotoLView_ContextMenuItem_Click); #line default #line hidden return; case 24: this.DailyW_AddNewPhotoInscription_Btn = ((System.Windows.Controls.Button)(target)); #line 174 "..\..\..\Views\DailyWindow.xaml" this.DailyW_AddNewPhotoInscription_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_AddNewPhotoInscription_Btn_Click); #line default #line hidden return; case 25: this.DailyW_CaloriesNeed_Label = ((System.Windows.Controls.Label)(target)); return; case 26: this.DailyW_Login_Label = ((System.Windows.Controls.Label)(target)); return; case 27: this.DailyW_MyInfo_Btn = ((System.Windows.Controls.Button)(target)); #line 184 "..\..\..\Views\DailyWindow.xaml" this.DailyW_MyInfo_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_MyInfo_Btn_Click); #line default #line hidden return; case 28: this.DailyW_TheNeedForKcalEdit_Btn = ((System.Windows.Controls.Button)(target)); #line 189 "..\..\..\Views\DailyWindow.xaml" this.DailyW_TheNeedForKcalEdit_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_TheNeedForKcalEdit_Btn_Click); #line default #line hidden return; case 29: this.DailyW_TargetEdit_Btn = ((System.Windows.Controls.Button)(target)); #line 194 "..\..\..\Views\DailyWindow.xaml" this.DailyW_TargetEdit_Btn.Click += new System.Windows.RoutedEventHandler(this.DailyW_TargetEdit_Btn_Click); #line default #line hidden return; case 30: this.DailyW_MyTarget_Label = ((System.Windows.Controls.Label)(target)); return; case 31: this.DailyW_ActualProgress_Label = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.EnButton = ((System.Windows.Controls.Button)(target)); return; case 2: this.english = ((System.Windows.Controls.Image)(target)); return; case 3: this.FrButton = ((System.Windows.Controls.Button)(target)); return; case 4: this.french = ((System.Windows.Controls.Image)(target)); return; case 5: this.DataBtn = ((System.Windows.Controls.Button)(target)); return; case 6: this.slower_btn = ((System.Windows.Controls.Button)(target)); return; case 7: this.faster_btn = ((System.Windows.Controls.Button)(target)); return; case 8: this.switch_btn = ((System.Windows.Controls.Button)(target)); return; case 9: this.pause_btn = ((System.Windows.Controls.Button)(target)); return; case 10: this.SpeedBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.AvailableFrom = ((System.Windows.Controls.Calendar)(target)); return; case 12: this.AvailableBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.DurationBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.StdOutBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.TermBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.DataNameButton = ((System.Windows.Controls.Button)(target)); return; case 17: this.ExperienceView = ((System.Windows.Controls.ListView)(target)); return; case 18: this.FormationsView = ((System.Windows.Controls.ListView)(target)); return; case 19: this.FormationsTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.ExperienceTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.NeedBox = ((System.Windows.Controls.CheckBox)(target)); return; case 22: this.NameBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.ContactBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.DataBtnForward = ((System.Windows.Controls.Button)(target)); return; case 25: this.MaskBox = ((System.Windows.Controls.Button)(target)); return; case 26: this.EmailMeButton = ((System.Windows.Controls.Button)(target)); return; case 27: this.ClickBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.SendMailBlock = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 2: this.PeopleListView = ((System.Windows.Controls.ListView)(target)); #line 37 "..\..\..\TreeEditor.xaml" this.PeopleListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView1_SelectionChanged); #line default #line hidden return; case 3: this.PeopleTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.NewPersonButton = ((System.Windows.Controls.Button)(target)); return; case 5: this.button2 = ((System.Windows.Controls.Button)(target)); return; case 6: this.HelpButton3 = ((System.Windows.Controls.Button)(target)); return; case 7: this.border1 = ((System.Windows.Controls.Border)(target)); return; case 8: this.NameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.NameTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.BornDateTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.BornDateCalendar = ((System.Windows.Controls.Calendar)(target)); return; case 12: this.DeathDateTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.DeathDateCalendar = ((System.Windows.Controls.Calendar)(target)); return; case 14: this.GenderTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.GenderComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 16: this.NotesTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.NotesRichTextBox1 = ((System.Windows.Controls.RichTextBox)(target)); return; case 18: this.PhotoTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.PhotoButton = ((System.Windows.Controls.Button)(target)); return; case 20: this.SaveButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 2: this.phonesGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.colum1 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.colum6 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.checkBox1 = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 6: this.fraam = ((System.Windows.Controls.Frame)(target)); return; case 7: #line 56 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 8: #line 57 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5); #line default #line hidden return; case 9: this.Combo = ((System.Windows.Controls.ComboBox)(target)); #line 58 "..\..\MainWindow.xaml" this.Combo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Sort_SelectionChanged); #line default #line hidden return; case 10: #line 68 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6); #line default #line hidden return; case 11: this.calendar1 = ((System.Windows.Controls.Calendar)(target)); #line 70 "..\..\MainWindow.xaml" this.calendar1.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged); #line default #line hidden return; case 12: #line 83 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 13: this.Textbox = ((System.Windows.Controls.TextBox)(target)); #line 84 "..\..\MainWindow.xaml" this.Textbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Textbox_TextChanged); #line default #line hidden return; case 14: this.vyvod = ((System.Windows.Controls.Button)(target)); return; case 15: this.styleBox = ((System.Windows.Controls.ComboBox)(target)); return; case 16: this.menuLanguage = ((System.Windows.Controls.MenuItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.rbtnCustomerReport = ((System.Windows.Controls.RadioButton)(target)); return; case 2: this.rbtnRoomReport = ((System.Windows.Controls.RadioButton)(target)); return; case 3: this.rbtnFullReport = ((System.Windows.Controls.RadioButton)(target)); return; case 4: this.listCustomers = ((System.Windows.Controls.ListBox)(target)); #line 33 "..\..\ReportV.xaml" this.listCustomers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CustomerSelectionChanged); #line default #line hidden return; case 5: this.cboxRooms = ((System.Windows.Controls.ComboBox)(target)); #line 34 "..\..\ReportV.xaml" this.cboxRooms.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomSelectionChanged); #line default #line hidden return; case 6: this.btnGenerateReport = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\ReportV.xaml" this.btnGenerateReport.Click += new System.Windows.RoutedEventHandler(this.btnGenerateReport_Click); #line default #line hidden return; case 7: this.startDate = ((System.Windows.Controls.Calendar)(target)); return; case 8: this.endDate = ((System.Windows.Controls.Calendar)(target)); return; case 9: this.txtReport = ((System.Windows.Controls.ListView)(target)); return; case 10: this.txtCustomerReport = ((System.Windows.Controls.GridView)(target)); return; case 11: this.first = ((System.Windows.Controls.GridViewColumn)(target)); return; case 12: this.second = ((System.Windows.Controls.GridViewColumn)(target)); return; case 13: this.third = ((System.Windows.Controls.GridViewColumn)(target)); return; case 14: this.forth = ((System.Windows.Controls.GridViewColumn)(target)); return; case 15: this.fifth = ((System.Windows.Controls.GridViewColumn)(target)); return; case 16: this.sixth = ((System.Windows.Controls.GridViewColumn)(target)); return; case 17: this.lblError = ((System.Windows.Controls.Label)(target)); return; case 18: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 64 "..\..\ReportV.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((Calendar.MainWindow)(target)); return; case 2: this.Calendar = ((System.Windows.Controls.Calendar)(target)); #line 34 "..\..\MainWindow.xaml" this.Calendar.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.Calendar_SelectedDatesChanged); #line default #line hidden return; case 3: this.textBox = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.textBox_Date = ((System.Windows.Controls.TextBox)(target)); #line 72 "..\..\MainWindow.xaml" this.textBox_Date.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_Date_TextChanged_1); #line default #line hidden return; case 5: this.button = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ButtonBackvard = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\Views\MainWindow.xaml" this.ButtonBackvard.Click += new System.Windows.RoutedEventHandler(this.ButtonBackvard_OnClick); #line default #line hidden return; case 2: this.ButtonForward = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\..\Views\MainWindow.xaml" this.ButtonForward.Click += new System.Windows.RoutedEventHandler(this.ButtonForward_OnClick); #line default #line hidden return; case 3: this.MainTabControl = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.TabSender = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.TbSender = ((System.Windows.Controls.ToolBar)(target)); return; case 6: this.CbSenderSelect = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.BtnAddSender = ((System.Windows.Controls.Button)(target)); return; case 8: this.BtnEditSender = ((System.Windows.Controls.Button)(target)); return; case 9: this.BtnDeleteSender = ((System.Windows.Controls.Button)(target)); return; case 10: this.TbServer = ((System.Windows.Controls.ToolBar)(target)); return; case 11: this.BtnAddServer = ((System.Windows.Controls.Button)(target)); return; case 12: this.BtnEditServer = ((System.Windows.Controls.Button)(target)); return; case 13: this.BtnDeleteServer = ((System.Windows.Controls.Button)(target)); return; case 14: this.TbPlaner = ((System.Windows.Controls.ToolBar)(target)); return; case 15: this.BtnClock = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\..\Views\MainWindow.xaml" this.BtnClock.Click += new System.Windows.RoutedEventHandler(this.BtnClock_OnClick); #line default #line hidden return; case 16: this.TbAddressee = ((System.Windows.Controls.ToolBar)(target)); return; case 17: this.BtnAddAddress = ((System.Windows.Controls.Button)(target)); return; case 18: this.BtnEditAddress = ((System.Windows.Controls.Button)(target)); return; case 19: this.BtnDeleteAddress = ((System.Windows.Controls.Button)(target)); return; case 20: this.TabPlaner = ((System.Windows.Controls.TabItem)(target)); return; case 21: this.CldSchedulDateTimes = ((System.Windows.Controls.Calendar)(target)); return; case 22: this.TpTimePicker = ((Xceed.Wpf.Toolkit.TimePicker)(target)); return; case 23: this.BtnSendClock = ((System.Windows.Controls.Button)(target)); return; case 24: this.BtnSendAtOnce = ((System.Windows.Controls.Button)(target)); return; case 25: this.TabEditMail = ((System.Windows.Controls.TabItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TextBox_City = ((System.Windows.Controls.TextBox)(target)); #line 21 "..\..\MainWindow.xaml" this.TextBox_City.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_City_KeyUp); #line default #line hidden return; case 2: this.TextBox_Room = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.TxtRoomType = ((System.Windows.Controls.TextBox)(target)); return; case 4: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 5: this.GreetLabel = ((System.Windows.Controls.Label)(target)); return; case 6: this.NewMemberButton1 = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\MainWindow.xaml" this.NewMemberButton1.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 7: this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target)); return; case 8: this.LoginButton = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\MainWindow.xaml" this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 9: this.NewMemberButton = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\MainWindow.xaml" this.NewMemberButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 10: #line 50 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 11: this.exp1 = ((System.Windows.Controls.Expander)(target)); return; case 12: this.CalendarSearch = ((System.Windows.Controls.Calendar)(target)); #line 53 "..\..\MainWindow.xaml" this.CalendarSearch.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.searchDate_SelectedDatesChanged); #line default #line hidden return; case 13: this.SearchSDate = ((System.Windows.Controls.Label)(target)); return; case 14: this.SearchEDate = ((System.Windows.Controls.Label)(target)); return; case 15: this.City_Require = ((System.Windows.Controls.Label)(target)); return; case 16: this.Date_Require = ((System.Windows.Controls.Label)(target)); return; case 17: this.Room_Require = ((System.Windows.Controls.Label)(target)); return; case 18: this.People_Require = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
public override void OnApplyTemplate() { base.OnApplyTemplate(); UnSubscribeEvents(); _popup = GetTemplateChild(ElementPopup) as Popup; _button = GetTemplateChild(ElementButton) as Button; _hourInput = GetTemplateChild(ElementHourPicker) as Selector; _minuteInput = GetTemplateChild(ElementMinutePicker) as Selector; _secondInput = GetTemplateChild(ElementSecondPicker) as Selector; _hourHand = GetTemplateChild(ElementHourHand) as FrameworkElement; _ampmSwitcher = GetTemplateChild(ElementAmPmSwitcher) as Selector; _minuteHand = GetTemplateChild(ElementMinuteHand) as FrameworkElement; _secondHand = GetTemplateChild(ElementSecondHand) as FrameworkElement; _calendar = GetTemplateChild(ElementCalendar) as System.Windows.Controls.Calendar; SetHandVisibility(HandVisibility); SetPickerVisibility(PickerVisibility); SetDefaultTimeOfDayValues(); SubscribeEvents(); ApplyCulture(); ApplyBindings(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((cst238Exam2Clock.MainWindow)(target)); return; case 2: this.spDateTimeAndOption = ((System.Windows.Controls.Grid)(target)); return; case 3: this.spCalAndTime = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.calendarMain = ((System.Windows.Controls.Calendar)(target)); return; case 5: this.gsSplitter = ((System.Windows.Controls.GridSplitter)(target)); return; case 6: this.spClockAndTime = ((System.Windows.Controls.StackPanel)(target)); return; case 7: this.canvasClock = ((System.Windows.Controls.Canvas)(target)); return; case 8: this.lblBottomHour = ((System.Windows.Controls.Label)(target)); return; case 9: this.lblRightHour = ((System.Windows.Controls.Label)(target)); return; case 10: this.lblLeftHour = ((System.Windows.Controls.Label)(target)); return; case 11: this.lblTopHour = ((System.Windows.Controls.Label)(target)); return; case 12: this.lblTimeBox = ((System.Windows.Controls.Label)(target)); return; case 13: this.cbMilitaryTime = ((System.Windows.Controls.CheckBox)(target)); #line 19 "..\..\MainWindow.xaml" this.cbMilitaryTime.Unchecked += new System.Windows.RoutedEventHandler(this.cbMilitaryTime_Unchecked); #line default #line hidden #line 19 "..\..\MainWindow.xaml" this.cbMilitaryTime.Checked += new System.Windows.RoutedEventHandler(this.cbMilitaryTime_Checked); #line default #line hidden return; } this._contentLoaded = true; }
public override void OnApplyTemplate() { _textbox = GetTemplateChild("PART_TextBox") as TextBox; _textbox.TextChanged += (s, e) => { if (!_initialSetup) { UpdateTextbox(); _initialSetup = true; } }; base.OnApplyTemplate(); _popup = GetTemplateChild("PART_Popup") as Popup; if (_popup != null) { _calendar = (Calendar)_popup.Child; _popup.Child = null; Grid grid = new Grid(); _popup.Child = grid; grid.ColumnDefinitions.Add(new ColumnDefinition()); grid.ColumnDefinitions.Add(new ColumnDefinition()); _timeControl.VerticalAlignment = VerticalAlignment.Top; _timeControl.Margin = new Thickness(3); // I'd like to improve this too Grid.SetColumn(_timeControl, 1); grid.Children.Add(_calendar); grid.Children.Add(_timeControl); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.dp_TypesCheck = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.rbtnAll = ((System.Windows.Controls.RadioButton)(target)); #line 24 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.rbtnAll.Checked += new System.Windows.RoutedEventHandler(this.Type_Checked); #line default #line hidden return; case 3: #line 25 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked); #line default #line hidden return; case 4: #line 26 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked); #line default #line hidden return; case 5: this.pbtnMore = ((IMCustomControls.PopupToggleButton)(target)); return; case 6: this.ptbtnCalendar = ((IMCustomControls.PopupToggleButton)(target)); return; case 7: this.ppMore = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 8: #line 37 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 9: this.ppCalendar = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 10: this.calendar = ((System.Windows.Controls.Calendar)(target)); #line 42 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged); #line default #line hidden #line 42 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.calendar.AddHandler(System.Windows.ContentElement.PreviewMouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.calendar_PreviewMouseUp)); #line default #line hidden return; case 11: this.sv = ((System.Windows.Controls.ScrollViewer)(target)); return; case 12: this.rictBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 13: this.cmMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 14: this.flowDoc = ((IMClient.Helper.FlowDocumentEx)(target)); return; case 15: this.grid_LoadWithoutContent = ((System.Windows.Controls.Grid)(target)); return; case 16: this.grid_SearchWithoutContent = ((System.Windows.Controls.Grid)(target)); return; case 17: this.btn_BackToAll = ((System.Windows.Controls.Button)(target)); #line 251 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.btn_BackToAll.Click += new System.Windows.RoutedEventHandler(this.btn_BackToAll_Click); #line default #line hidden return; case 18: this.aniLoading = ((IMClient.Views.Controls.AnimationLoading)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); return; case 2: this.BusinessTab = ((System.Windows.Controls.TabItem)(target)); return; case 3: #line 301 "..\..\MainWindow.xaml" ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CategoriestabItem1_Clicked); #line default #line hidden return; case 4: this.Categories = ((System.Windows.Controls.ComboBox)(target)); #line 315 "..\..\MainWindow.xaml" this.Categories.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.chan); #line default #line hidden return; case 5: #line 316 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoToCategories); #line default #line hidden return; case 6: this.tabVisible = ((System.Windows.Controls.Button)(target)); #line 320 "..\..\MainWindow.xaml" this.tabVisible.Click += new System.Windows.RoutedEventHandler(this.TabVisible); #line default #line hidden return; case 7: this.BusinessListView = ((System.Windows.Controls.ListView)(target)); #line 322 "..\..\MainWindow.xaml" this.BusinessListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.editBusiness); #line default #line hidden return; case 8: this.GridViewWithStyle = ((System.Windows.Controls.GridView)(target)); return; case 9: #line 337 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NullBusiness); #line default #line hidden return; case 10: #line 338 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AllBusiness); #line default #line hidden return; case 11: #line 339 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddBusiness); #line default #line hidden return; case 12: #line 340 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteBusiness); #line default #line hidden return; case 13: this.CategoryTab = ((System.Windows.Controls.TabItem)(target)); return; case 14: #line 359 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoToBusinnes); #line default #line hidden return; case 15: this.CategoriesListView = ((System.Windows.Controls.ListView)(target)); #line 362 "..\..\MainWindow.xaml" this.CategoriesListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.EditCategory); #line default #line hidden return; case 16: #line 439 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCategory); #line default #line hidden return; case 17: #line 440 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteCategory); #line default #line hidden return; case 18: this.CalenderTab = ((System.Windows.Controls.TabItem)(target)); return; case 19: this.calendar = ((System.Windows.Controls.Calendar)(target)); #line 461 "..\..\MainWindow.xaml" this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Selecteddatechanged); #line default #line hidden return; case 20: this.CalenderCategoriesListView = ((System.Windows.Controls.ListView)(target)); return; case 21: this.GridViewWithStyleCalender = ((System.Windows.Controls.GridView)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\..\Windows\WeeklyPlan\GetDetail.xaml" ((Torun.Windows.WeeklyPlan.GetDetail)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 8 "..\..\..\..\Windows\WeeklyPlan\GetDetail.xaml" ((Torun.Windows.WeeklyPlan.GetDetail)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden #line 9 "..\..\..\..\Windows\WeeklyPlan\GetDetail.xaml" ((Torun.Windows.WeeklyPlan.GetDetail)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.weeklyPlan_title = ((System.Windows.Controls.Label)(target)); return; case 3: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\..\Windows\WeeklyPlan\GetDetail.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); #line default #line hidden return; case 4: this.getDetailCalendar = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.dbCalendar = ((System.Windows.Controls.Calendar)(target)); return; case 6: this.getDetailCalendarOK = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.dbCalendarOK = ((System.Windows.Controls.Calendar)(target)); return; case 8: this.getDetailDescription = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.dbDescription = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mdpDate = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target)); #line 144 "..\..\..\..\UC\DateUC.xaml" this.mdpDate.AddHandler(System.Windows.Input.Mouse.PreviewMouseDownEvent, new System.Windows.Input.MouseButtonEventHandler(this.mdpDate_PreviewMouseDown)); #line default #line hidden return; case 2: this.calDatePopup = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 3: this.Border = ((System.Windows.Controls.Border)(target)); return; case 4: this.calDate = ((System.Windows.Controls.Calendar)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Principal = ((System.Windows.Controls.TabItem)(target)); return; case 2: this.butFpGrowth = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\MainWindow.xaml" this.butFpGrowth.Click += new System.Windows.RoutedEventHandler(this.butFpGrowth_Click); #line default #line hidden return; case 3: this.txtSoporte = ((System.Windows.Controls.TextBox)(target)); #line 14 "..\..\MainWindow.xaml" this.txtSoporte.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSoporte_TextChanged); #line default #line hidden return; case 4: this.butCargar = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\MainWindow.xaml" this.butCargar.Click += new System.Windows.RoutedEventHandler(this.butCargar_Click); #line default #line hidden return; case 5: this.txtResultado = ((System.Windows.Controls.TextBox)(target)); #line 17 "..\..\MainWindow.xaml" this.txtResultado.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_1); #line default #line hidden return; case 6: this.CalendarioFinal = ((System.Windows.Controls.Calendar)(target)); return; case 7: this.CalendarioInicial = ((System.Windows.Controls.Calendar)(target)); return; case 8: this.confianza = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtDependencias = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.txtConfianza = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.butCalcular = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\MainWindow.xaml" this.butCalcular.Click += new System.Windows.RoutedEventHandler(this.butCalcular_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.add = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\Main.xaml" this.add.Click += new System.Windows.RoutedEventHandler(this.add_Click); #line default #line hidden return; case 2: this.Query = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\Main.xaml" this.Query.Click += new System.Windows.RoutedEventHandler(this.query_Click); #line default #line hidden return; case 3: this.delete = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\Main.xaml" this.delete.Click += new System.Windows.RoutedEventHandler(this.delete_Click); #line default #line hidden return; case 4: this.TAG = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.COUNT = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.weather = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\Main.xaml" this.weather.Click += new System.Windows.RoutedEventHandler(this.weather_Click); #line default #line hidden return; case 7: this.MC = ((System.Windows.Controls.Calendar)(target)); return; case 8: this.KEY = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.COMBOBOX = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.SEC = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.logout = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\Main.xaml" this.logout.Click += new System.Windows.RoutedEventHandler(this.logout_Click); #line default #line hidden return; case 12: this.UpDate = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\Main.xaml" this.UpDate.Click += new System.Windows.RoutedEventHandler(this.UpDate_Click); #line default #line hidden return; case 13: this.enc = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\Main.xaml" this.enc.Click += new System.Windows.RoutedEventHandler(this.enc_Click); #line default #line hidden return; case 14: this.key = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.enc_path = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.dec = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\Main.xaml" this.dec.Click += new System.Windows.RoutedEventHandler(this.dec_Click); #line default #line hidden return; case 17: this.Salt = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.Com_Encway = ((System.Windows.Controls.ComboBox)(target)); return; case 19: this.cloud = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\Main.xaml" this.cloud.Click += new System.Windows.RoutedEventHandler(this.cloud_Click); #line default #line hidden return; case 20: this.browser = ((System.Windows.Controls.Button)(target)); #line 60 "..\..\Main.xaml" this.browser.Click += new System.Windows.RoutedEventHandler(this.browser_click); #line default #line hidden return; case 21: this.bn_refresh = ((System.Windows.Controls.Button)(target)); #line 61 "..\..\Main.xaml" this.bn_refresh.Click += new System.Windows.RoutedEventHandler(this.bn_refresh_Click); #line default #line hidden return; case 22: this.checkBox = ((System.Windows.Controls.CheckBox)(target)); return; case 23: this.download = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\Main.xaml" this.download.Click += new System.Windows.RoutedEventHandler(this.download_Click); #line default #line hidden return; case 24: this.change = ((System.Windows.Controls.Button)(target)); #line 69 "..\..\Main.xaml" this.change.Click += new System.Windows.RoutedEventHandler(this.change_Click); #line default #line hidden return; case 25: this.Way2Enc = ((System.Windows.Controls.ComboBox)(target)); return; case 26: this.Srctext = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.Destext = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.label = ((System.Windows.Controls.Label)(target)); return; case 29: this.ChoosedPath = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.ChooseFile = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\Main.xaml" this.ChooseFile.Click += new System.Windows.RoutedEventHandler(this.ChooseFile_Click); #line default #line hidden return; case 31: this.Do = ((System.Windows.Controls.Button)(target)); #line 100 "..\..\Main.xaml" this.Do.Click += new System.Windows.RoutedEventHandler(this.Do_Click); #line default #line hidden return; case 32: this.checkover = ((System.Windows.Controls.CheckBox)(target)); return; case 33: this.ODEX = ((System.Windows.Controls.Button)(target)); return; case 34: this.DEX = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\Main.xaml" this.DEX.Click += new System.Windows.RoutedEventHandler(this.DEX_Click); #line default #line hidden return; case 35: this.ELF = ((System.Windows.Controls.Button)(target)); return; case 36: this.pywork = ((System.Windows.Controls.Button)(target)); #line 119 "..\..\Main.xaml" this.pywork.Click += new System.Windows.RoutedEventHandler(this.pywork_Click); #line default #line hidden return; case 37: this.Server = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\Main.xaml" this.Server.Click += new System.Windows.RoutedEventHandler(this.Server_Click); #line default #line hidden return; case 38: this.Scan = ((System.Windows.Controls.Button)(target)); #line 121 "..\..\Main.xaml" this.Scan.Click += new System.Windows.RoutedEventHandler(this.Scan_Click); #line default #line hidden return; } this._contentLoaded = true; }
/// <summary>Initializes a new instance of the <see cref="T:System.Windows.Automation.Peers.CalendarAutomationPeer" /> class. </summary> /// <param name="owner">The element associated with this automation peer.</param> // Token: 0x06002524 RID: 9508 RVA: 0x000B30EA File Offset: 0x000B12EA public CalendarAutomationPeer(System.Windows.Controls.Calendar owner) : base(owner) { }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 7 "..\..\..\..\Windows\Request\RequestSchedule.xaml" ((Torun.Windows.Request.RequestSchedule)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp); #line default #line hidden #line 8 "..\..\..\..\Windows\Request\RequestSchedule.xaml" ((Torun.Windows.Request.RequestSchedule)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden #line 9 "..\..\..\..\Windows\Request\RequestSchedule.xaml" ((Torun.Windows.Request.RequestSchedule)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden #line 10 "..\..\..\..\Windows\Request\RequestSchedule.xaml" ((Torun.Windows.Request.RequestSchedule)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.req_RequestSchedule = ((System.Windows.Controls.Label)(target)); return; case 3: this.req_btnClose = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\..\Windows\Request\RequestSchedule.xaml" this.req_btnClose.Click += new System.Windows.RoutedEventHandler(this.Req_btnClose_Click); #line default #line hidden return; case 4: this.schedule_ReqNumber = ((System.Windows.Controls.Label)(target)); return; case 5: this.schedule_DBReqNumber = ((System.Windows.Controls.Label)(target)); return; case 6: this.schedule_chooseDate = ((System.Windows.Controls.Label)(target)); return; case 7: this.schedule_ReqDatePicker = ((System.Windows.Controls.Calendar)(target)); #line 58 "..\..\..\..\Windows\Request\RequestSchedule.xaml" this.schedule_ReqDatePicker.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Schedule_ReqDatePicker_SelectedDatesChanged); #line default #line hidden return; case 8: this.Schedule_Save = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\..\..\Windows\Request\RequestSchedule.xaml" this.Schedule_Save.Click += new System.Windows.RoutedEventHandler(this.Schedule_Save_Click); #line default #line hidden return; case 9: this.lbl_scheduleResult = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\MainWindow.xaml" ((progkorny.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded); #line default #line hidden return; case 2: this.createTodoMenuItem = ((System.Windows.Controls.MenuItem)(target)); #line 22 "..\..\MainWindow.xaml" this.createTodoMenuItem.Click += new System.Windows.RoutedEventHandler(this.CreateTodoMenuItem_Click); #line default #line hidden return; case 3: this.refreshTodoMenuItem = ((System.Windows.Controls.MenuItem)(target)); #line 23 "..\..\MainWindow.xaml" this.refreshTodoMenuItem.Click += new System.Windows.RoutedEventHandler(this.RefreshTodoMenuItem_Click); #line default #line hidden return; case 4: this.ViewModeCalendar = ((MahApps.Metro.Controls.ToggleSwitch)(target)); #line 26 "..\..\MainWindow.xaml" this.ViewModeCalendar.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.ViewModeCalendar_Checked); #line default #line hidden #line 26 "..\..\MainWindow.xaml" this.ViewModeCalendar.Unchecked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.ViewModeCalendar_Unchecked); #line default #line hidden return; case 5: this.darkThemeToggle = ((MahApps.Metro.Controls.ToggleSwitch)(target)); #line 29 "..\..\MainWindow.xaml" this.darkThemeToggle.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.darkThemeToggle_Checked); #line default #line hidden #line 29 "..\..\MainWindow.xaml" this.darkThemeToggle.Unchecked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.DarkThemeToggle_Unchecked); #line default #line hidden return; case 6: this.colorsComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 30 "..\..\MainWindow.xaml" this.colorsComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ColorsComboBox_SelectionChanged); #line default #line hidden return; case 7: this.exitButton = ((System.Windows.Controls.MenuItem)(target)); #line 37 "..\..\MainWindow.xaml" this.exitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click); #line default #line hidden return; case 8: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 40 "..\..\MainWindow.xaml" this.dataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.EditTodo_Handler); #line default #line hidden return; case 9: this.calendar = ((System.Windows.Controls.Calendar)(target)); #line 59 "..\..\MainWindow.xaml" this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Calendar_SelectedDatesChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.TransparentTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.MultiLineTextBoxStyle = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.TextBoxExtended = ((Framework.UI.Controls.TextBoxExtended)(target)); return; case 5: this.TransparentTextBoxExtended = ((Framework.UI.Controls.TextBoxExtended)(target)); return; case 6: this.MultiLineTextBoxExtendedStyle = ((Framework.UI.Controls.TextBoxExtended)(target)); return; case 7: this.FilterTextBoxExtended = ((Framework.UI.Controls.TextBoxExtended)(target)); return; case 8: this.RichTextBox = ((Framework.UI.Controls.RichTextBoxExtended)(target)); return; case 9: this.PlainTextCutCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 10: this.PlainTextCopyCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 11: this.PlainTextPasteCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 12: this.PlainTextTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.RtfTextTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.XamlTextTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.ButtonTextBox = ((Framework.UI.Controls.ButtonTextBox)(target)); return; case 16: this.SearchButtonTextBoxStyle = ((Framework.UI.Controls.ButtonTextBox)(target)); return; case 17: this.FolderButtonTextBoxStyle = ((Framework.UI.Controls.ButtonTextBox)(target)); return; case 18: this.RefreshButtonTextBoxStyle = ((Framework.UI.Controls.ButtonTextBox)(target)); return; case 19: this.LargeSearchButtonTextBoxStyle = ((Framework.UI.Controls.ButtonTextBox)(target)); return; case 20: this.DatePicker = ((System.Windows.Controls.DatePicker)(target)); return; case 21: this.TransparentDatePicker = ((System.Windows.Controls.DatePicker)(target)); return; case 22: this.Calendar = ((System.Windows.Controls.Calendar)(target)); return; case 23: this.CheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 24: this.ToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target)); return; case 25: this.RadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 26: this.ComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 27: this.IsEditableToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target)); return; case 28: this.MaxLengthDecimalUpDown = ((Framework.UI.Controls.DecimalUpDown)(target)); return; case 29: this.TransparentComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 30: this.ComboDataGrid = ((Framework.UI.Controls.ComboDataGrid)(target)); return; case 31: this.DecimalUpDown = ((Framework.UI.Controls.DecimalUpDown)(target)); return; case 32: this.TransparentDecimalUpDown = ((Framework.UI.Controls.DecimalUpDown)(target)); return; case 33: this.ShowButtonSpinnerCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 34: this.AllowSpinCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 35: this.FormatStringTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.IncrementTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.MinimumTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.MaximumTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.IsRedOnNegativeCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; } this._contentLoaded = true; }
public override void OnApplyTemplate() { if (textBox != null) { BindingOperations.ClearBinding(textBox, TextBox.TextProperty); } textBox = (TextBox)GetTemplateChild("PART_EditableTextBox"); if (textBox != null) { BindingOperations.SetBinding(textBox, TextBox.TextProperty, new Binding { Source = this, Path = new PropertyPath(SelectedDateProperty), Converter = DateTimeConverter, Mode = BindingMode.TwoWay, ValidatesOnDataErrors = true, ValidatesOnExceptions = true, NotifyOnValidationError = true, UpdateSourceTrigger = UpdateSourceTrigger.LostFocus, }.Do(b => b.ValidationRules.Add(DateTimeConverter))); } if (pickerBase != null) { pickerBase.DropDownOpened -= pickerBase_DropDownOpened; } pickerBase = (PickerBase)GetTemplateChild("PART_PickerBase"); if (pickerBase != null) { pickerBase.DropDownOpened += pickerBase_DropDownOpened; } if (monthCalendar != null) { monthCalendar.SelectedDatesChanged -= monthCalendar_SelectedDatesChanged; BindingOperations.ClearBinding(monthCalendar, System.Windows.Controls.Calendar.SelectedDateProperty); } monthCalendar = (System.Windows.Controls.Calendar)GetTemplateChild("PART_DatePickerCalendar"); if (monthCalendar != null) { monthCalendar.SelectedDatesChanged += monthCalendar_SelectedDatesChanged; BindingOperations.SetBinding(monthCalendar, System.Windows.Controls.Calendar.SelectedDateProperty, new Binding { Source = this, Path = new PropertyPath(SelectedDateProperty), Mode = BindingMode.TwoWay, UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged }); } UpdateVisibility(); }