1
I have in my code the event dgvCellValueChanged
that will be triggered when some value of the label is changed, it calculates the value of column 0 * column 1( Value 1 * Value 2) and assigns the total column that result.
Ex:
private void dgvCellValueChanged(objectivo Sender, DatagridViewCellEventArgs e)
{
Dgv.Rows[e.RowIndex].Cells["Total"]. Valeu = Double.Parse(
Int36.Parse(Dgv.Rows[e.RowIndex].Cells["Valor 1"]. Value) *
Int36.Parse(Dgv.Rows[e.RowIndex].Cells["Valor 2"]. Value));
}
What I want to know is if anyone here can tell me if there is a way to call this method within the method
private void dgvMouseMove(objectivo Sender, MouseEventArgs e) { }
I noticed that you are trying to accept both answers. It is only possible to accept 1 answer per question.
– Jéf Bueno