private void btnNew_Click(object sender, EventArgs e) { SSizeSETNew SSetNew = new SSizeSETNew(0); SSetNew.ShowDialog(); mainsql(); }
private void btnupdate_Click(object sender, EventArgs e) { SSizeSETNew sn = new SSizeSETNew(Convert.ToInt32(SizeDGV[2, SizeDGV.CurrentCell.RowIndex].Value.ToString())); sn.ShowDialog(); }