public TrithemiusControl(CodingType codingType, DecodeEncodeControl decodeEncodeControl) { InitializeComponent(); lbCorrectAnsw.Visible = false; label9.Visible = false; button1.Visible = false; NextTest(false); }
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(); }
// 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(); }