private void btn_edit_Click(object sender, EventArgs e) { _connection.InsertStock(txt_name.Text, double.Parse(txt_cost.Text), double.Parse(txt_sell.Text), int.Parse(txt_qty.Text)); this.Close(); }
private void btn_edit_Click(object sender, EventArgs e) { _connection.InsertStock(txt_name.Text, double.Parse(txt_cost.Text), double.Parse(txt_sell.Text), int.Parse(txt_qty.Text)); this.Close(); }