private void toolStripMenuItemBatchConvert_Click(object sender, EventArgs e) { Visible = false; using (var form = new BatchConvert(Icon)) { form.ShowDialog(this); } Visible = true; }
private void toolStripMenuItemBatchConvert_Click(object sender, EventArgs e) { this.Visible = false; var form = new BatchConvert(this.Icon, this); _formPositionsAndSizes.SetPositionAndSize(form); form.ShowDialog(this); _formPositionsAndSizes.SavePositionAndSize(form); this.Visible = true; }