Exemple #1
0
        public void Dispose()
        {
            if (!_Disposed)
            {
                _Disposed = true;

                GC.SuppressFinalize(this);
                ReallySimpleConnectionPool.DisposeConnection(_Conn);
            }
        }
Exemple #2
0
        private void OnThreadsStopped()
        {
            ReallySimpleConnectionPool.Clear();

            this.Cursor = Cursors.Arrow;
            toolStripProgressBar1.Visible = false;
            toolStripStatusLabel1.Text    = "Idle";
            toolStripStatusLabel1.Visible = true;

            button3.Enabled  = true;
            button4.Enabled  = false;
            textBox1.Enabled = true;
        }