Interaction logic for Button.xaml
Inheritance: System.Windows.Controls.UserControl
        private void OpenDeviceManager_Clicked(TrakHound_UI.Button bt)
        {
            var data = new EventData(this);

            data.Id = "SHOW_DEVICE_MANAGER";
            SendData(data);
        }
        private void Sort_Clicked(TrakHound_UI.Button bt)
        {
            var type = DeviceComparisonTypes.DEVICE_ID;

            UpdateComparisonType(type);
            SaveComparisonType(type);
        }
        private void ResetStatusTimes_Clicked(TrakHound_UI.Button bt)
        {
            From = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 0, 0, 0, DateTimeKind.Local);
            To   = From.AddDays(1);

            SaveDashboardTimespan();
            SendDashboardTimespan();
        }
        private void Save_Clicked(TrakHound_UI.Button bt)
        {
            bt.Focus();

            if (Configuration != null)
            {
                DataTable table = Configuration.ToTable();
                Save(table);
            }
        }
 private void Apply_Clicked(TrakHound_UI.Button bt)
 {
     if (CurrentUser != null)
     {
         EditUser(NewEditUserInfo());
     }
     else
     {
         CreateUser(NewCreateUserInfo());
     }
 }
 private void SelectDate_Clicked(TrakHound_UI.Button bt)
 {
     DateMenuShown = !DateMenuShown;
 }
 private void StopSlideshow_Clicked(TrakHound_UI.Button bt)
 {
     StopSlideshow();
 }
 private void ChangePassword_Clicked(TrakHound_UI.Button bt)
 {
     ShowChangePassword = true;
 }
 private void Reload_Clicked(TrakHound_UI.Button bt)
 {
     LoadDevice();
 }
 private void DeviceManager_Clicked(TrakHound_UI.Button bt)
 {
     DeviceListSelected?.Invoke();
 }
 private void Restore_Clicked(TrakHound_UI.Button bt)
 {
     RestorePages();
 }