BugTrackingSystem.Tester.Bug.LoadContent C# (CSharp) Method

LoadContent() private method

private LoadContent ( ) : void
return void
        private void LoadContent()
        {
            trDate.Visible = true;
            lblDateValue.Text = OldBug.CreationDate.ToString();
            trOwner.Visible = true;
            if (OldBug.Tester != null)
            {
                lblOwnerValue.Text = OldBug.Tester.Name + " " + OldBug.Tester.Surname;
            }
            txtDescription.Text = OldBug.Description;
            ddlPriority.Items.FindByValue(OldBug.Priority).Selected = true;
            ddlProjects.Visible = false;
            lblProjectValue.Text = OldBug.Project.Name;
            trSattus.Visible = true;
            ddlStatus.Items.FindByValue(OldBug.Status).Selected = true;
        }