void btnOK_Click(object sender, EventArgs e) { DialogResult = DialogResult.OK; onSave?.Invoke(this, EventArgs.Empty); Close(); foreach (TabPage tp in App.MainForm.TabControl.TabPages) { tp.Reload(); } Emotes.EmoteAdded(); }