public StegoSystemControl(IStegoSystemModel stegoModel, IStegoSystemUI stegoUI) { this._stegoModel = stegoModel; this._stegoUI = stegoUI; this._verifyUserInput = new VerifyUserInput(); _stegoUI.ImageCapacityCalculator = _stegoModel.CalculateImageCapacity; SubscribeToEvents(); }
public void Initialize() { _stegoModel = new StegoSystemModelClass(); int width = 50; int height = 50; _image = new Bitmap(width, height); Graphics g = Graphics.FromImage(_image); g.Clear(Color.Blue); _key = "123"; _seed = "123"; _message = "1aA!1aA!1aA!1aA!1aA!1aA!1aA!1aA!1aA!"; }