Ejemplo n.º 1
0
        public int delStatusTest([PexAssumeUnderTest] BusinessPlayer target, string data)
        {
            int result = target.delStatus(data);

            return(result);
            // TODO: add assertions to method BusinessPlayerTest.delStatusTest(BusinessPlayer, String)
        }
Ejemplo n.º 2
0
 private void simpleButton2_Click(object sender, EventArgs e)
 {
     if (business.delStatus(editStatus.Text) > 0)
     {
         MessageBox.Show("Thêm thành công!");
         loadData();
     }
     else
     {
         MessageBox.Show("Thêm thất bại!");
     }
 }