Ejemplo n.º 1
0
        private void btnNewPriority_Click(object sender, EventArgs e)
        {
            NewPriority newPriority = new NewPriority(new object[] { });

            newPriority.ShowDialog();

            loadPriorities();
        }
Ejemplo n.º 2
0
        private void btnEditPriority_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(((PictureBox)sender).Tag);

            NewPriority newPriority = new NewPriority(new object[] { id });

            newPriority.ShowDialog();

            loadPriorities();
        }