}//end Delete_Application_Click //--------------------------------------------------------------------------------------------------------------// //---------------------------------- Bugs Group ----------------------------------------------------------------// //--------------------------------------------------------------------------------------------------------------// /// <summary> /// this methods loads all the bugs on list box /// </summary> private void LoadBugList() { //creating new users object called users Bugs bugs = new Bugs(); List <Bug> bug = bugs.GetBugList(bugAppID, bugStatusID); //creating a list of bugs by calling the GetApplicationList method bug.Insert(0, new Bug() { BugDesc = "<Add New>",//adding new element in top of the bugs id }); BugListBox.DataSource = bug; BugListBox.DisplayMember = "BugDesc"; //defining the memeber that i want to display }//end load user list