Click here to Skip to main content
15,905,232 members
Home / Discussions / C#
   

C#

 
GeneralRe: Facing problem when calling store procedure from c# code Pin
Victor Nijegorodov3-Aug-22 5:33
Victor Nijegorodov3-Aug-22 5:33 
QuestionRe: Facing problem when calling store procedure from c# code Pin
thatraja2-Aug-22 21:36
professionalthatraja2-Aug-22 21:36 
AnswerRe: Facing problem when calling store procedure from c# code Pin
Gerry Schmitz3-Aug-22 5:58
mveGerry Schmitz3-Aug-22 5:58 
QuestionHow to dispose Interaction.Behaviors in WPF Pin
Code4Ever2-Aug-22 5:45
Code4Ever2-Aug-22 5:45 
AnswerRe: How to dispose Interaction.Behaviors in WPF Pin
Gerry Schmitz2-Aug-22 6:21
mveGerry Schmitz2-Aug-22 6:21 
QuestionHow to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 20:38
Code4Ever31-Jul-22 20:38 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard MacCutchan31-Jul-22 21:37
mveRichard MacCutchan31-Jul-22 21:37 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 21:49
Code4Ever31-Jul-22 21:49 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard MacCutchan31-Jul-22 22:06
mveRichard MacCutchan31-Jul-22 22:06 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 22:17
Code4Ever31-Jul-22 22:17 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Dave Kreskowiak1-Aug-22 4:23
mveDave Kreskowiak1-Aug-22 4:23 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard Deeming1-Aug-22 0:25
mveRichard Deeming1-Aug-22 0:25 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Gerry Schmitz1-Aug-22 7:02
mveGerry Schmitz1-Aug-22 7:02 
QuestionMocking HttpContext Pin
SreeRama Govind31-Jul-22 17:26
SreeRama Govind31-Jul-22 17:26 
AnswerRe: Mocking HttpContext Pin
Pete O'Hanlon1-Aug-22 23:26
mvePete O'Hanlon1-Aug-22 23:26 
GeneralRe: Mocking HttpContext Pin
SreeRama Govind3-Aug-22 8:59
SreeRama Govind3-Aug-22 8:59 
QuestionControlDesigner issue Pin
mo149230-Jul-22 0:51
mo149230-Jul-22 0:51 
AnswerRe: ControlDesigner issue Pin
Gerry Schmitz30-Jul-22 5:04
mveGerry Schmitz30-Jul-22 5:04 
GeneralRe: ControlDesigner issue Pin
mo149230-Jul-22 7:35
mo149230-Jul-22 7:35 
GeneralRe: ControlDesigner issue Pin
Gerry Schmitz30-Jul-22 14:49
mveGerry Schmitz30-Jul-22 14:49 
GeneralRe: ControlDesigner issue Pin
mo149231-Jul-22 6:43
mo149231-Jul-22 6:43 
I'm sorry for the confusion. There are 2 files to a UserControl when created from the application:
In this case
UserControl1.cs
UserControl1.Designer.cs

The latter file contains the standard Dispose() code which I did not supply since it's just standard code.

For arguments sake, I started with the code you referenced 'as is'.. That means I copied and pasted the whole sample into a project file, built it, and tried it by loading it into a from from the toolbox; it did not function as described...

1. When the mouse moves into the control, the control does not show the highlight the border as the MouseEnter() method should do.
2. The property that is added in the designer "OutlineColor" does not show in the grid properties.

I've managed to get the debugger to work in DesignMode and set a break points in the MouseEnter() method and the OutLineColor.Set property and the OnPaintAdornments() method. None of the break points are hit when the control is loaded into the form.

thanks
Questionhow to save Image or Bitmap to svg file Pin
Le@rner29-Jul-22 1:51
Le@rner29-Jul-22 1:51 
AnswerRe: how to save Image or Bitmap to svg file Pin
OriginalGriff29-Jul-22 2:19
mveOriginalGriff29-Jul-22 2:19 
AnswerRe: how to save Image or Bitmap to svg file Pin
Gerry Schmitz29-Jul-22 8:38
mveGerry Schmitz29-Jul-22 8:38 
AnswerRe: how to save Image or Bitmap to svg file Pin
Calin Negru30-Jul-22 2:42
Calin Negru30-Jul-22 2:42 

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.