public void searchBug(string keyword) { onStartLoading(); bugs = plugin.zenTaoManage.searchBugList(keyword); bugList.Items.Clear(); this.toolStripProgressBar1.Value = 100; foreach (BugInfo bug in bugs) { addBugview(bug); } onEndLoading(); }