public TrithemiusControl(CodingType codingType, DecodeEncodeControl decodeEncodeControl)
 {
     InitializeComponent();
     lbCorrectAnsw.Visible = false;
     label9.Visible        = false;
     button1.Visible       = false;
     NextTest(false);
 }
Beispiel #2
0
 public CaesarControl(CodingType codingType, DecodeEncodeControl encodersForm)
 {
     InitializeComponent();
     _guid = Guid.NewGuid();
     _historyPresentation  = new HistoryPresentation();
     _questionCount        = 0;
     _correctQuestionCount = 0;
     _codingType           = codingType;
     _mainPresentation     = new MainPresentation();
     _encodersForm         = encodersForm;
     Init();
 }
Beispiel #3
0
        //  private static Random _random = new Random();

        public RSAControl(CodingType codingType, DecodeEncodeControl encodersForm)
        {
            InitializeComponent();
            _historyPresentation = new HistoryPresentation();
            _guid                 = Guid.NewGuid();
            _countQuestion        = 0;
            _countCorrectQuestion = 0;
            _codingType           = codingType;
            tbE.Text              = "5";
            _mainPresentation     = new MainPresentation();
            _encodersForm         = encodersForm;

            Init();
        }