Beispiel #1
0
        /// <summary>
        /// Updates the close button.
        /// </summary>
        /// <param name="obj">The calendar.</param>
        /// <param name="args">Dependency Property Changed Event Args.</param>
        private static void CloseButtonCalendar_Changed(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
#if SILVERLIGHT
            System.Windows.Controls.Calendar calendar = args.NewValue as System.Windows.Controls.Calendar;
#else
            Microsoft.Windows.Controls.Calendar calendar = args.NewValue as Microsoft.Windows.Controls.Calendar;
#endif
            Button button = obj as Button;
#if !SILVERLIGHT
            bool added = false;
#endif
            foreach (DateInputBox dateInputBox in DateInputBox.ActiveDateInputBoxes)
            {
                if (dateInputBox.Calendar == calendar)
                {
#if !SILVERLIGHT
                    added = true;
#endif
                    dateInputBox.UpdateCloseButton(button);
                }
            }

#if !SILVERLIGHT
            if (!added)
            {
                DateInputBox.CloseButtonsByCalendar.Add(calendar, button);
            }
#endif
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\ChooseParent.xaml"
                ((Core.ChooseParent)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.gridDocuments = ((Microsoft.Windows.Controls.DataGrid)(target));

            #line 14 "..\..\..\ChooseParent.xaml"
                this.gridDocuments.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.gridDocuments_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\ChooseParent.xaml"
                this.btnChoose.Click += new System.Windows.RoutedEventHandler(this.btnChoose_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\ChooseParent.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\ChooseParent.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.cldrDate = ((Microsoft.Windows.Controls.Calendar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DateDisplay = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.PopUpCalendarButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 3:
                this.CalendarPopup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 4:
                this.CalDisplay = ((Microsoft.Windows.Controls.Calendar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\Interfaz\VComentarios.xaml"
                ((ClienteFisio.Interfaz.VComentarios)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\Interfaz\VComentarios.xaml"
                ((ClienteFisio.Interfaz.VComentarios)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.listViewComs = ((System.Windows.Controls.ListView)(target));

            #line 30 "..\..\..\Interfaz\VComentarios.xaml"
                this.listViewComs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listViewPac_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 69 "..\..\..\Interfaz\VComentarios.xaml"
                this.btnVolver.Click += new System.Windows.RoutedEventHandler(this.btnVolver_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.calendar1 = ((Microsoft.Windows.Controls.Calendar)(target));
                return;

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

            #line 71 "..\..\..\Interfaz\VComentarios.xaml"
                this.btnEliminar.Click += new System.Windows.RoutedEventHandler(this.btnEliminar_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lblAvisos = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\Interfaz\VCuentas.xaml"
                ((ClienteFisio.Interfaz.VCuentas)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 7 "..\..\..\Interfaz\VCuentas.xaml"
                ((ClienteFisio.Interfaz.VCuentas)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\Interfaz\VCuentas.xaml"
                this.btnVolver.Click += new System.Windows.RoutedEventHandler(this.btnVolver_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.listViewLinP = ((System.Windows.Controls.ListView)(target));
                return;

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

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

            #line 102 "..\..\..\Interfaz\VCuentas.xaml"
                this.listViewS.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listViewS_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 10:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lblNPedidos = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblImpTotPedidos = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblTotSalarios = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lblSesCobradas = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lblSesNoCobradas = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.lblGastos = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lblIngresos = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.lblResult = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.label14 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 164 "..\..\..\Interfaz\VCuentas.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.calendar1 = ((Microsoft.Windows.Controls.Calendar)(target));

            #line 166 "..\..\..\Interfaz\VCuentas.xaml"
                this.calendar1.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar1_SelectedDatesChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 /// <summary>
 /// Initializes a new instance of the CalendarAutomationPeer class.
 /// </summary>
 /// <param name="owner">Owning Calendar</param>
 public CalendarAutomationPeer(Calendar owner)
     : base(owner)
 {
 }
Beispiel #7
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((CairoDesktop.MenuBar)(target));
     
     #line 20 "..\..\MenuBar.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.OnWindowLoaded);
     
     #line default
     #line hidden
     
     #line 21 "..\..\MenuBar.xaml"
     this.Window.Initialized += new System.EventHandler(this.OnWindowInitialized);
     
     #line default
     #line hidden
     
     #line 22 "..\..\MenuBar.xaml"
     this.Window.Closing += new System.ComponentModel.CancelEventHandler(this.OnWindowClosing);
     
     #line default
     #line hidden
     
     #line 23 "..\..\MenuBar.xaml"
     this.Window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.OnWindowResize);
     
     #line default
     #line hidden
     return;
     case 3:
     this.CairoMenuBarContainer = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 4:
     this.CairoMenuBar = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.CairoMenuIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.OpenAboutCairo = ((System.Windows.Controls.MenuItem)(target));
     
     #line 84 "..\..\MenuBar.xaml"
     this.OpenAboutCairo.Click += new System.Windows.RoutedEventHandler(this.AboutCairo);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 89 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenTaskManager);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 92 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.InitAppGrabberWindow);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 96 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.InitCairoSettingsWindow);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 99 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenControlPanel);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 103 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCloseCairoBox);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 107 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SysSleep);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 110 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenRebootBox);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 113 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenShutDownBox);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 116 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenLogoffBox);
     
     #line default
     #line hidden
     return;
     case 16:
     this.categorizedProgramsList = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 17:
     
     #line 174 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenUserFolder);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 177 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenMyDocs);
     
     #line default
     #line hidden
     return;
     case 19:
     this.PlacesDownloadsItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 180 "..\..\MenuBar.xaml"
     this.PlacesDownloadsItem.Click += new System.Windows.RoutedEventHandler(this.OpenDownloads);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 183 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenMyMusic);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 186 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenMyPics);
     
     #line default
     #line hidden
     return;
     case 22:
     
     #line 191 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenMyComputer);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 194 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenProgramFiles);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 198 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenRecycleBin);
     
     #line default
     #line hidden
     return;
     case 25:
     this.CairoMenuBarRight = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 26:
     this.SysTray = ((CairoDesktop.SystemTray)(target));
     return;
     case 27:
     this.dateText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 28:
     this.monthCalendar = ((Microsoft.Windows.Controls.Calendar)(target));
     return;
     case 29:
     
     #line 221 "..\..\MenuBar.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenTimeDateCPL);
     
     #line default
     #line hidden
     return;
     case 30:
     this.CairoSearchMenu = ((System.Windows.Controls.MenuItem)(target));
     
     #line 234 "..\..\MenuBar.xaml"
     this.CairoSearchMenu.SubmenuOpened += new System.Windows.RoutedEventHandler(this.FocusSearchBox);
     
     #line default
     #line hidden
     return;
     case 31:
     this.CairoSearchMenuIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 32:
     this.searchStr = ((System.Windows.Controls.TextBox)(target));
     return;
     case 33:
     this.stacksContainer = ((CairoDesktop.StacksContainer)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Interfaz\Pacientes\VNuevoTratamiento.xaml"
                ((ClienteFisio.Interfaz.Pacientes.VNuevoTratamiento)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Interfaz\Pacientes\VNuevoTratamiento.xaml"
                ((ClienteFisio.Interfaz.Pacientes.VNuevoTratamiento)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.btnañadir = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\..\Interfaz\Pacientes\VNuevoTratamiento.xaml"
                this.btnañadir.Click += new System.Windows.RoutedEventHandler(this.btnañadir_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 19 "..\..\..\..\Interfaz\Pacientes\VNuevoTratamiento.xaml"
                this.btnVolver.Click += new System.Windows.RoutedEventHandler(this.btnVolver_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\..\Interfaz\Pacientes\VNuevoTratamiento.xaml"
                this.btnIniTrat.Click += new System.Windows.RoutedEventHandler(this.btnIniTrat_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.lblAvisos = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lblNom = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblDiag = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.calendar1 = ((Microsoft.Windows.Controls.Calendar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((Core.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.tabContainer = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.tabActionLog = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.CldrLog = ((Microsoft.Windows.Controls.Calendar)(target));
                return;

            case 5:
                this.radioWideSearch = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.expanderDocTypes = ((System.Windows.Controls.Expander)(target));
                return;

            case 7:
                this.panelDocTypes = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.expanderUnits = ((System.Windows.Controls.Expander)(target));
                return;

            case 9:
                this.panelUnits = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.radioDocument = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 12:
                this.FilterLog = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\MainWindow.xaml"
                this.FilterLog.Click += new System.Windows.RoutedEventHandler(this.FilterLog_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.gridActionLog = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                ((ClienteFisio.Interfaz.Citas.VCitas)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                ((ClienteFisio.Interfaz.Citas.VCitas)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.calendar1 = ((Microsoft.Windows.Controls.Calendar)(target));

            #line 30 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.calendar1.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar1_SelectedDatesChanged);

            #line default
            #line hidden
                return;

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

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

            #line 59 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV9.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV9_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV10.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV10_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.listV11 = ((System.Windows.Controls.ListView)(target));

            #line 79 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV11.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV11_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.listV12 = ((System.Windows.Controls.ListView)(target));

            #line 89 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV12.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV12_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.listV13 = ((System.Windows.Controls.ListView)(target));

            #line 99 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV13.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV13_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.listV16 = ((System.Windows.Controls.ListView)(target));

            #line 109 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV16.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV16_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.listV17 = ((System.Windows.Controls.ListView)(target));

            #line 119 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV17.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV17_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.listV18 = ((System.Windows.Controls.ListView)(target));

            #line 129 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV18.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV18_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.listV19 = ((System.Windows.Controls.ListView)(target));

            #line 139 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV19.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV19_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.listV20 = ((System.Windows.Controls.ListView)(target));

            #line 149 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV20.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV20_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.listV21 = ((System.Windows.Controls.ListView)(target));

            #line 159 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.listV21.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listV21_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.lbl9 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lbl10 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lbl11 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lbl12 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lbl13 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lbl16 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.lbl17 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.lbl18 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lbl19 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lbl20 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lbl21 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 180 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA9.Click += new System.Windows.RoutedEventHandler(this.btnA9_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnA10 = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA10.Click += new System.Windows.RoutedEventHandler(this.btnA10_Click);

            #line default
            #line hidden
                return;

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

            #line 194 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA11.Click += new System.Windows.RoutedEventHandler(this.btnA11_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.btnA12 = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA12.Click += new System.Windows.RoutedEventHandler(this.btnA12_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnA13 = ((System.Windows.Controls.Button)(target));

            #line 208 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA13.Click += new System.Windows.RoutedEventHandler(this.btnA13_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btnA16 = ((System.Windows.Controls.Button)(target));

            #line 215 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA16.Click += new System.Windows.RoutedEventHandler(this.btnA16_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btnA17 = ((System.Windows.Controls.Button)(target));

            #line 222 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA17.Click += new System.Windows.RoutedEventHandler(this.btnA17_Click);

            #line default
            #line hidden
                return;

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

            #line 229 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA18.Click += new System.Windows.RoutedEventHandler(this.btnA18_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.btnA19 = ((System.Windows.Controls.Button)(target));

            #line 236 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA19.Click += new System.Windows.RoutedEventHandler(this.btnA19_Click);

            #line default
            #line hidden
                return;

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

            #line 243 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA20.Click += new System.Windows.RoutedEventHandler(this.btnA20_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.btnA21 = ((System.Windows.Controls.Button)(target));

            #line 250 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnA21.Click += new System.Windows.RoutedEventHandler(this.btnA21_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.gridSelecFisioSala = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.btnNoconfirm = ((System.Windows.Controls.Button)(target));

            #line 260 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnNoconfirm.Click += new System.Windows.RoutedEventHandler(this.btnNoconfirm_Click);

            #line default
            #line hidden
                return;

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

            case 41:
                this.ComboFisio = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 264 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btncomfirmar.Click += new System.Windows.RoutedEventHandler(this.btncomfirmar_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.lblSelectSal = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.lblSelctfisio = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.lblConfirmTit = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.comboDiag = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 47:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 48:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.lblAvisos = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.lblAvisosPacientes = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.lblAvisosPacientes2 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.lblAvisosSalas = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.lblAvisosFisios = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.listViewPac = ((System.Windows.Controls.ListView)(target));
                return;

            case 55:
                this.lblfecha = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.btnAñadir = ((System.Windows.Controls.Button)(target));

            #line 325 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnAñadir.Click += new System.Windows.RoutedEventHandler(this.btnAñadir_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.btnVolver = ((System.Windows.Controls.Button)(target));

            #line 326 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnVolver.Click += new System.Windows.RoutedEventHandler(this.btnVolver_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.btnEmails = ((System.Windows.Controls.Button)(target));

            #line 327 "..\..\..\..\Interfaz\Citas\VCitas.xaml"
                this.btnEmails.Click += new System.Windows.RoutedEventHandler(this.btnEmails_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 38 "..\..\..\..\PageCollection\PageControl\DirectMenu.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonMenu_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 43 "..\..\..\..\PageCollection\PageControl\DirectMenu.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonMenu_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 48 "..\..\..\..\PageCollection\PageControl\DirectMenu.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonMenu_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.calendar1 = ((Microsoft.Windows.Controls.Calendar)(target));
     return;
     case 5:
     this.toolBarTray1 = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 6:
     this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\Window1.xaml"
                ((WpfDiary.NET.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.RibbonWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 3:

            #line 13 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 4:

            #line 14 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 5:

            #line 15 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 6:

            #line 16 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 7:

            #line 17 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 8:

            #line 18 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 9:

            #line 19 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 10:

            #line 20 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 11:

            #line 21 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 12:

            #line 22 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 13:

            #line 23 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 14:

            #line 24 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 15:

            #line 25 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 16:

            #line 26 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 17:
                this.mainRibbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
                return;

            case 18:
                this.SaveAll = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 118 "..\..\Window1.xaml"
                this.SaveAll.Click += new System.Windows.RoutedEventHandler(this.SaveAll_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 127 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_5);

            #line default
            #line hidden
                return;

            case 20:

            #line 131 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_4);

            #line default
            #line hidden
                return;

            case 21:

            #line 132 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 22:

            #line 133 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 23:

            #line 134 "..\..\Window1.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 24:
                this.Exit = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));

            #line 135 "..\..\Window1.xaml"
                this.Exit.Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.Home = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 26:
                this.HomeButton1 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 155 "..\..\Window1.xaml"
                this.HomeButton1.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click_2);

            #line default
            #line hidden
                return;

            case 27:
                this.HomeButton2 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 156 "..\..\Window1.xaml"
                this.HomeButton2.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.HomeButton3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 157 "..\..\Window1.xaml"
                this.HomeButton3.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click_1);

            #line default
            #line hidden
                return;

            case 29:
                this.TabMedia = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 30:
                this.Enter = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 168 "..\..\Window1.xaml"
                this.Enter.Click += new System.Windows.RoutedEventHandler(this.Enter_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.Exits = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 32:
                this.Startup = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 33:
                this.Shutdown = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 34:
                this.Call = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

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

            case 36:
                this.Calendar = ((Microsoft.Windows.Controls.Calendar)(target));

            #line 197 "..\..\Window1.xaml"
                this.Calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Calendar_SelectedDatesChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.EnterSound = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 38:
                this.lbcm3 = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.lbcm2 = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.lbcm1 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.lbOk = ((System.Windows.Controls.Label)(target));

            #line 224 "..\..\Window1.xaml"
                this.lbOk.Loaded += new System.Windows.RoutedEventHandler(this.lbOk_Loaded);

            #line default
            #line hidden
                return;

            case 42:
                this.lbPr = ((System.Windows.Controls.Label)(target));

            #line 225 "..\..\Window1.xaml"
                this.lbPr.Loaded += new System.Windows.RoutedEventHandler(this.lbPr_Loaded);

            #line default
            #line hidden
                return;

            case 43:
                this.lbCl = ((System.Windows.Controls.Label)(target));

            #line 226 "..\..\Window1.xaml"
                this.lbCl.Loaded += new System.Windows.RoutedEventHandler(this.lbCl_Loaded);

            #line default
            #line hidden
                return;

            case 44:
                this.lbTo = ((System.Windows.Controls.Label)(target));

            #line 227 "..\..\Window1.xaml"
                this.lbTo.Loaded += new System.Windows.RoutedEventHandler(this.lbTo_Loaded);

            #line default
            #line hidden
                return;

            case 45:
                this.Grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 46:
                this.ListView = ((System.Windows.Controls.ListView)(target));

            #line 250 "..\..\Window1.xaml"
                this.ListView.Loaded += new System.Windows.RoutedEventHandler(this.ListView_Loaded);

            #line default
            #line hidden

            #line 250 "..\..\Window1.xaml"
                this.ListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 47:
                this.Grid3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:
                this.txtDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.txtTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.txtContent = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 51:
                this.txtStatus = ((System.Windows.Controls.TextBox)(target));

            #line 286 "..\..\Window1.xaml"
                this.txtStatus.Loaded += new System.Windows.RoutedEventHandler(this.txtStatus_Loaded);

            #line default
            #line hidden
                return;

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

            #line 287 "..\..\Window1.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 53:
                this.txtComment = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.buttonAppend = ((System.Windows.Controls.Button)(target));

            #line 294 "..\..\Window1.xaml"
                this.buttonAppend.Click += new System.Windows.RoutedEventHandler(this.buttonAppend_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.buttonSave = ((System.Windows.Controls.Button)(target));

            #line 295 "..\..\Window1.xaml"
                this.buttonSave.Click += new System.Windows.RoutedEventHandler(this.buttonSave_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.buttonClear = ((System.Windows.Controls.Button)(target));

            #line 296 "..\..\Window1.xaml"
                this.buttonClear.Click += new System.Windows.RoutedEventHandler(this.buttonClear_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\Window1.xaml"
     ((WpfDiary.NET.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.RibbonWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 12 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 13 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 14 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 15 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 16 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 17 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 18 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 19 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 20 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 21 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 22 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 23 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 24 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 25 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 26 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonCommand)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RibbonCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 17:
     this.mainRibbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
     return;
     case 18:
     this.SaveAll = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 118 "..\..\Window1.xaml"
     this.SaveAll.Click += new System.Windows.RoutedEventHandler(this.SaveAll_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 127 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_5);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 131 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_4);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 132 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_3);
     
     #line default
     #line hidden
     return;
     case 22:
     
     #line 133 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 134 "..\..\Window1.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click_2);
     
     #line default
     #line hidden
     return;
     case 24:
     this.Exit = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 135 "..\..\Window1.xaml"
     this.Exit.Click += new System.Windows.RoutedEventHandler(this.RibbonApplicationMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.Home = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 26:
     this.HomeButton1 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 155 "..\..\Window1.xaml"
     this.HomeButton1.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click_2);
     
     #line default
     #line hidden
     return;
     case 27:
     this.HomeButton2 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 156 "..\..\Window1.xaml"
     this.HomeButton2.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.HomeButton3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 157 "..\..\Window1.xaml"
     this.HomeButton3.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click_1);
     
     #line default
     #line hidden
     return;
     case 29:
     this.TabMedia = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 30:
     this.Enter = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 168 "..\..\Window1.xaml"
     this.Enter.Click += new System.Windows.RoutedEventHandler(this.Enter_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.Exits = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 32:
     this.Startup = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 33:
     this.Shutdown = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 34:
     this.Call = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 35:
     this.Grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 36:
     this.Calendar = ((Microsoft.Windows.Controls.Calendar)(target));
     
     #line 197 "..\..\Window1.xaml"
     this.Calendar.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.Calendar_SelectedDatesChanged);
     
     #line default
     #line hidden
     return;
     case 37:
     this.EnterSound = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 38:
     this.lbcm3 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.lbcm2 = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.lbcm1 = ((System.Windows.Controls.Label)(target));
     return;
     case 41:
     this.lbOk = ((System.Windows.Controls.Label)(target));
     
     #line 224 "..\..\Window1.xaml"
     this.lbOk.Loaded += new System.Windows.RoutedEventHandler(this.lbOk_Loaded);
     
     #line default
     #line hidden
     return;
     case 42:
     this.lbPr = ((System.Windows.Controls.Label)(target));
     
     #line 225 "..\..\Window1.xaml"
     this.lbPr.Loaded += new System.Windows.RoutedEventHandler(this.lbPr_Loaded);
     
     #line default
     #line hidden
     return;
     case 43:
     this.lbCl = ((System.Windows.Controls.Label)(target));
     
     #line 226 "..\..\Window1.xaml"
     this.lbCl.Loaded += new System.Windows.RoutedEventHandler(this.lbCl_Loaded);
     
     #line default
     #line hidden
     return;
     case 44:
     this.lbTo = ((System.Windows.Controls.Label)(target));
     
     #line 227 "..\..\Window1.xaml"
     this.lbTo.Loaded += new System.Windows.RoutedEventHandler(this.lbTo_Loaded);
     
     #line default
     #line hidden
     return;
     case 45:
     this.Grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 46:
     this.ListView = ((System.Windows.Controls.ListView)(target));
     
     #line 250 "..\..\Window1.xaml"
     this.ListView.Loaded += new System.Windows.RoutedEventHandler(this.ListView_Loaded);
     
     #line default
     #line hidden
     
     #line 250 "..\..\Window1.xaml"
     this.ListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 47:
     this.Grid3 = ((System.Windows.Controls.Grid)(target));
     return;
     case 48:
     this.txtDate = ((System.Windows.Controls.TextBox)(target));
     return;
     case 49:
     this.txtTitle = ((System.Windows.Controls.TextBox)(target));
     return;
     case 50:
     this.txtContent = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 51:
     this.txtStatus = ((System.Windows.Controls.TextBox)(target));
     
     #line 286 "..\..\Window1.xaml"
     this.txtStatus.Loaded += new System.Windows.RoutedEventHandler(this.txtStatus_Loaded);
     
     #line default
     #line hidden
     return;
     case 52:
     this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 287 "..\..\Window1.xaml"
     this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 53:
     this.txtComment = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.buttonAppend = ((System.Windows.Controls.Button)(target));
     
     #line 294 "..\..\Window1.xaml"
     this.buttonAppend.Click += new System.Windows.RoutedEventHandler(this.buttonAppend_Click);
     
     #line default
     #line hidden
     return;
     case 55:
     this.buttonSave = ((System.Windows.Controls.Button)(target));
     
     #line 295 "..\..\Window1.xaml"
     this.buttonSave.Click += new System.Windows.RoutedEventHandler(this.buttonSave_Click);
     
     #line default
     #line hidden
     return;
     case 56:
     this.buttonClear = ((System.Windows.Controls.Button)(target));
     
     #line 296 "..\..\Window1.xaml"
     this.buttonClear.Click += new System.Windows.RoutedEventHandler(this.buttonClear_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #14
0
 /// <summary>
 /// Sets the today button calendar.
 /// </summary>
 /// <param name="obj">The close button.</param>
 /// <param name="value">The calendar.</param>
 public static void SetCloseButtonCalendar(DependencyObject obj, Microsoft.Windows.Controls.Calendar value)
 {
     obj.SetValue(CloseButtonCalendarProperty, value);
 }