Example #1
0
 public void ReopenClosedFile()
 {
     if (File.Exists((exp.Settings as FileOutputSettings).TargetFilename))
     {
         hexBox.closeFile(false);
         hexBox.openFile((exp.Settings as FileOutputSettings).TargetFilename, true);
         hexBox.collapseControl(false);
     }
 }
Example #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);
        }