public DataViewer(byte[] data, int flags)
 {
     InitializeComponent();
     _area = new FixedSizeArea(pictureBox1.Width, pictureBox1.Height);
     _area.MergeControl(pictureBox1);
     _data         = data;
     _flags        = flags;
     lblFlags.Text = string.Format("0x{0:X04}", flags);
 }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            _imgProcessor            = new ImagesProccessor.Processor();
            _imgProcessor.DataLength = numericUpDown1.Value.ToInt();

            _areaSource = new FixedSizeArea(picSorce.Width, picSorce.Height);
            _areaSource.MergeControl(picSorce);

            _areaResult = new FixedSizeArea(picResult.Width, picResult.Height);
            _areaResult.MergeControl(picResult);
        }