Exemple #1
0
        private void addproject()
        {
            int res = mp.Manageprojects(0, txtprojecttitle.Text, dateTimePicker1.Text, dateTimePicker2.Text, richtxtboxaddnewprojectdescription.Text, 1);

            if (res > 0)
            {
                MessageBox.Show("New project added successfully");
            }
            else
            {
                MessageBox.Show("Error");
            }
        }