private void addSize() { AddSize addSize = new AddSize(); addSize.ShowDialog(); refreshGridSize(); }
private void addSize() { AddSize aS = new AddSize(); aS.ShowDialog(); refreshSizeGrid(); }
private void displaySize() { AddSize addSize = new AddSize(); addSize.lbl_SizeID.Text = dg_SizeDB.CurrentRow.Cells[3].Value.ToString(); addSize.txt_SizeCode.Text = dg_SizeDB.CurrentRow.Cells[1].Value.ToString(); addSize.txt_Size.Text = dg_SizeDB.CurrentRow.Cells[2].Value.ToString(); addSize.ShowDialog(); }
private void SearchSize_KeyDown(object sender, KeyEventArgs e) { if (e.Modifiers == Keys.Alt && e.KeyCode == Keys.C) { AddSize aS = new AddSize(); aS.ShowDialog(); refreshSizeGrid(); } }