CSL.DataGridViewHandler.ShowSentTorrents C# (CSharp) Method

ShowSentTorrents() public method

public ShowSentTorrents ( ) : void
return void
        public void ShowSentTorrents()
        {
            bs.SuspendBinding();
            movie_bs.SuspendBinding();
            other_bs.SuspendBinding();

            foreach (DataGridViewRow dr in dv.Rows)
                if ((bool)dr.Cells["Sent"].Value)
                    dr.Visible = true;
            foreach (DataGridViewRow dr in movie_dv.Rows)
                if ((bool)dr.Cells["MovieSent"].Value)
                    dr.Visible = true;
            foreach (DataGridViewRow dr in other_dv.Rows)
                if ((bool)dr.Cells["OthersSent"].Value)
                    dr.Visible = true;

            bs.ResumeBinding();
            movie_bs.ResumeBinding();
            other_bs.ResumeBinding();
        }