public MainWindowViewModel(ref Window window)
        {
            AppWindow = window;

            TogglePageCommand = new RelayCommand(ChangePage);

            ToggleText = "Rozšifrovat";

            EncrytionType = 0;

            new Others.WindowResizer(AppWindow);

            ASCIIEncrypter = new LSB_ASCIIEncryption();
            UTF8Encrypter  = new LSB_UTF8Encryption();
            DecPage        = new LSBDecPage();
            EncPage        = new LSBEncPage();
        }
 public void ChangeEncryptionType(ref object sender, ref SelectionChangedEventArgs e)
 {
     EncrytionType = (EncTypes)((ComboBox)sender).SelectedIndex;
 }