0

hye guys..
i have problems with my programm.This are the codes..

'##############################

public class EndErgebnisse

public Structure Ergebnisse1

public Angebot as Double
public AnzahlForderung as Double
public Mitt_Bedzeit as Double

Sub berechnen

Angebote = AnzahlForderung / Mitt_Bedzeit

End Sub


sub züruck_click (button)

Me.finalize

End sub

End Structure

End Class
################################################## #

what i want is , the value of Angebote will be erase after i click the zurück button for the next simulation.
did anyone have any idea , how to make it right?

i have try with disposed and finalize and even refresh.. but still not working..
plz somebody help me.. :)

2
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by waynespangler
0

I don't know what you are trying to do but you are trying to use a button_click inside a structure. I don't think you can do that.

0

sorii dude. i made a mistake. here is the real programm.
###################################

public class EndErgebnisse

public Structure Ergebnisse1

public Angebot as Double
public AnzahlForderung as Double
public Mitt_Bedzeit as Double

Sub berechnen

Angebote = AnzahlForderung / Mitt_Bedzeit

End Sub
End Structure


sub züruck_click (button)

Me.finalize

End sub

End Class
################################################## #

0

Instead of Me.Finnalize use
Angebote = 0
which erases any value in it and resets it to 0.
I don't know what zuruck means.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.