internal static void ShowHexEditor(Form1 form) { CustomRichTextBox pageTextBox = ProgramUtil.GetPageTextBox(form.pagesTabControl.SelectedTabPage); if (String.IsNullOrEmpty(pageTextBox.Text)) { ShowInfoBox(form, LanguageUtil.GetCurrentLanguageString("TextEmpty", className)); return; } HexEditor hexEditor = new HexEditor { Owner = form }; hexEditor.InitializeForm(); hexEditor.Show(form); }