Esempio n. 1
0
 private void btSecurity_Click(object sender, EventArgs e)
 {
     if (selectedTask != null)
     {
         fUserTask fUT = new fUserTask(selectedTask.tbSecu, selectedTask.tbSecuGroup);
         fUT.ShowDialog();
         selectedTask.tbSecu      = fUT.Data;
         selectedTask.tbSecuGroup = fUT.DataGr;
     }
 }
Esempio n. 2
0
 private void btSecurity_Click(object sender, EventArgs e)
 {
     if (selectedTask != null)
     {
         if (selectedTask.tbSecu == null)
         {
             MessageBox.Show("You must update before set security");
             return;
         }
         fUserTask fUT = new fUserTask(selectedTask.tbSecu, selectedTask.tbSecuGroup);
         fUT.ShowDialog();
         selectedTask.tbSecu      = fUT.Data;
         selectedTask.tbSecuGroup = fUT.DataGr;
     }
 }