コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.zagolovok = ((System.Windows.Controls.TextBox)(target));

            #line 31 "..\..\AddTask.xaml"
                this.zagolovok.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 31 "..\..\AddTask.xaml"
                this.zagolovok.LostFocus += new System.Windows.RoutedEventHandler(this.TextBox_LostFocus);

            #line default
            #line hidden
                return;

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

            case 3:
                this.date = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

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

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.las = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.Container = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 8:

            #line 55 "..\..\AddTask.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        private static void OnFormatChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            DateTimeUpDown dateTimeUpDown = o as DateTimeUpDown;

            if (dateTimeUpDown != null)
            {
                dateTimeUpDown.OnFormatChanged(( DateTimeFormat )e.OldValue, ( DateTimeFormat )e.NewValue);
            }
        }
コード例 #3
0
 void CreateDateTimeUpDown()
 {
     if (dtud == null)
     {
         dtud = new mwc.DateTimeUpDown
         {
             Focusable         = true,
             IsTabStop         = true,
             ClipValueToMinMax = true,
             ShowButtonSpinner = true
         };
         dtud.ValueChanged += UpDown_ValueChanged;
     }
     if (dtp != null)
     {
         CopyValues(dtp, dtud);
         dtp.ValueChanged -= UpDown_ValueChanged;
         dtp = null;
     }
     Control.Child = dtud;
 }
コード例 #4
0
 void CreateDateTimePicker()
 {
     if (dtp == null)
     {
         dtp = new mwc.DateTimePicker
         {
             ShowButtonSpinner = false,
             AutoCloseCalendar = true,
             ClipValueToMinMax = true,
             Focusable         = true,
             IsTabStop         = true
         };
         dtp.ValueChanged += UpDown_ValueChanged;
     }
     if (dtud != null)
     {
         CopyValues(dtud, dtp);
         dtud.ValueChanged -= UpDown_ValueChanged;
         dtud = null;
     }
     Control.Child = dtp;
 }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NotifyDateTime = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 2:
                this.Notification = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

#line 58 "..\..\CreateNotification.xaml"
                this.CreateButton.Click += new System.Windows.RoutedEventHandler(this.CreateButtonClick);

#line default
#line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.headerGrid = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.mainGrid = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.footerGrid = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 5:
                this.tagScroll = ((System.Windows.Controls.ScrollViewer)(target));

            #line 71 "..\..\..\Views\CreateView.xaml"
                this.tagScroll.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewer_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 6:
                this.tagList = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 8:
                this.CalendarControl = ((System.Windows.Controls.Calendar)(target));
                return;

            case 9:
                this.startTimetext = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 10:
                this.endTimetext = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 11:
                this.meetingTitleText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.inviteLink = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.meetingTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.logoPath = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\OutboundScreenPop.xaml"
                ((Agent.Interaction.Desktop.OutboundScreenPop)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 9 "..\..\OutboundScreenPop.xaml"
                ((Agent.Interaction.Desktop.OutboundScreenPop)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden

            #line 9 "..\..\OutboundScreenPop.xaml"
                ((Agent.Interaction.Desktop.OutboundScreenPop)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 9 "..\..\OutboundScreenPop.xaml"
                ((Agent.Interaction.Desktop.OutboundScreenPop)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MainBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:

            #line 35 "..\..\OutboundScreenPop.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.DGOutboundContactData = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line 66 "..\..\OutboundScreenPop.xaml"
                this.cmbCallResult.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbCallResult_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.chkbxRescheduleCall = ((System.Windows.Controls.CheckBox)(target));

            #line 69 "..\..\OutboundScreenPop.xaml"
                this.chkbxRescheduleCall.Checked += new System.Windows.RoutedEventHandler(this.chkbxRescheduleCall_Checked);

            #line default
            #line hidden

            #line 69 "..\..\OutboundScreenPop.xaml"
                this.chkbxRescheduleCall.Unchecked += new System.Windows.RoutedEventHandler(this.chkbxRescheduleCall_Unchecked);

            #line default
            #line hidden
                return;

            case 8:
                this.chkbxPersonalCallback = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.dpRescheduledate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.dpRescheduletime = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 11:
                this.btnUpdate = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\OutboundScreenPop.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
ファイル: TimePicker.cs プロジェクト: zhaoyin/officeOBA
 internal static bool IsFormatStringValid(object value)
 {
     return(DateTimeUpDown.IsFormatStringValid(value));
 }
コード例 #9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.ManageMedicinesWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.dgMedicines = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.btnDeleteMedicine = ((System.Windows.Controls.Button)(target));
     
     #line 40 "..\..\..\Medicines\ManageMedicinesWindow.xaml"
     this.btnDeleteMedicine.Click += new System.Windows.RoutedEventHandler(this.btnDeleteMedicine_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEditMedicine = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\..\Medicines\ManageMedicinesWindow.xaml"
     this.btnEditMedicine.Click += new System.Windows.RoutedEventHandler(this.btnEditMedicine_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnAddMedicine = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\Medicines\ManageMedicinesWindow.xaml"
     this.btnAddMedicine.Click += new System.Windows.RoutedEventHandler(this.btnAddMedicine_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.dtudMedicines = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     
     #line 44 "..\..\..\Medicines\ManageMedicinesWindow.xaml"
     this.dtudMedicines.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.dtudMedicines_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnRefreshMedicines = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\Medicines\ManageMedicinesWindow.xaml"
     this.btnRefreshMedicines.Click += new System.Windows.RoutedEventHandler(this.btnRefreshMedicines_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnViewAllMedicines = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\Medicines\ManageMedicinesWindow.xaml"
     this.btnViewAllMedicines.Click += new System.Windows.RoutedEventHandler(this.btnViewAllMedicines_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._format = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 4:
                this._autoCloseCalendar = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this._clipValueToMinMax = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 8:
                this._calendarWidth = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 9:
                this._showDropDownButton = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this._timePickerVisibility = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this._timePickerShowButtonSpinner = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this._timeFormat = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this._timeFormatString = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this._timeWatermark = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this._minimum = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 16:
                this._maximum = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 17:
                this._currentDateTimePart = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this._datetimePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 19:
                this._startTime = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 20:
                this._endTime = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 21:
                this._timeInterval = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 22:
                this._maxDropDownHeight = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 23:
                this._timePicker = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
 private static bool IsTimeFormatStringValid(object value)
 {
     return(DateTimeUpDown.IsFormatStringValid(value));
 }
コード例 #12
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.ManageInstrumentsWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.dgInstruments = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.btnDeleteInstrument = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\..\Inventories\ManageInstrumentsWindow.xaml"
     this.btnDeleteInstrument.Click += new System.Windows.RoutedEventHandler(this.btnDeleteInstrument_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEditInstrument = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\..\Inventories\ManageInstrumentsWindow.xaml"
     this.btnEditInstrument.Click += new System.Windows.RoutedEventHandler(this.btnEditInstrument_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnAddInstrument = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\Inventories\ManageInstrumentsWindow.xaml"
     this.btnAddInstrument.Click += new System.Windows.RoutedEventHandler(this.btnAddInstrument_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.dtudSelectedMonth = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 8:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\..\Inventories\ManageInstrumentsWindow.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnSignature = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\..\Inventories\ManageInstrumentsWindow.xaml"
     this.btnSignature.Click += new System.Windows.RoutedEventHandler(this.btnSignature_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.lblSelectedMonth = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.btnAddEditRevision = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\..\Inventories\ManageInstrumentsWindow.xaml"
     this.btnAddEditRevision.Click += new System.Windows.RoutedEventHandler(this.btnAddEditRevision_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lblSignature = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblSignature1 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.ManageGeneralPaidsWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.dgGeneralPaids = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.btnDeleteGeneralPaid = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\..\GeneralPaids\ManageGeneralPaidsWindow.xaml"
     this.btnDeleteGeneralPaid.Click += new System.Windows.RoutedEventHandler(this.btnDeleteGeneralPaid_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEditGeneralPaid = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\GeneralPaids\ManageGeneralPaidsWindow.xaml"
     this.btnEditGeneralPaid.Click += new System.Windows.RoutedEventHandler(this.btnEditGeneralPaid_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnAddGeneralPaid = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\..\GeneralPaids\ManageGeneralPaidsWindow.xaml"
     this.btnAddGeneralPaid.Click += new System.Windows.RoutedEventHandler(this.btnAddGeneralPaid_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.lblTotalMonth = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.dtudSelectedMonth = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 9:
     this.btnRefreshGeneralPaids = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\..\GeneralPaids\ManageGeneralPaidsWindow.xaml"
     this.btnRefreshGeneralPaids.Click += new System.Windows.RoutedEventHandler(this.btnRefreshGeneralPaids_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.ManageTreatmentPricesWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tcTratments = ((System.Windows.Controls.TabControl)(target));
     return;
     case 4:
     this.dgDentristy = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 5:
     this.tcPainClinic = ((System.Windows.Controls.TabControl)(target));
     return;
     case 6:
     this.dgPainClinic = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 7:
     this.dgPainClinicHI = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 8:
     this.tcEndodontics = ((System.Windows.Controls.TabControl)(target));
     return;
     case 9:
     this.dgEndodontics = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 10:
     this.dgEndodonticsHI = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 11:
     this.tcOrthodontics = ((System.Windows.Controls.TabControl)(target));
     return;
     case 12:
     this.dgOrthodontics = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 13:
     this.dgOrthodonticsHI = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 14:
     this.tcCmf = ((System.Windows.Controls.TabControl)(target));
     return;
     case 15:
     this.dgCmf = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 16:
     this.dgCmfHI = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 17:
     this.tcPeriodontics = ((System.Windows.Controls.TabControl)(target));
     return;
     case 18:
     this.dgPeriodontics = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 19:
     this.dgPeriodonticsHI = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 20:
     this.tcPediatricDental = ((System.Windows.Controls.TabControl)(target));
     return;
     case 21:
     this.dgPediatricDental = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 22:
     this.dgPediatricDentalHI = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 23:
     this.btnDeleteTreatment = ((System.Windows.Controls.Button)(target));
     
     #line 326 "..\..\..\Treatments\ManageTreatmentPricesWindow.xaml"
     this.btnDeleteTreatment.Click += new System.Windows.RoutedEventHandler(this.btnDeleteTreatment_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.btnEditTreatment = ((System.Windows.Controls.Button)(target));
     
     #line 327 "..\..\..\Treatments\ManageTreatmentPricesWindow.xaml"
     this.btnEditTreatment.Click += new System.Windows.RoutedEventHandler(this.btnEditTreatment_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btnAddTreatment = ((System.Windows.Controls.Button)(target));
     
     #line 328 "..\..\..\Treatments\ManageTreatmentPricesWindow.xaml"
     this.btnAddTreatment.Click += new System.Windows.RoutedEventHandler(this.btnAddTreatment_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.btnCopyPrices = ((System.Windows.Controls.Button)(target));
     
     #line 329 "..\..\..\Treatments\ManageTreatmentPricesWindow.xaml"
     this.btnCopyPrices.Click += new System.Windows.RoutedEventHandler(this.btnCopyPrices_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.dtudSelectedYear = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 28:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 332 "..\..\..\Treatments\ManageTreatmentPricesWindow.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #15
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.TotalInvoicesWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.dgReceivedInvoices = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.dtudSelectedMonth = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 5:
     this.lblTotalMonth = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.dgOutgoingInvoices = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 7:
     this.btnRefreshInvoices = ((System.Windows.Controls.Button)(target));
     
     #line 81 "..\..\..\..\Invoices\Total\TotalInvoicesWindow.xaml"
     this.btnRefreshInvoices.Click += new System.Windows.RoutedEventHandler(this.btnRefreshInvoices_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnExportToPdf = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\..\..\Invoices\Total\TotalInvoicesWindow.xaml"
     this.btnExportToPdf.Click += new System.Windows.RoutedEventHandler(this.btnExportToPdf_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textBlockHeading = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.errormessage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 5:
                this.textBlockLastName = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.textBlockAddress = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 60 "..\..\RestaurantRegister.xaml"
                this.textBoxZip.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.zipCode_KeyDown);

            #line default
            #line hidden

            #line 60 "..\..\RestaurantRegister.xaml"
                this.textBoxZip.GotFocus += new System.Windows.RoutedEventHandler(this.addressGotFocus);

            #line default
            #line hidden

            #line 60 "..\..\RestaurantRegister.xaml"
                this.textBoxZip.LostFocus += new System.Windows.RoutedEventHandler(this.addressLostFocus);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\RestaurantRegister.xaml"
                this.textBoxCity.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.city_KeyDown);

            #line default
            #line hidden

            #line 61 "..\..\RestaurantRegister.xaml"
                this.textBoxCity.GotFocus += new System.Windows.RoutedEventHandler(this.addressGotFocus);

            #line default
            #line hidden

            #line 61 "..\..\RestaurantRegister.xaml"
                this.textBoxCity.LostFocus += new System.Windows.RoutedEventHandler(this.addressLostFocus);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\RestaurantRegister.xaml"
                this.textBoxStreet.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.street_KeyDown);

            #line default
            #line hidden

            #line 64 "..\..\RestaurantRegister.xaml"
                this.textBoxStreet.GotFocus += new System.Windows.RoutedEventHandler(this.addressGotFocus);

            #line default
            #line hidden

            #line 64 "..\..\RestaurantRegister.xaml"
                this.textBoxStreet.LostFocus += new System.Windows.RoutedEventHandler(this.addressLostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.textBoxStreetNum = ((System.Windows.Controls.TextBox)(target));

            #line 65 "..\..\RestaurantRegister.xaml"
                this.textBoxStreetNum.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.houseNum_KeyDown);

            #line default
            #line hidden

            #line 65 "..\..\RestaurantRegister.xaml"
                this.textBoxStreetNum.GotFocus += new System.Windows.RoutedEventHandler(this.addressGotFocus);

            #line default
            #line hidden

            #line 65 "..\..\RestaurantRegister.xaml"
                this.textBoxStreetNum.LostFocus += new System.Windows.RoutedEventHandler(this.addressLostFocus);

            #line default
            #line hidden
                return;

            case 12:
                this.textBlockPhone = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.textBoxPhone = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.textBlockStyle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.textBoxStyle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.textBlockDescript = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.textBoxDesc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.textBlockHours = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.fromWork = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 20:
                this.textBlockHoursFrom = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.toWork = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 22:
                this.textBlockHoursTo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.textBlockEmailId = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.textBoxEmail = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.textBlockPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.passwordBox1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 27:
                this.textBlockConfirmPwd = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.passwordBoxConfirm = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 29:
                this.Submit = ((System.Windows.Controls.Button)(target));

            #line 111 "..\..\RestaurantRegister.xaml"
                this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.AddEditMedicinesModal)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.lblMedicineNotes = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.txtMedicineNotes = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.lblMedicineName = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.txtMedicineName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.lblMedicineBrand = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.dtudExpiredDate = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 9:
     this.lblExpiredDate = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lblMedicineBatch = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lblWasMedicineChanged = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.txtMedicineBrand = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtMedicineBatch = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.chkWasMedicineChanged = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.btnAddUpdateMedicine = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\Medicines\AddEditMedicinesModal.xaml"
     this.btnAddUpdateMedicine.Click += new System.Windows.RoutedEventHandler(this.btnAddUpdateMedicine_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\..\Medicines\AddEditMedicinesModal.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main_window = ((final_project2.MainWindow)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.main_window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\MainWindow.xaml"
                this.grid1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.grid_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.create_item = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.create_item.Click += new System.Windows.RoutedEventHandler(this.mnuNew_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.zoomAndPanControl = ((System.Windows.Controls.ContentControl)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.zoomAndPanControl_MouseDown);

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.zoomAndPanControl_MouseUp);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.zoomAndPanControl_MouseMove);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_MouseWheel);

            #line default
            #line hidden
                return;

            case 5:
                this.front_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.AddTodoList.Click += new System.Windows.RoutedEventHandler(this.AddTodoList_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.front_canvas2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.Todo_box = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 11:
                this.btnOpenFile2 = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.btnOpenFile2.Click += new System.Windows.RoutedEventHandler(this.btnOpenFiles_Click2);

            #line default
            #line hidden
                return;

            case 12:
                this.PathTextBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.btnOpenWeb2 = ((System.Windows.Controls.Button)(target));

            #line 86 "..\..\MainWindow.xaml"
                this.btnOpenWeb2.Click += new System.Windows.RoutedEventHandler(this.btnOpenWeb_Click2);

            #line default
            #line hidden
                return;

            case 14:
                this.WebTextBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.YesButton2 = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\MainWindow.xaml"
                this.YesButton2.Click += new System.Windows.RoutedEventHandler(this.create_Click2);

            #line default
            #line hidden
                return;

            case 16:
                this.NoButton2 = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\MainWindow.xaml"
                this.NoButton2.Click += new System.Windows.RoutedEventHandler(this.cancel_Click2);

            #line default
            #line hidden
                return;

            case 17:
                this.InputBox = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.InputTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.btnOpenFile = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.btnOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnOpenFiles_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.PathTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.btnOpenWeb = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.btnOpenWeb.Click += new System.Windows.RoutedEventHandler(this.btnOpenWeb_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.WebTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.start_timepicker2 = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 24:
                this.end_timepicker2 = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 25:
                this.color = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 26:
                this.YesButton = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\MainWindow.xaml"
                this.YesButton.Click += new System.Windows.RoutedEventHandler(this.create_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.NoButton = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.NoButton.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ActivityBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 29:

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Act);

            #line default
            #line hidden

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Act);

            #line default
            #line hidden
                return;

            case 30:

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Dele_Act);

            #line default
            #line hidden

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Dele_Act);

            #line default
            #line hidden
                return;

            case 31:

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.E_Act);

            #line default
            #line hidden

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.E_Act);

            #line default
            #line hidden
                return;

            case 32:
                this.EditBox = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.EditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.btnEditOpenFile = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\MainWindow.xaml"
                this.btnEditOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnEditOpenFiles_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.PathEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.btnEditOpenWeb = ((System.Windows.Controls.Button)(target));

            #line 159 "..\..\MainWindow.xaml"
                this.btnEditOpenWeb.Click += new System.Windows.RoutedEventHandler(this.btnEditOpenWeb_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.WebEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.start_timepicker = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 39:
                this.end_timepicker = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 40:
                this.editcolor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 41:
                this.Act_YesButton = ((System.Windows.Controls.Button)(target));

            #line 182 "..\..\MainWindow.xaml"
                this.Act_YesButton.Click += new System.Windows.RoutedEventHandler(this.edit_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.Act_NoButton = ((System.Windows.Controls.Button)(target));

            #line 183 "..\..\MainWindow.xaml"
                this.Act_NoButton.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.ManageReceivedInvoicesWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.dgInvoices = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.btnDeleteInvoice = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\..\Invoices\Outgoing\ManageReceivedInvoicesWindow.xaml"
     this.btnDeleteInvoice.Click += new System.Windows.RoutedEventHandler(this.btnDeleteInvoice_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEditInvoice = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\..\Invoices\Outgoing\ManageReceivedInvoicesWindow.xaml"
     this.btnEditInvoice.Click += new System.Windows.RoutedEventHandler(this.btnEditInvoice_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnAddInvoice = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\..\Invoices\Outgoing\ManageReceivedInvoicesWindow.xaml"
     this.btnAddInvoice.Click += new System.Windows.RoutedEventHandler(this.btnAddInvoice_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.dtudSelectedMonth = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 8:
     this.btnViewInvoices = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\..\..\Invoices\Outgoing\ManageReceivedInvoicesWindow.xaml"
     this.btnViewInvoices.Click += new System.Windows.RoutedEventHandler(this.btnViewInvoices_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.lblTotalMonth = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.cbFilter = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #20
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MyDentApplication.ManageLaboratoryWorksWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.dgLaboratoryWokrs = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.btnDeleteLaboratoryWork = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\LaboratoryWorks\ManageLaboratoryWorksWindow.xaml"
     this.btnDeleteLaboratoryWork.Click += new System.Windows.RoutedEventHandler(this.btnDeleteLaboratoryWork_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEditLaboratoryWork = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\..\LaboratoryWorks\ManageLaboratoryWorksWindow.xaml"
     this.btnEditLaboratoryWork.Click += new System.Windows.RoutedEventHandler(this.btnEditLaboratoryWork_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnAddLaboratoryWork = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\LaboratoryWorks\ManageLaboratoryWorksWindow.xaml"
     this.btnAddLaboratoryWork.Click += new System.Windows.RoutedEventHandler(this.btnAddLaboratoryWork_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.dtudSelectedMonth = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
     return;
     case 8:
     this.btnViewLaboratoryWorks = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\..\LaboratoryWorks\ManageLaboratoryWorksWindow.xaml"
     this.btnViewLaboratoryWorks.Click += new System.Windows.RoutedEventHandler(this.btnViewLaboratoryWorks_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.cbFilter = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }