Ejemplo n.º 1
0
        private void btn_del_cat_Click(object sender, EventArgs e)
        {
            cat_spesa c = (cat_spesa)cmb_categorie.SelectedItem;

            if (c != null)
            {
                c.delete(); refresh_cats_spesa();
            }
        }
Ejemplo n.º 2
0
        protected void del_cat()
        {
            cat_spesa c = (cat_spesa)cmb_categorie.SelectedItem;

            if (c != null)
            {
                c.delete(); refresh_cats_spesa();
            }
        }
Ejemplo n.º 3
0
        private void del_cat_Click(object sender, EventArgs e)
        {
            cat_spesa c = (cat_spesa)get_combo("categorie").SelectedItem;

            if (c != null)
            {
                c.delete(); refresh_cats_spesa();
            }
        }