private void materialRaisedButton1_Click(object sender, EventArgs e) { Carrinho c = (new Carrinho()); c.ShowDialog(); if ((int)c.Tag == 1) { Close(); } else { ComputeTotal(); } }
private void materialRaisedButton2_Click(object sender, EventArgs e) { Carrinho carrinho = new Carrinho(); carrinho.ShowDialog(); }