public Dialogue_Message_Page(string text) { InitializeComponent(); textField.Text = text; deleteButton.Opacity = Hidden_Opacity; if (!isMenuInit) { textField.ContextMenu.Items.Add(ContextHelper.CreatePastePauseButton()); textField.ContextMenu.Items.Add(ContextHelper.CreatePasteNewLineButton()); textField.ContextMenu.Items.Add(ContextHelper.CreatePastePlayerNameButton()); textField.ContextMenu.Items.Add(ContextHelper.CreatePasteNPCNameButton()); textField.ContextMenu.Items.Add(ContextHelper.CreatePasteColorMenu()); isMenuInit = true; } }