private void buttonTags_Click(object sender, EventArgs e) { TagsForm tg = new TagsForm(); tg.Init("Set Tags".T(EDTx.CaptainsLogEntries_SetTags), this.FindForm().Icon, EDDConfig.Instance.CaptainsLogTagImage); if (tg.ShowDialog() == DialogResult.OK) { EDDConfig.Instance.CaptainsLogTagImage = tg.Result; } }
private void buttonTags_Click(object sender, EventArgs e) { TagsForm tg = new TagsForm(); tg.Init("Set Tags".Tx(this), this.FindForm().Icon, tags); if (tg.ShowDialog() == DialogResult.OK) { tags = tg.Result; } }