Tema: Re: Index
Autorius: VaidasB
Data: 2010-04-16 14:36:27
If (TypeOf Sender Is Button) Then
	MsgBox("Paspaustas " & And CType(Sender, Button).Name)
End If

On 2010.04.16 14:32, Valdas wrote:
> viskas cia gerai einasi, tik prasyciau pavyzdziais, nes tas castini tai
> nieko nesako :)
>
> bet vistiek aciu
>
> "VaidasB"<vaidasTrinti@pmbalticTrinti.lt>  wrote in message
> news:hq9hpo$ioe$1@trimpas.omnitel.net...
>> ByVal sender As System.Object castini á butonà.
>>
>> neiðmokysim mes tavæs elementariø dalykø per newsus :)
>>
>> On 2010.04.16 14:26, Valdas wrote:
>>> o kaip as tada zinosiu kuris buttonas paspaustas buvo ???
>>>
>>> "zZz"<zZz@zirzilia.lt>   wrote in message
>>> news:hq9fa0$ees$1@trimpas.omnitel.net...
>>>> AddHandler Button2.Click, AddressOf Button1_Click
>>>>
>>>> "Valdas"<valdonas@super.lt>   wrote in message
>>>> news:hq9dsd$brn$1@trimpas.omnitel.net...
>>>>> o kaip ?
>>>>>
>>>>> "VaidasB"<vaidasTrinti@pmbalticTrinti.lt>   wrote in message
>>>>> news:hq9co8$9o9$1@trimpas.omnitel.net...
>>>>>> nurodyt jiems t? pat? event?? :)
>>>>>>
>>>>>> On 2010.04.16 13:03, Valdas wrote:
>>>>>>> na lengva tau cia kalbeti, geriau pavyzdziais, tarkim kaip padaryti
>>>>>>> kad
>>>>>>> keli
>>>>>>> button`ai eitu i ta pati event`a ?
>>>>>>>
>>>>>>> aciu
>>>>>>> "Jornada Del Muerto"<ask@me.email>    wrote in message
>>>>>>> news:hq8veg$js4$1@trimpas.omnitel.net...
>>>>>>>>       Dar pridesiu, pagal problemos pobudi sprendziu migravai nuo
>>>>>>>> VB6,
>>>>>>>> siulyciau apie Objektiskai orientuota programavima be ko neissiversi
>>>>>>>> ant
>>>>>>>> .NET labiau pasidometi, pvz as pats turiu visus controlus pasidares
>>>>>>>> savo
>>>>>>>> su ivairiausiom papildomom funkcijom, savybem ir t.t.. taspats ir
>>>>>>>> del
>>>>>>>> formu.
>>>>>>>>
>>>>>>>>       Cia gali nusiveldet Form ir prisidet visko ko tik nori i ja kad
>>>>>>>> ir
>>>>>>>> inicializacijos metu suincializuoti tau reikalinga masyva kuris
>>>>>>>> primintu
>>>>>>>> tureta ant VB6 masyva ir butu tau patogus kreiptis i controlus, gali
>>>>>>>> net
>>>>>>>> visa controlu pridejima ar salinima i forma perimti ir tai
>>>>>>>> kontroliuoti
>>>>>>>> pats, overridinant o veliau kvietinejant bazine klase.
>>>>>>>>
>>>>>>>>       Toliau sukurus nauja forma vietoj System.Windows.Forms.Form
>>>>>>>> nurodai
>>>>>>>> savaja ir vualia ir turi savo forma su tuo ko tau reikia ;)
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>
>