예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (txtCategorySearch.Text != "")
     {
         List <SMLIB.Entity.Status> statuses = StatusRepo.retrieveByName(txtCategorySearch.Text);
         if (statuses.Count > 0)
         {
             fillListView(statuses);
         }
         else
         {
             MessageBox.Show("Status not found.");
         }
     }
 }