/// <summary>
 /// 重置按钮状态,因为在SetEditModel设置了启用按钮编辑功能,针对ControlOnlyReads和SetControlAccessable重新设置其状态
 /// </summary>
 protected void SetControlCommonAccessable()
 {
     foreach (Control col in ControlOnlyReads)
     {
         LibraryTools.SetControlAccessable(col, false);
     }
     if (CurrentDataState == FormDataState.Edit)
     {
         foreach (Control col in ControlKeys)
         {
             LibraryTools.SetControlAccessable(col, false);
         }
     }
 }
 protected override void SetControlAccessable(bool Edit)
 {
     LibraryTools.SetControlAccessable(tp_Edit, Edit);
     base.SetControlAccessable(Edit);
 }