private void TESTMenuItem_Click(object sender, RoutedEventArgs e)
        {
            ///// SAVE STATE TEST
            //HexEdit.SaveCurrentState("test.xml");
            //HexEdit.LoadCurrentState("test.xml");

            #region REFRESH RATE TEST
            //var rnd = new Random();
            //for (var i = 0; i < 200; i++)
            //{
            //    HexEdit.SetPosition(rnd.Next(0, (int)HexEdit.Length));
            //    //HexEdit.BytePerLine = rnd.Next(1, 16);
            //    Application.Current.DoEvents();
            //}
            #endregion

            ////VisualByteAdress test
            //HexEdit.AllowVisualByteAdress = !HexEdit.AllowVisualByteAdress;
            //HexEdit.VisualByteAdressStart = 75;
            //HexEdit.VisualByteAdressLength = 500;

            HexEdit.ResetZoom();

            //
            //HexEdit.ReplaceAll(HexEdit.SelectionByteArray, ByteConverters.StringToByte("TEST"), true, true);
        }