Пример #1
0
 private void btnCreate_Click(object sender, EventArgs e)
 {
     if (txtCategoryName.Text != "")
     {
         SqliteDataAccess.CreateCategory(txtCategoryName.Text);
         this.Close();
         item.LoadCats();
     }
     else
     {
         MessageBox.Show("Category Name Form must not be blank!");
     }
 }