public override void Run() { if (this.tagsForm == null) { this.tagsForm = new TagsForm { BackColor = Color.Aqua }; } if (this.tagsForm.Visible) { this.tagsForm.setFocus(); } else { this.tagsForm.Show(); this.tagsForm.setFocus(); } }
public IniForm(TagsForm tagsForm,string file) { InitializeComponent(); this.tagsForm = tagsForm; configFile = file; textBox1.Text = File.ReadAllText(file); }