Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ThuUserControl = ((QuanLyPhanPhanBon.View.Thu.Thu)(target));
                return;

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

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

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

            case 5:
                this.TienSP = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 6:
                this.TongTien = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));
                return;

            case 7:
                this.dpick = ((System.Windows.Controls.DatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        private static MouseNotOverManagedWaitHandle CreateAndShowMessage(UIElement snackbar,
                                                                          SnackbarMessageQueueItem messageQueueItem, EventWaitHandle actionClickWaitHandle)
        {
            var clickCount      = 0;
            var snackbarMessage = new SnackbarMessage
            {
                Content       = messageQueueItem.Content,
                ActionContent = messageQueueItem.ActionContent
            };

            snackbarMessage.MouseDown += (sender, args) =>
            {
                //snackbar.Visibility = Visibility.Collapsed;
                actionClickWaitHandle.Set();
            };
            snackbarMessage.ActionClick += (sender, args) =>
            {
                if (++clickCount == 1)
                {
                    DoActionCallback(messageQueueItem);
                }
                actionClickWaitHandle.Set();
            };
            snackbar.SetCurrentValue(Snackbar.MessageProperty, snackbarMessage);
            snackbar.SetCurrentValue(Snackbar.IsActiveProperty, true);
            return(new MouseNotOverManagedWaitHandle(snackbar));
        }
        private static void OnDeactivateStoryboardCompleted(
            IInputElement snackbar, SnackbarMessage message)
        {
            var args = new SnackbarMessageEventArgs(DeactivateStoryboardCompletedEvent, message);

            snackbar.RaiseEvent(args);
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

            #line 23 "..\..\LTranlate.xaml"
                this.BtnSearch.Click += new System.Windows.RoutedEventHandler(this.BtnSearch_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\LTranlate.xaml"
                this.BtnCopy.Click += new System.Windows.RoutedEventHandler(this.BtnCopy_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.SnakeB = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 7:
                this.SnakeBarMessage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 31 "..\..\LTranlate.xaml"
                this.SnakeBarMessage.ActionClick += new System.Windows.RoutedEventHandler(this.SnakeBarMessage_ActionClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        private static MouseNotOverManagedWaitHandle CreateAndShowMessage(UIElement snackbar,
                                                                          SnackbarMessageQueueItem messageQueueItem, EventWaitHandle actionClickWaitHandle)
        {
            var             clickCount      = 0;
            SnackbarMessage snackbarMessage = Create(messageQueueItem);

            snackbarMessage.ActionClick += (sender, args) =>
            {
                if (++clickCount == 1)
                {
                    DoActionCallback(messageQueueItem);
                }

                actionClickWaitHandle.Set();
            };
            snackbar.SetCurrentValue(Snackbar.MessageProperty, snackbarMessage);
            snackbar.SetCurrentValue(Snackbar.IsActiveProperty, true);
            return(new MouseNotOverManagedWaitHandle(snackbar));
        }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.soldier = ((System.Windows.Controls.ListBox)(target));
                return;

            case 2:
                this.MySnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 3:
                this.snackbarMassage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 20 "..\..\ChatWindow.xaml"
                this.DlgHost.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.Quit_DialogHost_OnDialogClosing);

            #line default
            #line hidden
                return;

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

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

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

            #line 31 "..\..\ChatWindow.xaml"
                this.SearchIDTB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchIDTB_TextChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.BtnSp = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:

            #line 74 "..\..\ChatWindow.xaml"
                ((MaterialDesignThemes.Wpf.ColorZone)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ColorZone_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.MenuPB = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

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

            case 10:
                this.QuitBtn = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\ChatWindow.xaml"
                this.QuitBtn.Click += new System.Windows.RoutedEventHandler(this.MenuPopupButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\ChatWindow.xaml"
                this.addContact.Click += new System.Windows.RoutedEventHandler(this.addContact_Click);

            #line default
            #line hidden
                return;

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

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

            #line 97 "..\..\ChatWindow.xaml"
                this.findContacts.Click += new System.Windows.RoutedEventHandler(this.findContacts_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Contacts = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 15:
                this.ContactsTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 16:
                this.Contacts_ = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 17:
                this.Group_Chats_ = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 18:
                this.Chat = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 19:
                this.ChatGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.ChatList = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:

            #line 141 "..\..\ChatWindow.xaml"
                ((System.Windows.Controls.MediaElement)(target)).MediaEnded += new System.Windows.RoutedEventHandler(this.MediaElement_MediaEnded);

            #line default
            #line hidden
                return;

            case 22:
                this.Message = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 23:
                this.SendBox = ((System.Windows.Controls.TextBox)(target));

            #line 171 "..\..\ChatWindow.xaml"
                this.SendBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.SendBox_KeyUp);

            #line default
            #line hidden
                return;

            case 24:
                this.StickerBtn = ((System.Windows.Controls.Button)(target));

            #line 179 "..\..\ChatWindow.xaml"
                this.StickerBtn.Click += new System.Windows.RoutedEventHandler(this.StickerBtn_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.FilesendBtn = ((System.Windows.Controls.Button)(target));

            #line 184 "..\..\ChatWindow.xaml"
                this.FilesendBtn.Click += new System.Windows.RoutedEventHandler(this.FilesendBtn_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 201 "..\..\ChatWindow.xaml"
                this.sendBtn.Click += new System.Windows.RoutedEventHandler(this.sendBtn_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.ChatId = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 31:
                this.SnackbarMess = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 32:
                this.SnackMess = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 213 "..\..\ChatWindow.xaml"
                this.SnackMess.ActionClick += new System.Windows.RoutedEventHandler(this.SnackMess_ActionClick);

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

            #line 86 "..\..\MainWindow.xaml"
                this.BringTop.Checked += new System.Windows.RoutedEventHandler(this.BringTop_CheckedChanged);

            #line default
            #line hidden

            #line 87 "..\..\MainWindow.xaml"
                this.BringTop.Unchecked += new System.Windows.RoutedEventHandler(this.BringTop_CheckedChanged);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.StartnStopButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.StartnStopButton.Click += new System.Windows.RoutedEventHandler(this.StartnStopButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.AlertTable = ((System.Windows.Controls.DataGrid)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.AlertTable.Loaded += new System.Windows.RoutedEventHandler(this.AlertTable_Loaded);

            #line default
            #line hidden
                return;

            case 6:
                this.ActiveAlertTable = ((System.Windows.Controls.DataGrid)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.ActiveAlertTable.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ActiveAlertTable_MouseDoubleClick);

            #line default
            #line hidden

            #line 132 "..\..\MainWindow.xaml"
                this.ActiveAlertTable.MouseMove += new System.Windows.Input.MouseEventHandler(this.ActiveAlertTable_MouseMove);

            #line default
            #line hidden

            #line 132 "..\..\MainWindow.xaml"
                this.ActiveAlertTable.Loaded += new System.Windows.RoutedEventHandler(this.ActiveAlertTable_Loaded);

            #line default
            #line hidden
                return;

            case 7:
                this.sbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 8:
                this.sbarMsg = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 146 "..\..\MainWindow.xaml"
                this.sbarMsg.ActionClick += new System.Windows.RoutedEventHandler(this.SbarMsg_ActionClick);

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

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

            #line default
            #line hidden
                return;

            case 2:

            #line 83 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Group);

            #line default
            #line hidden
                return;

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

            case 4:
                this.MySnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 5:
                this.snackbarMassage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 99 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 9:
                this.deatal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:

            #line 110 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.signIn);

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

            #line 10 "..\..\CtaCamas.xaml"
                ((Ctamea_vivienda.CtaCamas)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dialogo = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 4:
                this.DialoPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.DialoPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 56 "..\..\CtaCamas.xaml"
                this.Exit.Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.GridCamas = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 9:
                this.CtrlLoad = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.dataGrid = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));

            #line 91 "..\..\CtaCamas.xaml"
                this.dataGrid.SelectionChanged += new Syncfusion.UI.Xaml.Grid.GridSelectionChangedEventHandler(this.DataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.CheckEstado = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 16:
                this.TXnota = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.BtnGuardar = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\CtaCamas.xaml"
                this.BtnGuardar.Click += new System.Windows.RoutedEventHandler(this.BtnGuardar_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.BtnCancelar = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\CtaCamas.xaml"
                this.BtnCancelar.Click += new System.Windows.RoutedEventHandler(this.BtnCancelar_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Notificaction = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 20:
                this.NotiMessa = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 191 "..\..\CtaCamas.xaml"
                this.NotiMessa.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 private static void OnDeactivateStoryboardCompleted(
     IInputElement snackbar, SnackbarMessage message)
 {
     var args = new SnackbarMessageEventArgs(DeactivateStoryboardCompletedEvent, message);
     snackbar.RaiseEvent(args);
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Panel1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 83 "..\..\CtaMae_Empleado.xaml"
                this.TxCodigo.LostFocus += new System.Windows.RoutedEventHandler(this.TxCodigo_LostFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 93 "..\..\CtaMae_Empleado.xaml"
                this.TxCelular.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TxCelular_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 96 "..\..\CtaMae_Empleado.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTNsearch_Click);

            #line default
            #line hidden
                return;

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

            case 10:

            #line 104 "..\..\CtaMae_Empleado.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTNsearch_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.Panel3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.BtnFoto = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\CtaMae_Empleado.xaml"
                this.BtnFoto.Click += new System.Windows.RoutedEventHandler(this.BtnFoto_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\CtaMae_Empleado.xaml"
                this.BtnNotas.Click += new System.Windows.RoutedEventHandler(this.BtnNotas_Click);

            #line default
            #line hidden
                return;

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

            #line 141 "..\..\CtaMae_Empleado.xaml"
                this.BtnRFID.Click += new System.Windows.RoutedEventHandler(this.BtnRFID_Click);

            #line default
            #line hidden
                return;

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

            case 18:
                this.CBpuntov = ((System.Windows.Controls.ComboBox)(target));

            #line 176 "..\..\CtaMae_Empleado.xaml"
                this.CBpuntov.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CBpuntov_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.txreservado = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.GridVivienda = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.CBVivienda = ((System.Windows.Controls.ComboBox)(target));

            #line 188 "..\..\CtaMae_Empleado.xaml"
                this.CBVivienda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CBVivienda_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.CBHabitacion = ((System.Windows.Controls.ComboBox)(target));

            #line 189 "..\..\CtaMae_Empleado.xaml"
                this.CBHabitacion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CBHabitacion_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.CBCama = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.CHdesayuno = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.CHalmuerzo = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.CHcomida = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.CHcena = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.CHrefrigerio = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.UDcntp = ((Syncfusion.Windows.Shared.UpDown)(target));
                return;

            case 30:
                this.CHvivienda = ((System.Windows.Controls.CheckBox)(target));

            #line 242 "..\..\CtaMae_Empleado.xaml"
                this.CHvivienda.Checked += new System.Windows.RoutedEventHandler(this.CHvivienda_Checked);

            #line default
            #line hidden

            #line 242 "..\..\CtaMae_Empleado.xaml"
                this.CHvivienda.Unchecked += new System.Windows.RoutedEventHandler(this.CHvivienda_Unchecked);

            #line default
            #line hidden
                return;

            case 31:
                this.CHmulcli = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.CHmulrese = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 33:
                this.CHluch = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 34:
                this.CHservi = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 35:
                this.CHestado = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.CHvisi = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 257 "..\..\CtaMae_Empleado.xaml"
                this.tx_nota.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tx_nota_TextChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.Notificaction = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 39:
                this.NotiMessa = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 269 "..\..\CtaMae_Empleado.xaml"
                this.NotiMessa.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;

            case 40:
                this.CtrlA = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 274 "..\..\CtaMae_Empleado.xaml"
                this.BtnBuscar.Click += new System.Windows.RoutedEventHandler(this.BtnBuscar_Click);

            #line default
            #line hidden
                return;

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

            #line 275 "..\..\CtaMae_Empleado.xaml"
                this.BtnNuevo.Click += new System.Windows.RoutedEventHandler(this.BtnNuevo_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.BtnEditar = ((System.Windows.Controls.Button)(target));

            #line 276 "..\..\CtaMae_Empleado.xaml"
                this.BtnEditar.Click += new System.Windows.RoutedEventHandler(this.BtnEditar_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.BtnEliminar = ((System.Windows.Controls.Button)(target));

            #line 277 "..\..\CtaMae_Empleado.xaml"
                this.BtnEliminar.Click += new System.Windows.RoutedEventHandler(this.BtnEliminar_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.CtrlB = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 281 "..\..\CtaMae_Empleado.xaml"
                this.BtnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.BtnCancel = ((System.Windows.Controls.Button)(target));

            #line 282 "..\..\CtaMae_Empleado.xaml"
                this.BtnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FileMode = ((RandotronWPF.FileModeWindow)(target));

            #line 10 "..\..\FileMode.xaml"
                this.FileMode.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 37 "..\..\FileMode.xaml"
                this.FileBtn.Click += new System.Windows.RoutedEventHandler(this.FileModeConfirmed);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\FileMode.xaml"
                this.ModeSelector.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ModeSelectorChange);

            #line default
            #line hidden
                return;

            case 6:
                this.StuGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 8:

            #line 77 "..\..\FileMode.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreBtnClicked);

            #line default
            #line hidden
                return;

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

            case 10:

            #line 94 "..\..\FileMode.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NxtBtnClicked);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.PopUpBar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 14:
                this.PopUpBarMessage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 112 "..\..\FileMode.xaml"
                this.PopUpBarMessage.ActionClick += new System.Windows.RoutedEventHandler(this.PopUpBarConfirmed);

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

            #line 10 "..\..\CtaMaeAdd.xaml"
                ((Ctamea_vivienda.CtaMaeAdd)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dialogo = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 4:
                this.DialoPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.DialoPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 50 "..\..\CtaMaeAdd.xaml"
                this.Exit.Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

            #line default
            #line hidden
                return;

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

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

            #line 54 "..\..\CtaMaeAdd.xaml"
                this.BtnAutomatic.Click += new System.Windows.RoutedEventHandler(this.BtnAutomatic_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\CtaMaeAdd.xaml"
                this.BtnManual.Click += new System.Windows.RoutedEventHandler(this.BtnManual_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Formulario = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 13:

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

            #line default
            #line hidden
                return;

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

            case 15:

            #line 106 "..\..\CtaMaeAdd.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTNsearch_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.TxEmpresa = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.CheckEstado = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 18:
                this.CheckReserva = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 19:
                this.UpHabitacion = ((Syncfusion.Windows.Shared.UpDown)(target));
                return;

            case 20:
                this.UpCamas = ((Syncfusion.Windows.Shared.UpDown)(target));
                return;

            case 21:
                this.BasicRatingBar = ((MaterialDesignThemes.Wpf.RatingBar)(target));
                return;

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

            case 23:
                this.BtnGuardar = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\CtaMaeAdd.xaml"
                this.BtnGuardar.Click += new System.Windows.RoutedEventHandler(this.BtnGuardar_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.BtnCancelar = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\CtaMaeAdd.xaml"
                this.BtnCancelar.Click += new System.Windows.RoutedEventHandler(this.BtnCancelar_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.Notificaction = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 26:
                this.NotiMessa = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 152 "..\..\CtaMaeAdd.xaml"
                this.NotiMessa.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public SnackbarMessageEventArgs(RoutedEvent routedEvent, SnackbarMessage message) : base(routedEvent)
 {
     Message = message;
 }
Exemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\Setupwindow.xaml"
                ((CDCswitchserver.setupwindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered);

            #line default
            #line hidden
                return;

            case 8:

            #line 242 "..\..\Setupwindow.xaml"
                ((MaterialDesignThemes.Wpf.ColorZone)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_MouseDown_Drag);

            #line default
            #line hidden
                return;

            case 9:

            #line 248 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 254 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Minimize_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ControlsCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 12:
                this.MangagerControl_PS = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.Mirrorscreen = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.JOY_STICK = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 17:
                this.TPPORFPP = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.OPEN_MAP = ((System.Windows.Controls.Button)(target));
                return;

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

            case 20:
                this.SIT_BUTTON = ((System.Windows.Controls.Button)(target));
                return;

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

            case 22:
                this.LOAD_BULLET = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.JUMP_BUTTON = ((System.Windows.Controls.Button)(target));
                return;

            case 24:
                this.TILT_LEFT_BUTTON = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.TILT_RIGHT_BUTTON = ((System.Windows.Controls.Button)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 38:
                this.MOUSE_EYE = ((System.Windows.Controls.Button)(target));
                return;

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

            case 40:
                this.GUN_THIRD = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 43:
                this.QUICKCHAT = ((System.Windows.Controls.Button)(target));
                return;

            case 44:
                this.VEHICLECHANGESIT = ((System.Windows.Controls.Button)(target));
                return;

            case 45:
                this.VEHICLEBOOSTER = ((System.Windows.Controls.Button)(target));
                return;

            case 46:
                this.VEHICLEBRAKE = ((System.Windows.Controls.Button)(target));
                return;

            case 47:
                this.VEHICLERIGHT = ((System.Windows.Controls.Button)(target));
                return;

            case 48:
                this.VEHICLELEFT = ((System.Windows.Controls.Button)(target));
                return;

            case 49:
                this.VEHICLELOOKOUT = ((System.Windows.Controls.Button)(target));
                return;

            case 50:
                this.VEHICLEUP = ((System.Windows.Controls.Button)(target));
                return;

            case 51:
                this.VEHICLEDOWN = ((System.Windows.Controls.Button)(target));
                return;

            case 52:
                this.SWIMUP = ((System.Windows.Controls.Button)(target));
                return;

            case 53:
                this.SWIMDOWN = ((System.Windows.Controls.Button)(target));
                return;

            case 54:
                this.InfoSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 55:
                this.InfoSnackbar_Content = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 407 "..\..\Setupwindow.xaml"
                this.InfoSnackbar_Content.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;

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

            #line 418 "..\..\Setupwindow.xaml"
                this.StartGame_Button.Click += new System.Windows.RoutedEventHandler(this.StartGame_Button_Click);

            #line default
            #line hidden
                return;

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

            #line 421 "..\..\Setupwindow.xaml"
                this.Capturescreenclick.Click += new System.Windows.RoutedEventHandler(this.Capturescreenclick_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.PoCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 59:
                this.TextBox_ShowNameControl = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 62:
                this.Reset = ((System.Windows.Controls.Button)(target));

            #line 464 "..\..\Setupwindow.xaml"
                this.Reset.Click += new System.Windows.RoutedEventHandler(this.Reset_Click);

            #line default
            #line hidden
                return;

            case 63:
                this.SizeSliderControlHeight = ((System.Windows.Controls.Slider)(target));
                return;

            case 64:

            #line 486 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Upsize_Click);

            #line default
            #line hidden
                return;

            case 65:

            #line 489 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Downsize_Click);

            #line default
            #line hidden
                return;

            case 66:

            #line 500 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Up_Click);

            #line default
            #line hidden
                return;

            case 67:

            #line 503 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Down_Click);

            #line default
            #line hidden
                return;

            case 68:

            #line 506 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Left_Click);

            #line default
            #line hidden
                return;

            case 69:

            #line 509 "..\..\Setupwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Right_Click);

            #line default
            #line hidden
                return;

            case 70:
                this.Left_distance = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.Top_distance = ((System.Windows.Controls.TextBox)(target));
                return;

            case 72:
                this.ToogleKeyButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 73:
                this.VehicleCheckbox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 74:
                this.ControlCheckbox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 75:
                this.SwimCheckbox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 76:
                this.OpenFunction_Menu = ((System.Windows.Controls.Button)(target));
                return;

            case 77:
                this.OpenMore_Menu = ((System.Windows.Controls.Button)(target));
                return;

            case 78:
                this.Menu_Function = ((System.Windows.Controls.Grid)(target));
                return;

            case 79:
                this.ALLOWMIRRORSCREEN = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 80:
                this.OPACITYOFMIRROR = ((System.Windows.Controls.Slider)(target));
                return;

            case 81:
                this.Choosepattdialog = ((System.Windows.Controls.Button)(target));

            #line 608 "..\..\Setupwindow.xaml"
                this.Choosepattdialog.Click += new System.Windows.RoutedEventHandler(this.Choosepattdialog_Click);

            #line default
            #line hidden
                return;

            case 82:
                this.PATHSAVESNAPSHOOT = ((System.Windows.Controls.TextBox)(target));
                return;

            case 83:
                this.Saveuser = ((System.Windows.Controls.Button)(target));

            #line 629 "..\..\Setupwindow.xaml"
                this.Saveuser.Click += new System.Windows.RoutedEventHandler(this.Saveuser_Click);

            #line default
            #line hidden
                return;

            case 84:
                this.Canceluser = ((System.Windows.Controls.Button)(target));

            #line 632 "..\..\Setupwindow.xaml"
                this.Canceluser.Click += new System.Windows.RoutedEventHandler(this.Canceluser_Click);

            #line default
            #line hidden
                return;

            case 85:
                this.Resetuser = ((System.Windows.Controls.Button)(target));

            #line 635 "..\..\Setupwindow.xaml"
                this.Resetuser.Click += new System.Windows.RoutedEventHandler(this.Resetuser_Click);

            #line default
            #line hidden
                return;

            case 86:
                this.Menu_More = ((System.Windows.Controls.Grid)(target));
                return;

            case 87:
                this.FunctionListView = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CBCampa = ((System.Windows.Controls.ComboBox)(target));

            #line 81 "..\..\Ctamea_vivienda.xaml"
                this.CBCampa.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CBCampa_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\Ctamea_vivienda.xaml"
                this.CBpunto.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CBpunto_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\Ctamea_vivienda.xaml"
                this.BtnAgregar.Click += new System.Windows.RoutedEventHandler(this.BtnAgregar_Click);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\Ctamea_vivienda.xaml"
                this.BtnEditar.Click += new System.Windows.RoutedEventHandler(this.BtnEditar_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\Ctamea_vivienda.xaml"
                this.BtnEliminar.Click += new System.Windows.RoutedEventHandler(this.BtnEliminar_Click);

            #line default
            #line hidden
                return;

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

            #line 111 "..\..\Ctamea_vivienda.xaml"
                this.BtnConfig.Click += new System.Windows.RoutedEventHandler(this.BtnConfig_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.CtrlLoad = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 8:
                this.dataGrid = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));
                return;

            case 10:
                this.tot_viv = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.tot_hab = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 13:
                this.Notificaction = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 14:
                this.NotiMessa = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 271 "..\..\Ctamea_vivienda.xaml"
                this.NotiMessa.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public SnackbarMessageEventArgs(SnackbarMessage message)
 {
     Message = message;
 }
 public SnackbarMessageEventArgs(RoutedEvent routedEvent, object source, SnackbarMessage message) : base(routedEvent, source)
 {
     Message = message;
 }
Exemplo n.º 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\Lsearch.xaml"
                ((LrcEditor.Lsearch)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\Lsearch.xaml"
                this.SearchBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.SearchBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\Lsearch.xaml"
                this.BtnSearch.Click += new System.Windows.RoutedEventHandler(this.BtnSearch_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.PCircle = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 6:
                this.mHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 7:
                this.ResultGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 37 "..\..\Lsearch.xaml"
                this.ResultGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ResultGrid_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:
                this.InfoMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 46 "..\..\Lsearch.xaml"
                this.InfoMenuItem.Click += new System.Windows.RoutedEventHandler(this.InfoMenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\Lsearch.xaml"
                this.BtnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.SnakeB = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 11:
                this.SnakeBarMessage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 58 "..\..\Lsearch.xaml"
                this.SnakeBarMessage.ActionClick += new System.Windows.RoutedEventHandler(this.SnakeBarMessage_ActionClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public SnackbarMessageEventArgs(RoutedEvent routedEvent, SnackbarMessage message)
     : base(routedEvent)
 {
     Message = message;
 }
 public SnackbarMessageEventArgs(RoutedEvent routedEvent, object source, SnackbarMessage message)
     : base(routedEvent, source)
 {
     Message = message;
 }
 public SnackbarMessageEventArgs(SnackbarMessage message)
 {
     Message = message;
 }
Exemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainDock = ((System.Windows.Controls.DockPanel)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.MainDock.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 2:
                this.Snackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 3:
                this.SnackMessage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.SnackMessage.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;

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

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

            #line 57 "..\..\MainWindow.xaml"
                this.CloseToTray.Click += new System.Windows.RoutedEventHandler(this.CloseToTray_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tbUsr = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:

            #line 83 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Logout_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.cbAutoLogin = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 121 "..\..\MainWindow.xaml"
                this.cbAutoLogin.Click += new System.Windows.RoutedEventHandler(this.CbAutoMin_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.cbAutoMin = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 127 "..\..\MainWindow.xaml"
                this.cbAutoMin.Click += new System.Windows.RoutedEventHandler(this.CbAutoMin_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.linkHelp = ((System.Windows.Documents.Hyperlink)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.linkHelp.Click += new System.Windows.RoutedEventHandler(this.linkDmsite_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.CurrentTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.CurrentTraffic = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\LoginWindow.xaml"
                ((DrcomFake.LoginWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 36 "..\..\LoginWindow.xaml"
                ((MaterialDesignThemes.Wpf.ColorZone)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 3:
                this.Snackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 4:
                this.SnackMessage = ((MaterialDesignThemes.Wpf.SnackbarMessage)(target));

            #line 46 "..\..\LoginWindow.xaml"
                this.SnackMessage.ActionClick += new System.Windows.RoutedEventHandler(this.SnackbarMessage_ActionClick);

            #line default
            #line hidden
                return;

            case 5:
                this.prgBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 50 "..\..\LoginWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.BtnLogin_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 10:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\LoginWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\LoginWindow.xaml"
                this.cbSavePass.Click += new System.Windows.RoutedEventHandler(this.Cb_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.cbAutoLogin = ((System.Windows.Controls.CheckBox)(target));

            #line 63 "..\..\LoginWindow.xaml"
                this.cbAutoLogin.Click += new System.Windows.RoutedEventHandler(this.Cb_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.txtPasswd = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }