public void SaveEntry()
 {
     if (_customEntry != null)
     {
         if (_editorMode == CustomEntryEditor.EditorMode.Text)
         {
             _customEntry.SetText(txt_Entry.Text);
         }
         else if (_editorMode == CustomEntryEditor.EditorMode.Data)
         {
             _customEntry.SetHex(txt_Entry.Text);
         }
     }
 }