Click here to Skip to main content
15,886,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEntity Framework : Filter child entities Pin
dilkonika31-Jan-15 7:15
dilkonika31-Jan-15 7:15 
AnswerRe: Entity Framework : Filter child entities Pin
Kenneth Haugland31-Jan-15 21:35
mvaKenneth Haugland31-Jan-15 21:35 
GeneralRe: Entity Framework : Filter child entities Pin
dilkonika1-Feb-15 5:02
dilkonika1-Feb-15 5:02 
AnswerRe: Entity Framework : Filter child entities Pin
Kenneth Haugland1-Feb-15 19:09
mvaKenneth Haugland1-Feb-15 19:09 
GeneralRe: Entity Framework : Filter child entities Pin
dilkonika2-Feb-15 4:45
dilkonika2-Feb-15 4:45 
GeneralRe: Entity Framework : Filter child entities Pin
Kenneth Haugland2-Feb-15 4:55
mvaKenneth Haugland2-Feb-15 4:55 
GeneralRe: Entity Framework : Filter child entities Pin
dilkonika2-Feb-15 5:13
dilkonika2-Feb-15 5:13 
QuestionOverriding events in an inherited Control Pin
Sam Marrocco30-Jan-15 9:20
Sam Marrocco30-Jan-15 9:20 
I've created a Custom Control that inherits a PictureBox control. When a TestApp uses my newly created custom control, I'd like to add some additional data to the MouseMove event that is returned. Currently the raised event would appear in the TestApp as....

Private Sub MyCustomControl_MouseMove(sender as object, e as MouseEventArgs) handles MyCustomControl.MouseMove

My first thought was to add additional arguments such as....

Private Sub MyCustomControl_MouseMove(sender as object, e as MouseEventArgs, MyExtraArgument as double) handles MyCustomControl.MouseMove

or as an alternative, add my extra argument to the MouseEventArgs class so it would appear as...
e.MyExtraArgument

Is either of these methods possible? I'm under the impression that these events/objects may not be overridden without being able to modify the original source code of the parent control. Are there any simple examples of doing either of these techniques? Ideally I'd like to keep all the code within my newly created control library so that the TestApp doesn't require anything other than dropping the newly created child control into it.
AnswerRe: Overriding events in an inherited Control Pin
Mycroft Holmes1-Feb-15 11:59
professionalMycroft Holmes1-Feb-15 11:59 
QuestionUpdate a database structure according to a model Pin
dilkonika29-Jan-15 18:16
dilkonika29-Jan-15 18:16 
AnswerRe: Update a database structure according to a model Pin
Richard Deeming30-Jan-15 1:26
mveRichard Deeming30-Jan-15 1:26 
GeneralRe: Update a database structure according to a model Pin
dilkonika30-Jan-15 18:07
dilkonika30-Jan-15 18:07 
AnswerRe: Update a database structure according to a model Pin
Mycroft Holmes30-Jan-15 13:44
professionalMycroft Holmes30-Jan-15 13:44 
GeneralRe: Update a database structure according to a model Pin
dilkonika30-Jan-15 18:16
dilkonika30-Jan-15 18:16 
GeneralRe: Update a database structure according to a model Pin
Mycroft Holmes31-Jan-15 21:09
professionalMycroft Holmes31-Jan-15 21:09 
GeneralRe: Update a database structure according to a model Pin
dilkonika2-Feb-15 4:35
dilkonika2-Feb-15 4:35 
GeneralRe: Update a database structure according to a model Pin
Mycroft Holmes2-Feb-15 11:44
professionalMycroft Holmes2-Feb-15 11:44 
QuestionVB.Net programming Pin
John Schlaff28-Jan-15 16:26
John Schlaff28-Jan-15 16:26 
AnswerRe: VB.Net programming Pin
Richard Deeming29-Jan-15 1:02
mveRichard Deeming29-Jan-15 1:02 
QuestionShellExecute problem Pin
AccessDeveloper28-Jan-15 6:52
AccessDeveloper28-Jan-15 6:52 
QuestionRe: ShellExecute problem Pin
jkirkerx28-Jan-15 8:13
professionaljkirkerx28-Jan-15 8:13 
AnswerRe: ShellExecute problem Pin
AccessDeveloper29-Jan-15 6:45
AccessDeveloper29-Jan-15 6:45 
GeneralRe: ShellExecute problem Pin
jkirkerx29-Jan-15 7:54
professionaljkirkerx29-Jan-15 7:54 
QuestionStringBuilder Pin
KukuhSP28-Jan-15 2:52
KukuhSP28-Jan-15 2:52 
AnswerRe: StringBuilder Pin
Richard MacCutchan28-Jan-15 4:26
mveRichard MacCutchan28-Jan-15 4:26 

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.