CSL_Test__1.DataGridViewHandler.OnDoWork C# (CSharp) Method

OnDoWork() protected method

protected OnDoWork ( System e ) : void
e System
return void
        protected override void OnDoWork(System.ComponentModel.DoWorkEventArgs e)
        {
            Type type = e.Argument.GetType();

            if (type.Equals(typeof(String)))
            {
                //dv.Invoke(new SuspendLayoutInvoker(SuspendLayout));
                DeleteTorrents();
                //dv.Invoke(new SuspendLayoutInvoker(ResumeLayout));
                return;
            }
        }