Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void
Beispiel #1
0
        /// <summary>
        /// Does the command.
        /// </summary>
        /// <param name="command">The command.</param>
        private void DoCommand(ZWControllerCommand command)
        {
            ControllerCommandDlg dlg = new ControllerCommandDlg(this, m_manager, m_homeId, command, m_rightClickNode);
            DialogResult         d   = dlg.ShowDialog(this);

            dlg.Dispose();
        }
Beispiel #2
0
 private void DoCommand(ZWControllerCommand command)
 {
     ControllerCommandDlg dlg = new ControllerCommandDlg(this, m_manager, m_homeId, command, m_rightClickNode);
     DialogResult d = dlg.ShowDialog(this);
     dlg.Dispose();
 }