private void toolStripMenuItemSubStationAlpha_Click(object sender, EventArgs e) { using (var properties = new SubStationAlphaProperties(_subtitle, GetCurrentSubtitleFormat(), _videoFileName, _fileName)) { properties.ShowDialog(this); } }
private void toolStripMenuItemSubStationAlpha_Click(object sender, EventArgs e) { var properties = new SubStationAlphaProperties(_subtitle, GetCurrentSubtitleFormat(), _videoFileName, _fileName); _formPositionsAndSizes.SetPositionAndSize(properties, true); properties.ShowDialog(this); _formPositionsAndSizes.SavePositionAndSize(properties); }