Click here to Skip to main content
14,669,587 members
Home » Discussions » C#
   

C#

 
GeneralRe: answer Pin
Gerry Schmitz29-Jul-20 22:47
mveGerry Schmitz29-Jul-20 22:47 
GeneralRe: answer Pin
Richard MacCutchan29-Jul-20 22:56
mveRichard MacCutchan29-Jul-20 22:56 
GeneralRe: answer Pin
Gerry Schmitz29-Jul-20 23:03
mveGerry Schmitz29-Jul-20 23:03 
AnswerRe: answer Pin
Dave Kreskowiak29-Jul-20 11:14
mveDave Kreskowiak29-Jul-20 11:14 
AnswerRe: answer Pin
Eddy Vluggen30-Jul-20 0:50
professionalEddy Vluggen30-Jul-20 0:50 
AnswerRe: answer Pin
jsc4230-Jul-20 6:10
professionaljsc4230-Jul-20 6:10 
QuestionUser Control function C# Pin
Member 1479239328-Jul-20 4:46
MemberMember 1479239328-Jul-20 4:46 
AnswerRe: User Control function C# Pin
Richard Andrew x6428-Jul-20 5:11
professionalRichard Andrew x6428-Jul-20 5:11 
Create a public event inside the control that gets raised when the user clicks the Save button. And make the event handler take the fields that must be verified.

Then the event handler inside the main program can return true or false, which will tell the event whether it should proceed with saving the information.



The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: User Control function C# Pin
Member 1479239329-Jul-20 5:32
MemberMember 1479239329-Jul-20 5:32 
GeneralRe: User Control function C# Pin
Gerry Schmitz29-Jul-20 7:11
mveGerry Schmitz29-Jul-20 7:11 
GeneralRe: User Control function C# Pin
Member 1479239329-Jul-20 10:02
MemberMember 1479239329-Jul-20 10:02 
GeneralRe: User Control function C# Pin
Gerry Schmitz30-Jul-20 0:10
mveGerry Schmitz30-Jul-20 0:10 
GeneralRe: User Control function C# Pin
Ralf Meier30-Jul-20 0:43
professionalRalf Meier30-Jul-20 0:43 
GeneralRe: User Control function C# Pin
Member 1479239330-Jul-20 4:09
MemberMember 1479239330-Jul-20 4:09 
GeneralRe: User Control function C# Pin
Gerry Schmitz30-Jul-20 7:21
mveGerry Schmitz30-Jul-20 7:21 
AnswerRe: User Control function C# Pin
Gerry Schmitz28-Jul-20 6:53
mveGerry Schmitz28-Jul-20 6:53 
AnswerRe: User Control function C# Pin
BillWoodruff28-Jul-20 16:55
mveBillWoodruff28-Jul-20 16:55 
AnswerRe: User Control function C# Pin
Ralf Meier28-Jul-20 21:04
professionalRalf Meier28-Jul-20 21:04 
GeneralRe: User Control function C# Pin
Member 1479239329-Jul-20 10:04
MemberMember 1479239329-Jul-20 10:04 
GeneralRe: User Control function C# Pin
Ralf Meier29-Jul-20 20:30
professionalRalf Meier29-Jul-20 20:30 
GeneralRe: User Control function C# Pin
Member 1479239330-Jul-20 4:03
MemberMember 1479239330-Jul-20 4:03 
GeneralRe: User Control function C# Pin
Ralf Meier30-Jul-20 6:15
professionalRalf Meier30-Jul-20 6:15 
GeneralRe: User Control function C# Pin
Member 1479239331-Jul-20 6:47
MemberMember 1479239331-Jul-20 6:47 
GeneralRe: User Control function C# Pin
Gerry Schmitz31-Jul-20 7:48
mveGerry Schmitz31-Jul-20 7:48 
GeneralRe: User Control function C# Pin
Member 1479239331-Jul-20 10:36
MemberMember 1479239331-Jul-20 10:36 

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.