public FileInputWPFPresentation(FileInputClass exp) { InitializeComponent(); this.exp = exp; SizeChanged += sizeChanged; hexBox = new HexBox.HexBox(); hexBox.OnFileChanged += fileChanged; MainMain.Children.Add(hexBox); this.hexBox.ErrorOccured += new HexBox.HexBox.GUIErrorEventHandler(hexBox_ErrorOccured); }
public FileOutputWPFPresentation(FileOutputClass exp) { InitializeComponent(); this.exp = exp; SizeChanged += sizeChanged; hexBox = new HexBox.HexBox(); hexBox.InReadOnlyMode = true; hexBox.OnFileChanged += fileChanged; this.hexBox.ErrorOccured += new HexBox.HexBox.GUIErrorEventHandler(hexBox_ErrorOccured); MainMain.Children.Add(hexBox); hexBox.collapseControl(false); }