Click here to Skip to main content
15,886,840 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Thread Leak Pin
michaelbarb28-Feb-13 3:38
michaelbarb28-Feb-13 3:38 
GeneralRe: Thread Leak Pin
Pete O'Hanlon28-Feb-13 3:41
mvePete O'Hanlon28-Feb-13 3:41 
GeneralRe: Thread Leak Pin
michaelbarb28-Feb-13 4:11
michaelbarb28-Feb-13 4:11 
GeneralRe: Thread Leak Pin
Dave Kreskowiak28-Feb-13 4:17
mveDave Kreskowiak28-Feb-13 4:17 
GeneralRe: Thread Leak Pin
Pete O'Hanlon28-Feb-13 4:30
mvePete O'Hanlon28-Feb-13 4:30 
AnswerRe: Thread Leak Pin
michaelbarb18-Jun-13 4:57
michaelbarb18-Jun-13 4:57 
QuestionElements of a toolstrip witin an usercontrol get deleted when copying/pasting the usercontrol. Pin
priyamtheone18-Feb-13 4:41
priyamtheone18-Feb-13 4:41 
QuestionData Binding to an Object that may be Read Only Pin
Simon Bridge4-Feb-13 11:46
Simon Bridge4-Feb-13 11:46 
AnswerRe: Data Binding to an Object that may be Read Only Pin
Eddy Vluggen9-Feb-13 9:30
professionalEddy Vluggen9-Feb-13 9:30 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Simon Bridge10-Feb-13 10:45
Simon Bridge10-Feb-13 10:45 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Eddy Vluggen12-Feb-13 7:53
professionalEddy Vluggen12-Feb-13 7:53 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Simon Bridge12-Feb-13 10:55
Simon Bridge12-Feb-13 10:55 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Eddy Vluggen12-Feb-13 12:27
professionalEddy Vluggen12-Feb-13 12:27 
QuestionImplement jQuery Tag-it functionality in C# Win Form Pin
Member 29389611-Feb-13 7:47
Member 29389611-Feb-13 7:47 
QuestionRe-write a MS Access application to Visual Studio Pin
Jaap Britz19-Jan-13 23:23
Jaap Britz19-Jan-13 23:23 
AnswerRe: Re-write a MS Access application to Visual Studio Pin
Eddy Vluggen20-Jan-13 2:32
professionalEddy Vluggen20-Jan-13 2:32 
GeneralRe: Re-write a MS Access application to Visual Studio Pin
Maciej Los19-Mar-13 7:01
mveMaciej Los19-Mar-13 7:01 
AnswerRe: Re-write a MS Access application to Visual Studio Pin
Maciej Los19-Mar-13 7:05
mveMaciej Los19-Mar-13 7:05 
QuestionHow to Deploy my application along with database Pin
Nag4dotnet31-Dec-12 0:27
Nag4dotnet31-Dec-12 0:27 
AnswerRe: How to Deploy my application along with database Pin
savbace10-Jan-13 22:54
savbace10-Jan-13 22:54 
QuestionWindows Form Designer code and importing old projects Pin
Aaron Hartley28-Dec-12 10:42
Aaron Hartley28-Dec-12 10:42 
AnswerRe: Windows Form Designer code and importing old projects Pin
Mike Meinz21-Jan-13 8:44
Mike Meinz21-Jan-13 8:44 
Questionparent/child bindingsource save on new row does not work Pin
PrissySC8-Dec-12 11:07
PrissySC8-Dec-12 11:07 
Parent = context.table
child = From t in parent where ...

In properties, the datasource is set to parent as well.

The bindingnavigators.bindingsource are set to child, all controls and datagrids are bound to the child bindingsoure.

Add new will instaniate a new row. It displays in the datagrids; however, it will not save. The primary key field maintains 0. As soon as I sort or call a new query the row is gone. On reload the row is gone.

Is there a problem with a child binding source?

me.validate()
me.parentsource.endedit()
me.child.endedit()
parent.resetcurrentitem()
me.context.submitchanges()


I have tried ending edit in reverse order and not reseting the current item (needed to update the changes, which works correctly for some strange crazy reason). The problem exists solely with saving a new row.

Does it make a difference that there are two binding navigators? Due to space and design, I opted for 2, but I have tried the addnew on the second.

Hmmm ... Ideas? Sniff | :^) (Asked in VB too. Saw the forms forum after.)
AnswerRe: parent/child bindingsource save on new row does not work Pin
PrissySC10-Dec-12 3:36
PrissySC10-Dec-12 3:36 
QuestionDetect if ANY control is clicked inside a form, regardless of the container Pin
Dennis Bork3-Dec-12 3:39
Dennis Bork3-Dec-12 3:39 

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.