示例#1
0
 public void FormShowMaxLength()
 {
     using (var dataTable = UnitTestStatic.GetDataTable(60))
         using (var form = new FormShowMaxLength(dataTable, dataTable.Select(), new List <string>(), UnitTestInitializeWin.HTMLStyle))
         {
             UnitTestWinFormHelper.ShowFormAndClose(form);
         }
 }
示例#2
0
 public void FormShowMaxLength()
 {
     using (var ctrl = new FormShowMaxLength(dataTable, dataTable.Select()))
     {
         ctrl.Show();
         ctrl.Close();
     }
 }