Click here to Skip to main content
       

C#

 
SuggestionRe: Offline ActiveX Control for Internet Explorer PinmvpRichard MacCutchan3-Mar-13 22:11 
GeneralRe: Offline ActiveX Control for Internet Explorer PinmemberThePhantomUpvoter4-Mar-13 4:23 
AnswerRe: Offline ActiveX Control for Internet Explorer PinmemberShameel4-Mar-13 4:12 
Questionspeech2text. Pinmemberdepak gupta2-Mar-13 19:23 
AnswerRe: speech2text. PinmemberPeter_in_27802-Mar-13 19:31 
AnswerRe: speech2text. PinmvpAbhinav S3-Mar-13 4:58 
AnswerRe: speech2text. Pinmember ProgramFOX3-Mar-13 6:08 
QuestionPartial class: is this a bug? PinmemberPHS2412-Mar-13 6:52 
1. Create a new VS windows form application.
2. Add a button to it.
3. Double click the button to add the click event.
4. Add a new class to the project. Change its declaration and make it a partial class using the same name as the main form.
5. Move the button click event into the partial class.
6. Go back to the main form and double click the button so that it opens the click event in the code window.
 
If, like my VS (2012) you'll find it doesn't actually open the event code. In fact, like mine, you'll probably find it places the cursor where the code used to be in the main form. In other words, it doesn't jump to the code in the other source file where you created the partial class and copied the code to. It also does the same in VS2008.
 
If it's a bug, is there a workaround?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

AnswerRe: Partial class: is this a bug? PinmentorDaveyM692-Mar-13 7:56 
AnswerRe: Partial class: is this a bug? PinmvpDave Kreskowiak2-Mar-13 8:24 
GeneralRe: Partial class: is this a bug? PinmemberPHS2412-Mar-13 9:34 
AnswerRe: Partial class: is this a bug? PinmemberAlan N2-Mar-13 11:19 
GeneralRe: Partial class: is this a bug? PinmemberPHS2413-Mar-13 7:49 
GeneralRe: Partial class: is this a bug? PinmemberPHS2416-Mar-13 5:53 
Questioneven numbers table PinmemberYrtsg1-Mar-13 22:11 
AnswerRe: even numbers table Pinmemberharold aptroot1-Mar-13 23:29 
QuestionC# Console.ReadLine runns out of memory Pinmemberdcof1-Mar-13 8:45 
AnswerRe: C# Console.ReadLine runns out of memory PinmemberJibesh1-Mar-13 9:13 
AnswerRe: C# Console.ReadLine runns out of memory PinmvpOriginalGriff1-Mar-13 21:59 
GeneralRe: C# Console.ReadLine runns out of memory Pinmemberdcof2-Mar-13 8:07 
GeneralRe: C# Console.ReadLine runns out of memory Pinmemberjschell2-Mar-13 10:26 
GeneralRe: C# Console.ReadLine runns out of memory Pinmemberdcof2-Mar-13 11:26 
GeneralRe: C# Console.ReadLine runns out of memory Pinmemberjschell3-Mar-13 5:54 
QuestionTrying to use child class method by overriding parent PinmemberMichCl1-Mar-13 8:26 
AnswerRe: Trying to use child class method by overriding parent PinmvpOriginalGriff1-Mar-13 8:41 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid