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); } }
public void FormShowMaxLength() { using (var ctrl = new FormShowMaxLength(dataTable, dataTable.Select())) { ctrl.Show(); ctrl.Close(); } }