private void btn_ir_Click(object sender, RoutedEventArgs e) { if (!String.IsNullOrEmpty(textBox_Altura.Text) && !String.IsNullOrEmpty(textBox_Largura.Text) && !String.IsNullOrEmpty(textBox_Comprimento.Text)) { objFaca.Draw(); } }
public void OnDraw() { objFaca.Draw(); }