public void FormUniqueDisplay() { using (var dataTable = UnitTestStatic.GetDataTable(60)) using (var form = new FormUniqueDisplay(dataTable, dataTable.Select(), dataTable.Columns[0].ColumnName, UnitTestInitializeWin.HTMLStyle)) { UnitTestWinFormHelper.ShowFormAndClose(form); } }
public void FormUniqueDisplay() { using (var ctrl = new FormUniqueDisplay(dataTable, dataTable.Select(), dataTable.Columns[0].ColumnName)) { ctrl.Show(); ctrl.Close(); } }