/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } mp4SettingsDialog?.Dispose(); mp4SettingsDialog = null; mp4HWSettingsDialog?.Dispose(); mp4HWSettingsDialog = null; mp3SettingsDialog?.Dispose(); mp3SettingsDialog = null; m4aSettingsDialog?.Dispose(); m4aSettingsDialog = null; gifSettingsDialog?.Dispose(); gifSettingsDialog = null; flacSettingsDialog?.Dispose(); flacSettingsDialog = null; ffmpegSettingsDialog?.Dispose(); ffmpegSettingsDialog = null; ffmpegEXESettingsDialog?.Dispose(); ffmpegEXESettingsDialog = null; dvSettingsDialog?.Dispose(); dvSettingsDialog = null; aviSettingsDialog?.Dispose(); aviSettingsDialog = null; customFormatSettingsDialog?.Dispose(); customFormatSettingsDialog = null; wmvSettingsDialog?.Dispose(); wmvSettingsDialog = null; webmSettingsDialog?.Dispose(); webmSettingsDialog = null; speexSettingsDialog?.Dispose(); speexSettingsDialog = null; pcmSettingsDialog?.Dispose(); pcmSettingsDialog = null; oggVorbisSettingsDialog?.Dispose(); oggVorbisSettingsDialog = null; VideoEdit1?.Dispose(); VideoEdit1 = null; base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } mp4SettingsDialog?.Dispose(); mp4SettingsDialog = null; mp4HWSettingsDialog?.Dispose(); mp4HWSettingsDialog = null; webmSettingsDialog?.Dispose(); webmSettingsDialog = null; mp3SettingsDialog?.Dispose(); mp3SettingsDialog = null; aviSettingsDialog?.Dispose(); aviSettingsDialog = null; wmvSettingsDialog?.Dispose(); wmvSettingsDialog = null; gifSettingsDialog?.Dispose(); gifSettingsDialog = null; ffmpegEXESettingsDialog?.Dispose(); ffmpegEXESettingsDialog = null; ffmpegSettingsDialog?.Dispose(); ffmpegSettingsDialog = null; dvSettingsDialog?.Dispose(); dvSettingsDialog = null; loadedImage?.Dispose(); loadedImage = null; VideoEdit1?.Dispose(); VideoEdit1 = null; base.Dispose(disposing); }