Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void
Exemple #1
0
        private void OpenLangMenu(object sender, EventArgs e)
        {
            Debugger.WriteLine(LogLevel.Info, "Opening language select menu...");
            TranslationSelectionGUI tsGui = new TranslationSelectionGUI(Plugin);

            tsGui.ShowDialog(this);
            tsGui.Dispose();
        }
 private void OpenLangMenu(object sender, EventArgs e)
 {
     Debugger.WriteLine(LogLevel.Info, "Opening language select menu...");
     TranslationSelectionGUI tsGui = new TranslationSelectionGUI(Plugin);
     tsGui.ShowDialog(this);
     tsGui.Dispose();
 }