Exemple #1
0
 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);
 }
Exemple #2
0
        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);
        }