public static void ViewData(DataSet ds) { CFormViewData form = new CFormViewData(); form.m_grid.DataSource = ds; form.m_grid.Refresh(); form.ShowDialog(); form.Dispose(); }
private void m_btnDebugData_Click(object sender, EventArgs e) { CFormViewData.ViewData(CTimosInventoryDb.GetTimosDatas()); }