Inheritance: DateTimeUpDown
Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Deadline = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 2:
                this.Edit = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.Add = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.Save = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.Remove = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DateField = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 2:
                this.NameField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.PlaceField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.DescrioptionField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.DurationField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.NotifyBeforeField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.GuestsListView = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\Views\ListViewItemScheduler.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnEditMailText_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.dtPicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:

            #line 16 "..\..\..\Views\ListViewItemScheduler.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnDelMail_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomersList_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.BrokersList_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.subjectTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.dtpStartTime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 5:
                this.Save = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\AddAppointment.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.idFallTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.DateFall = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:
                this.StreetFall = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.cityFall = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.ImageFall = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.finishBtn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FirstDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 2:
                this.SecondDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:

            #line 16 "..\..\DatabaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadData);

            #line default
            #line hidden
                return;

            case 4:
                this.ListDataBinding = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fromDTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 2:

            #line 51 "..\..\..\Pages\ChoseTerminPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoBack_Handler);

            #line default
            #line hidden
                return;

            case 3:

            #line 57 "..\..\..\Pages\ChoseTerminPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Continue_Handler);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.UserDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:

            #line 17 "..\..\AddDate.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SendToDatabase);

            #line default
            #line hidden
                return;

            case 4:
                this.displayText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        protected override IEnumerable<Control> InitializeControls(string oldValue)
        {
            // todo: http://www.codeproject.com/Articles/414414/SharePoint-Working-with-Dates-in-CAML
            var ucIncludeTime = new CheckBox
            {
                MinWidth = _controlWidth,
                Margin = _controlMargin,
                Padding = new Thickness(0, 2, 0, 0),
                Content = "Include time",
                IsChecked = !_dateOnly
            };

            _control = new DateTimePicker
            {
                MinWidth = _controlWidth,
                Margin = _controlMargin,

                Format = DateTimeFormat.Custom,
                FormatString = "yyyy-MM-ddTHH:mm:ssZ",
                TimeFormat = DateTimeFormat.ShortTime,
                Watermark = "value",
                Text = oldValue
            };

            _control.ValueChanged += (o, args) => OnValueChanged();
            _control.LostFocus += (o, args) => OnValueChanged();

            return new Control[]
            {
                ucIncludeTime,
                _control
            };
        }
Ejemplo n.º 10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.deadline = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 2:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.tambah = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.batal = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.busyIndo = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 2:

            #line 29 "..\..\CheckOut.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.ComboInvoiceType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.ComboShop = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.ComboCustomer = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.DateOrder = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 7:
                this.ComboShop2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.ComboCustomer2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.DateOrder2 = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 10:

            #line 119 "..\..\CheckOut.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.DataGrid_order = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\Window4.xaml"
                ((Catpost_VK_Content.Window4)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.datetime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:

            #line 177 "..\..\Window4.xaml"
                ((System.Windows.Controls.Button)(target)).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.Localizations = ((System.Windows.Controls.ComboBox)(target));

            #line 18 "..\..\..\Ui\AddNewAppointment.xaml"
                this.Localizations.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Localizations_OnSelected);

            #line default
            #line hidden
                return;

            case 2:
                this.Specializations = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\..\Ui\AddNewAppointment.xaml"
                this.Specializations.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Specializations_OnSelected);

            #line default
            #line hidden
                return;

            case 3:
                this.Specialists = ((System.Windows.Controls.ComboBox)(target));

            #line 23 "..\..\..\Ui\AddNewAppointment.xaml"
                this.Specialists.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Specialists_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.OccurenceDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));

            #line 29 "..\..\..\Ui\AddNewAppointment.xaml"
                this.OccurenceDate.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.OccurenceDate_OnSelectedDateChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.AvailableAppointments = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.AddAppointment = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\Ui\AddNewAppointment.xaml"
                this.AddAppointment.Click += new System.Windows.RoutedEventHandler(this.AddAppointment_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.titleBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.startDateBox = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:
                this.endDateBox = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 4:
                this.participantBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.descriptionBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.submitButton = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.deleteButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.searchButton = ((System.Windows.Controls.Button)(target));
                return;

            case 2:
                this.picker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:
                this.dataList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.listItems = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.bookThePitch = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SubjectCB = ((System.Windows.Controls.ComboBox)(target));

            #line 13 "..\..\..\WEdit\WindowEditEmployee.xaml"
                this.SubjectCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SubjectCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.FIOTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.SexCB = ((System.Windows.Controls.ComboBox)(target));

            #line 17 "..\..\..\WEdit\WindowEditEmployee.xaml"
                this.SexCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SexCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.DayB = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 5:
                this.TelTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.AddBN = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\WEdit\WindowEditEmployee.xaml"
                this.AddBN.Click += new System.Windows.RoutedEventHandler(this.AddBN_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.CancelBN = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\WEdit\WindowEditEmployee.xaml"
                this.CancelBN.Click += new System.Windows.RoutedEventHandler(this.CancelBN_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 "..\..\Reservation.xaml"
                ((IPZ_fast_food_.Reservation)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.GridPri = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:

            #line 12 "..\..\Reservation.xaml"
                ((System.Windows.Controls.ScrollViewer)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewer_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 4:
                this.BurgersGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.pickerafter = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 7:
                this.pickerbefore = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 8:

            #line 97 "..\..\Reservation.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ReservedTable);

            #line default
            #line hidden
                return;

            case 9:

            #line 98 "..\..\Reservation.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MyReservedTable);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.m_RecordBalance = ((System.Windows.Controls.TextBox)(target));

            #line 10 "..\..\..\Windows\AddRecord.xaml"
                this.m_RecordBalance.LostFocus += new System.Windows.RoutedEventHandler(this.m_RecordBalance_LostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.m_RecordTopUp = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\Windows\AddRecord.xaml"
                this.m_RecordTopUp.LostFocus += new System.Windows.RoutedEventHandler(this.m_RecordTopUp_LostFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.m_RecordDateTime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));

            #line 14 "..\..\..\Windows\AddRecord.xaml"
                this.m_RecordDateTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.m_RecordDateTime_ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.m_SubmitButton = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\Windows\AddRecord.xaml"
                this.m_SubmitButton.Click += new System.Windows.RoutedEventHandler(this.m_SubmitButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.m_RecordTypeBox = ((System.Windows.Controls.ComboBox)(target));

            #line 17 "..\..\..\Windows\AddRecord.xaml"
                this.m_RecordTypeBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.m_RecordTypeBox_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.fromDTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 18 "..\..\..\Views\NewReportFormView.xaml"
                ((Mvvm.Views.NewReportFormView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.NameTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\Views\NewReportFormView.xaml"
                this.NameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SaveEnableCheck);

            #line default
            #line hidden
                return;

            case 4:
                this.AddressTextBox = ((Mvvm.Controls.GeoLocationAutoComplete)(target));
                return;

            case 5:
                this.NumOfExplosionsTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 52 "..\..\..\Views\NewReportFormView.xaml"
                this.NumOfExplosionsTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SaveEnableCheck);

            #line default
            #line hidden
                return;

            case 6:
                this.TimeDatePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 7:
                this.ActionsPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.SaveButton = ((Mvvm.Controls.ActionButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppointmentsListDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 2:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.dateHourDatePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 4:
                this.BrokerComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.CustomerComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.TxtAppointmentID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.TxtSubject = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.BtnModify = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\AppointmentsList.xaml"
                this.BtnModify.Click += new System.Windows.RoutedEventHandler(this.BtnModify_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.BtnDelete = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\AppointmentsList.xaml"
                this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ReminderTitle = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.ReminderTitle.GotFocus += new System.Windows.RoutedEventHandler(this.TextGotFocus);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                this.ReminderTitle.LostFocus += new System.Windows.RoutedEventHandler(this.TextLostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.Title = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.AddReminder = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.AddReminder.Click += new System.Windows.RoutedEventHandler(this.AddReminder_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Cancel = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.test = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 6:
                this.TimePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 23
0
        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.dateOfTestDatePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:
                this.traineeIdList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.city = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.street = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.building_number = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\AddAutoTest.xaml"
                this.building_number.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 7:
                this.errorMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.proccessMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\AddAutoTest.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.timeSlider = ((System.Windows.Controls.Slider)(target));

            #line 16 "..\..\MapWindow.xaml"
                this.timeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.mapOfDevices = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:

            #line 27 "..\..\MapWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.macBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.beginDateTime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 6:
                this.lastDateTime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 7:
                this.granularityBox = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 8:

            #line 40 "..\..\MapWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Animation_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DayFor = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 2:
                this.DayTo = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 3:
                this.SubjectCB = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\..\UControl\UCCharts.xaml"
                this.SubjectCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SubjectCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.GroupCB = ((System.Windows.Controls.ComboBox)(target));

            #line 22 "..\..\..\UControl\UCCharts.xaml"
                this.GroupCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GroupCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.FIOCB = ((System.Windows.Controls.ComboBox)(target));

            #line 23 "..\..\..\UControl\UCCharts.xaml"
                this.FIOCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FIOCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 24 "..\..\..\UControl\UCCharts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ApplayOnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NameCourse = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.NameCourseInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.NameTrainer = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.SelectedTrainer = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.NameRoom = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.SelectedRoom = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.StartDate = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.StartDatePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 9:
                this.EndDate = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.EndDatePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 11:
                this.Save = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TextBoxClientUser = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\..\..\Xaml\Receptionist\SearchReservations.xaml"
                this.TextBoxClientUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxClientUser_TextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.DateTimePickerDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));

            #line 23 "..\..\..\..\Xaml\Receptionist\SearchReservations.xaml"
                this.DateTimePickerDate.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DateTimePickerDate_ValueChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ListBoxReservations = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.ButtonChange = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\..\Xaml\Receptionist\SearchReservations.xaml"
                this.ButtonChange.Click += new System.Windows.RoutedEventHandler(this.ButtonChange_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ButtonRemove = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\..\Xaml\Receptionist\SearchReservations.xaml"
                this.ButtonRemove.Click += new System.Windows.RoutedEventHandler(this.ButtonRemove_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtRut = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.txtNumeroContrato = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.cboModalidad = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.cboTipoEvento = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.btnGuardar = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.dtpFechaInicio = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.dtpFechaTermino = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.txtAsistentes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txtPersonalAdicional = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.dtpHoraInicio = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 11:
                this.dtpHoraTermino = ((Xceed.Wpf.Toolkit.DateTimePicker)(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.lbHeader = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.lbKm = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.cbRoute = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.dtpDtDep = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 6:
                this.dtpDtArr = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 7:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.tbfreeseats = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.tbprice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.cbRoute_Copy = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 30
0
        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.dialogBox = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 3:
                this.TextInDialog = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.nameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.dateRep = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 6:
                this.streetTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.cityTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.boomsTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.intensitySlide = ((System.Windows.Controls.Slider)(target));
                return;

            case 10:
                this.intensityTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.finishBtn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HeadData = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.nameLabel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.phoneLabel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.BookingDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 5:
                this.advButton = ((CRMDesktop.StyledButton)(target));
                return;

            case 6:
                this.SaveButton = ((CRMDesktop.StyledButton)(target));
                return;

            case 7:
                this.AddButton = ((CRMDesktop.StyledButton)(target));
                return;

            case 8:
                this.noteLabel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.navButton = ((CRMDesktop.StyledButton)(target));
                return;

            case 10:
                this.scroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 11:
                this.BodyGrid = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 32
0
		protected void Init(ExportButton exportBtn, Grid mainGrid, Func<IEnumerableEx> getItems)
		{
			if (exportBtn == null)
				throw new ArgumentNullException("exportBtn");

			if (mainGrid == null)
				throw new ArgumentNullException("mainGrid");

			if (getItems == null)
				throw new ArgumentNullException("getItems");

			_exportBtn = exportBtn;
			_exportBtn.ExportStarted += ExportBtnOnExportStarted;

			dynamic ctrl = this;

			_from = ctrl.FromCtrl;
			_to = ctrl.ToCtrl;
			_drivePanel = ctrl.DrivePanel;

			Progress.Init(_exportBtn, mainGrid);

			From = DateTime.Today - TimeSpan.FromDays(7);
			To = DateTime.Today + TimeSpan.FromDays(1);

			_getItems = getItems;
		}
Ejemplo n.º 33
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Name_Search_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 24 "..\..\..\Customers.xaml"
     this.Name_Search_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Name_Search_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Mobile_Search_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\..\Customers.xaml"
     this.Mobile_Search_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Name_Search_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 26 "..\..\..\Customers.xaml"
     this.LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.EP = ((Source.EditPanel)(target));
     
     #line 27 "..\..\..\Customers.xaml"
     this.EP.Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 27 "..\..\..\Customers.xaml"
     this.EP.Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 27 "..\..\..\Customers.xaml"
     this.EP.Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.Name_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.Address_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.Telephone_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.Mobile_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.Balance_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.Save_Panel = ((Source.SavePanel)(target));
     
     #line 59 "..\..\..\Customers.xaml"
     this.Save_Panel.Save += new System.EventHandler(this.Save_Panel_Save);
     
     #line default
     #line hidden
     
     #line 59 "..\..\..\Customers.xaml"
     this.Save_Panel.Cancel += new System.EventHandler(this.Save_Panel_Cancel);
     
     #line default
     #line hidden
     return;
     case 12:
     this.From_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 72 "..\..\..\Customers.xaml"
     this.From_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.To_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 73 "..\..\..\Customers.xaml"
     this.To_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Account_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Point_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\..\Points.xaml"
     this.Point_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Point_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Type_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 26 "..\..\..\Points.xaml"
     this.Type_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Type_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.New = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 5:
     this.Points_LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 28 "..\..\..\Points.xaml"
     this.Points_LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Points_LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Save = ((Source.SavePanel)(target));
     
     #line 29 "..\..\..\Points.xaml"
     this.Save.Save += new System.EventHandler(this.Save_Save);
     
     #line default
     #line hidden
     
     #line 29 "..\..\..\Points.xaml"
     this.Save.Cancel += new System.EventHandler(this.Save_Cancel);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 30 "..\..\..\Points.xaml"
     ((Source.EditPanel)(target)).Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 30 "..\..\..\Points.xaml"
     ((Source.EditPanel)(target)).Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 30 "..\..\..\Points.xaml"
     ((Source.EditPanel)(target)).Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Properties_WP = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 9:
     this.Search_DG = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.Product_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 51 "..\..\..\Points.xaml"
     this.Product_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Serial_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 52 "..\..\..\Points.xaml"
     this.Serial_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Categories_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 53 "..\..\..\Points.xaml"
     this.Categories_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Categories_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.View_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.Account_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 76 "..\..\..\Points.xaml"
     this.Account_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Account_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.From_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 77 "..\..\..\Points.xaml"
     this.From_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.To_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 78 "..\..\..\Points.xaml"
     this.To_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.Transactions_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 18:
     this.Transaction_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 19:
     this.Stock_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 35
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dtp_fecha_inicio = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 2:
     this.dtp_fecha_final = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 3:
     this.But_BuscarUsuario = ((System.Windows.Controls.Button)(target));
     
     #line 39 "..\..\..\RegistroEventos\ViewEvent.xaml"
     this.But_BuscarUsuario.Click += new System.Windows.RoutedEventHandler(this.But_BuscarUsuario_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.But_BuscarEvento = ((System.Windows.Controls.Button)(target));
     
     #line 40 "..\..\..\RegistroEventos\ViewEvent.xaml"
     this.But_BuscarEvento.Click += new System.Windows.RoutedEventHandler(this.But_BuscarEvento_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.datagrid1 = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
     return;
     case 6:
     this.But_Imprimir = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 36
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.From_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 19 "..\..\..\Loans.xaml"
     this.From_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.To_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 20 "..\..\..\Loans.xaml"
     this.To_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Income_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.Outcome_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 5:
     this.Income_EP = ((Source.EditPanel)(target));
     
     #line 56 "..\..\..\Loans.xaml"
     this.Income_EP.Add += new System.EventHandler(this.Income_EP_Add);
     
     #line default
     #line hidden
     
     #line 56 "..\..\..\Loans.xaml"
     this.Income_EP.Edit += new System.EventHandler(this.Income_EP_Edit);
     
     #line default
     #line hidden
     
     #line 56 "..\..\..\Loans.xaml"
     this.Income_EP.Delete += new System.EventHandler(this.Income_EP_Delete);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Outcome_EP = ((Source.EditPanel)(target));
     
     #line 57 "..\..\..\Loans.xaml"
     this.Outcome_EP.Add += new System.EventHandler(this.Outcome_EP_Add);
     
     #line default
     #line hidden
     
     #line 57 "..\..\..\Loans.xaml"
     this.Outcome_EP.Edit += new System.EventHandler(this.Outcome_EP_Edit);
     
     #line default
     #line hidden
     
     #line 57 "..\..\..\Loans.xaml"
     this.Outcome_EP.Delete += new System.EventHandler(this.Outcome_EP_Delete);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public FrameworkElement CreateExtendedToolkitControl(PropertyDefinition propertyDefinition, string bindingPath)
        {
            var propertyType = propertyDefinition.PropertyType;
            if (propertyType.Is(typeof(DateTime)))
            {
                var c = new DateTimePicker()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(DateTimePicker.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(TimeSpan)))
            {
                var c = new TimeSpanUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(TimeSpanUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(int)) || propertyType.Is(typeof(int?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = int.MinValue,
                    Maximum = int.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(uint)) || propertyType.Is(typeof(uint?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = 0,
                    Maximum = uint.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(decimal)) || propertyType.Is(typeof(decimal?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = decimal.MinValue,
                    Maximum = decimal.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(Single)) || propertyType.Is(typeof(Single?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = decimal.MinValue,
                    Maximum = decimal.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(double)) || propertyType.Is(typeof(double?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = decimal.MinValue,
                    Maximum = decimal.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(Brush)))
            {
                var c = new ColorBox.ColorBox()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                };
                c.SetBinding(ColorBox.ColorBox.BrushProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(Guid)) || propertyType.Is(typeof(Guid?)))
            {
                var c = new MaskedTextBox()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Mask = "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(MaskedTextBox.TextProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(char)) || propertyType.Is(typeof(char?)))
            {
                var c = new MaskedTextBox()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Mask = "&",
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(MaskedTextBox.TextProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            return null;
        }
Ejemplo n.º 38
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Employees_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 2:
     this.Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 3:
     this.Attend_DTP = ((Xceed.Wpf.Toolkit.TimePicker)(target));
     return;
     case 4:
     this.Leave_DTP = ((Xceed.Wpf.Toolkit.TimePicker)(target));
     return;
     case 5:
     this.New = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     
     #line 28 "..\..\..\Add_Update_Attendence.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Update_Attendence_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 39
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.From_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 19 "..\..\..\Income.xaml"
     this.From_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.To_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 20 "..\..\..\Income.xaml"
     this.To_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Income_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 40
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 32 "..\..\..\..\View\ClockAdd.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Returenmaiin);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ClockList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 3:
     this.Musitip = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.Emailtip = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 5:
     this.Beer = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.EmailAdress = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.Record = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.Datetime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 9:
     
     #line 80 "..\..\..\..\View\ClockAdd.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 41
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\Transactions.xaml"
     ((POS.Transactions)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Search_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.Search_var1_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.Search_var2_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.Search_No_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 28 "..\..\..\Transactions.xaml"
     this.Search_No_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Search_Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 30 "..\..\..\Transactions.xaml"
     this.Search_Date_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.Search_Date_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Search_var1_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 31 "..\..\..\Transactions.xaml"
     this.Search_var1_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Search_var2_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 32 "..\..\..\Transactions.xaml"
     this.Search_var2_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.Transactions_LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 33 "..\..\..\Transactions.xaml"
     this.Transactions_LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.EP = ((Source.EditPanel)(target));
     
     #line 34 "..\..\..\Transactions.xaml"
     this.EP.Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\Transactions.xaml"
     this.EP.Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\Transactions.xaml"
     this.EP.Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 12:
     this.View_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.Info_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.var1_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.var2_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.No_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 62 "..\..\..\Transactions.xaml"
     this.Date_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.Date_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.Var1_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 19:
     this.Var2_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 20:
     this.Details_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 21:
     this.Details_DG = ((System.Windows.Controls.DataGrid)(target));
     
     #line 72 "..\..\..\Transactions.xaml"
     this.Details_DG.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Details_DG_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 73 "..\..\..\Transactions.xaml"
     this.Details_DG.CellEditEnding += new System.EventHandler<System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Details_DG_CellEditEnding);
     
     #line default
     #line hidden
     return;
     case 22:
     this.DC1 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 23:
     this.DC2 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 24:
     this.DC3 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 25:
     this.DC4 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 26:
     this.DC5 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 27:
     this.DC6 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 28:
     this.Edit_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     
     #line 93 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.Serial_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 94 "..\..\..\Transactions.xaml"
     this.Serial_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Serial_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 31:
     this.Amount_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.Price_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 96 "..\..\..\Transactions.xaml"
     this.Price_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Price_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 33:
     this.Discount_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 34:
     this.Product_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 99 "..\..\..\Transactions.xaml"
     this.Product_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Product_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 35:
     this.Totals_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 36:
     this.Total_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 37:
     this.Paid_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.Rest_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 39:
     
     #line 125 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 40:
     
     #line 126 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 41:
     this.Save_Panel = ((Source.SavePanel)(target));
     
     #line 128 "..\..\..\Transactions.xaml"
     this.Save_Panel.Save += new System.EventHandler(this.Save_Panel_Save);
     
     #line default
     #line hidden
     
     #line 128 "..\..\..\Transactions.xaml"
     this.Save_Panel.Cancel += new System.EventHandler(this.Save_Panel_Cancel);
     
     #line default
     #line hidden
     return;
     case 42:
     
     #line 130 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 42
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 18 "..\..\..\Attendence.xaml"
     this.Date_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 19 "..\..\..\Attendence.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Print_BTN_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Attendence_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     
     #line 28 "..\..\..\Attendence.xaml"
     ((Source.EditPanel)(target)).Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 28 "..\..\..\Attendence.xaml"
     ((Source.EditPanel)(target)).Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 28 "..\..\..\Attendence.xaml"
     ((Source.EditPanel)(target)).Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 43
0
        public DockPanel CreateChartDescriptorPanel()
        {
            Label dateTimeFromLabel = new Label {Content = "DateTime from:"};
            DateTimePicker dateTimePickerFrom = new DateTimePicker
            {
                DataContext = _chartDescriptor.DateTimeFrom,
                Value = _chartDescriptor.DateTimeFrom
            };
            dateTimePickerFrom.SetBinding(InputBase.TextProperty, new Binding("DateTimeFrom")
            {
                Mode = BindingMode.TwoWay,
                UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged
            });
            dateTimePickerFrom.ValueChanged += delegate
            {
                if (dateTimePickerFrom.Value != null)
                {
                    _chartDescriptor.DateTimeFrom = (DateTime) dateTimePickerFrom.Value;
                }
            };

            Label dateTimeToLabel = new Label {Content = "DateTime to:"};
            DateTimePicker dateTimePickerTo = new DateTimePicker
            {
                DataContext = _chartDescriptor.DateTimeTo,
                Value = _chartDescriptor.DateTimeFrom
            };
            dateTimePickerFrom.SetBinding(InputBase.TextProperty, new Binding("DateTimeTo")
            {
                Mode = BindingMode.TwoWay,
                UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged
            });
            dateTimePickerTo.ValueChanged += delegate
            {
                if (dateTimePickerTo.Value != null)
                {
                    _chartDescriptor.DateTimeTo = (DateTime) dateTimePickerTo.Value;
                }
            };

            Label numberTextBoxLabel = new Label {Content = "Number of points"};
            TextBox numberTextBox = new TextBox
            {
                DataContext = _chartDescriptor.Number,
                Text = _chartDescriptor.Number.ToString(),
                Width = 40
            };
            numberTextBox.TextChanged += delegate
            {
                try
                {
                    _chartDescriptor.Number = Convert.ToInt32(numberTextBox.Text);
                }
                catch (Exception)
                {
                    // ignored
                }
            };

            Label onlyCriticalCheckBoxLabel = new Label {Content = "Show only critical"};
            CheckBox onlyCriticalCheckBox = new CheckBox
            {
                DataContext = _chartDescriptor.OnlyCritical,
                VerticalAlignment = VerticalAlignment.Center
            };
            onlyCriticalCheckBox.Checked += delegate
            {
                if (onlyCriticalCheckBox.IsChecked != null && onlyCriticalCheckBox.IsChecked.Value)
                {
                    _chartDescriptor.OnlyCritical = true;
                }
            };
            onlyCriticalCheckBox.Unchecked += delegate
            {
                if (onlyCriticalCheckBox.IsChecked != null && !onlyCriticalCheckBox.IsChecked.Value)
                {
                    _chartDescriptor.OnlyCritical = false;
                }
            };

            DockPanel chartDescriptorPanel = new DockPanel
            {
                Name = _chartDescriptor.MeasurableType
            };

            chartDescriptorPanel.Children.Add(dateTimeFromLabel);
            chartDescriptorPanel.Children.Add(dateTimePickerFrom);
            chartDescriptorPanel.Children.Add(dateTimeToLabel);
            chartDescriptorPanel.Children.Add(dateTimePickerTo);
            chartDescriptorPanel.Children.Add(numberTextBoxLabel);
            chartDescriptorPanel.Children.Add(numberTextBox);
            chartDescriptorPanel.Children.Add(onlyCriticalCheckBoxLabel);
            chartDescriptorPanel.Children.Add(onlyCriticalCheckBox);

            return chartDescriptorPanel;
        }
Ejemplo n.º 44
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Person_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 3:
     this.Value_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.Person_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.New = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.add_update_Payment = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\Payment.xaml"
     this.add_update_Payment.Click += new System.Windows.RoutedEventHandler(this.add_update_Payment_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 = ((MyDentApplication.AddEditRemindersModal)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.lblReminderMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.txtReminderMessage = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.lblReminderMessage_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.dtpReminderAppearDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 7:
     this.chkRequireAdmin = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.btnAddUpdateReminder = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\..\Reminders\AddEditRemindersModal.xaml"
     this.btnAddUpdateReminder.Click += new System.Windows.RoutedEventHandler(this.btnAddUpdateReminder_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\Reminders\AddEditRemindersModal.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 46
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Date_TB = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     return;
     case 2:
     this.Value_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.Type_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 25 "..\..\..\Outcome.xaml"
     this.Type_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Type_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Description_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.New = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.add_update_outcome = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\..\Outcome.xaml"
     this.add_update_outcome.Click += new System.Windows.RoutedEventHandler(this.add_update_outcome_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }