Exemple #1
0
 private bool KontrolaProfilu()
 {
     try
     {
         Profil profil = FileManager.NacistProfil(ProfilSelector.Text);
         if (profil.Sens == Vychozi.ZjistitSens() && profil.Scroll == Vychozi.ZjistitScroll() && profil.DoubleClick == Vychozi.ZjistitDoubleClick())
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch (Exception)
     {
         return(false);
     }
 }
Exemple #2
0
 public static void NahratProfil(Profil profil)
 {
     Task.Run(async() => { await UploadProfil(profil); });
 }
Exemple #3
0
 public static string ProfilDoJson(Profil input)
 {
     return(JsonConvert.SerializeObject(input));
 }