public AddbugForm() { InitializeComponent(); combProject.DataSource = pc.getallproject(); combProject.DisplayMember = "projectname"; combProject.ValueMember = "projectid"; }
public FixbugForm() { InitializeComponent(); combProject.DataSource = pc.getallproject(); combProject.DisplayMember = "projectname"; combProject.ValueMember = "projectid"; comboBox1.DataSource = bc.getallbug(); comboBox1.DisplayMember = "bug"; comboBox1.ValueMember = "bugid"; }