コード例 #1
0
 /// <summary>
 /// gridWOClose_AfterColEdit
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 /// <author>Trada</author>
 /// <date>Friday, June 10 2005</date>
 private void gridWOClose_AfterColEdit(object sender, C1.Win.C1TrueDBGrid.ColEventArgs e)
 {
     if (e.Column.DataColumn.DataField == SELECT)
     {
         CheckOrNochkCheckAll();
     }
 }
コード例 #2
0
        private void dgrdData_AfterColEdit(object sender, C1.Win.C1TrueDBGrid.ColEventArgs e)
        {
            const string METHOD_NAME = ".dgrdData_AfterColEdit()";

            try
            {
                blnHasChange = true;
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }
コード例 #3
0
        private void tdbgDepartments_AfterColEdit(object sender, C1.Win.C1TrueDBGrid.ColEventArgs e)
        {
            C1DisplayColumn c;

            c = e.Column;

            ClearOtherColumns(c.Name);
        }