Click here to Skip to main content
15,887,485 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How do I execute a class from a class? Pin
DSLR31-Jan-05 11:47
DSLR31-Jan-05 11:47 
GeneralRe: How do I execute a class from a class? Pin
Charlie Williams31-Jan-05 12:00
Charlie Williams31-Jan-05 12:00 
GeneralRe: How do I execute a class from a class? Pin
DSLR31-Jan-05 12:09
DSLR31-Jan-05 12:09 
GeneralRe: How do I execute a class from a class? Pin
Charlie Williams31-Jan-05 12:48
Charlie Williams31-Jan-05 12:48 
AnswerRe: How do I execute a class from a class? Pin
Charlie Williams31-Jan-05 13:53
Charlie Williams31-Jan-05 13:53 
GeneralRe: How do I execute a class from a class? Pin
DSLR31-Jan-05 23:58
DSLR31-Jan-05 23:58 
GeneralRe: How do I execute a class from a class? Pin
Charlie Williams1-Feb-05 4:47
Charlie Williams1-Feb-05 4:47 
GeneralRe: How do I execute a class from a class? Pin
DSLR1-Feb-05 8:27
DSLR1-Feb-05 8:27 
I understand what you saying

For testing I have added in form1
Public WithEvents myEvent As New Array1(New Panel) and added something to do when event is triggerd

Public Sub myEvent_Clicked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles myEvent.Clicked<br />
        MessageBox.Show("Button pressed")<br />
End Sub


To test the event I have added a button who's fireing the event in Array1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
        myEvent.OnOff_ClickHandler(sender, e)<br />
    End Sub

In Array1 there is the routine
Public Sub OnOff_ClickHandler(ByVal sender As Object, ByVal e As System.EventArgs)<br />
        MessageBox.Show("Event routine")<br />
        RaiseEvent Clicked(sender, e)<br />
    End Sub

When I click button1 the event RaiseEvent Clicked(sender, e) is fired but when I click a button from the array panel with AddHandler aButton.Click, AddressOf OnOff_ClickHandler then nothing happed. I see the first message with "Event routine" appear but the second not

What's the different between a fixed button and a button from an array control?
In my opinion nothing but who am I
QuestionInstall or at least read an HxS ? Pin
Denevers30-Jan-05 3:39
Denevers30-Jan-05 3:39 
GeneralCrystal Reports and .Net Remoting Pin
a_dipendra28-Jan-05 4:40
a_dipendra28-Jan-05 4:40 
GeneralInstalling a publisher policy into the GAC Pin
Pain_Elemental28-Jan-05 4:29
Pain_Elemental28-Jan-05 4:29 
GeneralHash Storage Problem Pin
SusmithaC28-Jan-05 1:04
SusmithaC28-Jan-05 1:04 
GeneralRe: Hash Storage Problem Pin
Philip Fitzsimons28-Jan-05 4:40
Philip Fitzsimons28-Jan-05 4:40 
General.wav files Pin
ziggy8227-Jan-05 5:11
ziggy8227-Jan-05 5:11 
GeneralRe: .wav files Pin
Corinna John31-Jan-05 21:04
Corinna John31-Jan-05 21:04 
GeneralTesting Tool for .Net Pin
Vishwanathkk27-Jan-05 2:34
Vishwanathkk27-Jan-05 2:34 
Generalstring to long Pin
zagzagzag27-Jan-05 0:46
zagzagzag27-Jan-05 0:46 
GeneralRe: string to long Pin
wyoung7631-Jan-05 23:18
wyoung7631-Jan-05 23:18 
GeneralRemoving an assembly from the GAC Pin
shayw26-Jan-05 8:24
shayw26-Jan-05 8:24 
GeneralRe: Removing an assembly from the GAC Pin
Mike Dimmick27-Jan-05 4:25
Mike Dimmick27-Jan-05 4:25 
GeneralRe: Removing an assembly from the GAC Pin
shayw27-Jan-05 19:25
shayw27-Jan-05 19:25 
GeneralRe: Removing an assembly from the GAC Pin
GuruPandian29-Jan-05 3:34
GuruPandian29-Jan-05 3:34 
GeneralAccessing "Native" DLL from a .NET App Pin
bneacetp26-Jan-05 4:04
bneacetp26-Jan-05 4:04 
GeneralRe: Accessing "Native" DLL from a .NET App Pin
zagzagzag27-Jan-05 0:41
zagzagzag27-Jan-05 0:41 
GeneralRe: Accessing &quot;Native&quot; DLL from a .NET App Pin
bneacetp28-Jan-05 16:41
bneacetp28-Jan-05 16:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.