public BinaryDocumentControl(IDocumentObject document) { _document = (BinaryDocument)document; InitializeComponent(); hexEditorControl.Bytes = _document.Data; }