Beispiel #1
0
        /// <summary>
        /// Inicializa el datagrid
        /// </summary>
        /// <history>
        /// [jorcanche] 20/06/2016 created
        /// </history>
        private async void Window_Loaded(object sender, RoutedEventArgs e)
        {
            Mouse.OverrideCursor   = Cursors.Wait;
            dgGuestLog.DataContext = await BRGuestsLogs.GetGuestLog(_idGuest);

            var leadSourceguest = await BRLeadSources.GetLeadSourceByGuestId(_idGuest);

            Title = $"Guest Log - Guest ID {_idGuest} / Lead Source {leadSourceguest}";
            Mouse.OverrideCursor = null;
        }