Пример #1
0
 private void btnAddBoardComputer_Click(object sender, EventArgs e)
 {
     try
     {
         BoardComputer boardComputer = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.NewForm);
         if (boardComputer.ShowDialog() == DialogResult.OK)
         {
             FindAll();
         }
     }
     catch (System.Exception exception1)
     {
         System.Exception thisException = exception1;
         Management.ShowException(thisException);
     }
 }
Пример #2
0
 private void btnAddBoardComputer_Click(object sender, EventArgs e)
 {
     try
     {
         BoardComputer boardComputer = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.NewForm);
         if (boardComputer.ShowDialog() == DialogResult.OK)
         {
             FindAll();
         }
     }
     catch (System.Exception exception1)
     {
         System.Exception thisException = exception1;
         Management.ShowException(thisException);
     }
 }
Пример #3
0
 private void gdvBoardComputer_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         Model.Internal.BoardComputer boardComputer = (Model.Internal.BoardComputer)gdvBoardComputer.GetRow(this.gdvBoardComputer.FocusedRowHandle);
         if (boardComputer == null)
         {
             return;
         }
         BoardComputer form = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, boardComputer);
         if (form.ShowDialog() == DialogResult.OK)
         {
             FindAll();
         }
     }
     catch (System.Exception exception1)
     {
         System.Exception thisException = exception1;
         Management.ShowException(thisException);
     }
 }
Пример #4
0
        private void gdvBoardComputer_DoubleClick(object sender, EventArgs e)
        {
            try
            {

                Model.Internal.BoardComputer boardComputer = (Model.Internal.BoardComputer)gdvBoardComputer.GetRow(this.gdvBoardComputer.FocusedRowHandle);
                if (boardComputer == null)
                    return;
                BoardComputer form = new BoardComputer(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, boardComputer);
                if (form.ShowDialog() == DialogResult.OK)
                {
                    FindAll();
                }
            }
            catch (System.Exception exception1)
            {
                System.Exception thisException = exception1;
                Management.ShowException(thisException);
            }
        }