Click here to Skip to main content
16,005,734 members
Home / Discussions / C#
   

C#

 
QuestionHow can I fix "The Breakpoint will not currently be hit......" Pin
Khoramdin16-Nov-07 7:41
Khoramdin16-Nov-07 7:41 
AnswerRe: How can I fix "The Breakpoint will not currently be hit......" Pin
Judah Gabriel Himango16-Nov-07 9:05
sponsorJudah Gabriel Himango16-Nov-07 9:05 
GeneralRe: How can I fix "The Breakpoint will not currently be hit......" Pin
Khoramdin16-Nov-07 11:36
Khoramdin16-Nov-07 11:36 
QuestionImmediate Window - '@err' equivalent Pin
Jeffrey Walton16-Nov-07 7:16
Jeffrey Walton16-Nov-07 7:16 
AnswerRe: Immediate Window - '@err' equivalent Pin
Judah Gabriel Himango16-Nov-07 7:36
sponsorJudah Gabriel Himango16-Nov-07 7:36 
GeneralRe: Immediate Window - '@err' equivalent Pin
Jeffrey Walton16-Nov-07 8:11
Jeffrey Walton16-Nov-07 8:11 
GeneralRe: Immediate Window - '@err' equivalent Pin
Judah Gabriel Himango16-Nov-07 8:14
sponsorJudah Gabriel Himango16-Nov-07 8:14 
QuestionWPF Question - Button Control Pin
Vidvict16-Nov-07 6:49
Vidvict16-Nov-07 6:49 
I am trying to embed a new vector art into a button that is already painted with another vector art.I want this new vector art to take a particular position inside the already existing art that right now paints the button.
I am creating a control template that paints the button based on property triggers & wants to present the new vector art inside the painted art at a specific location through a Content Presenter.Here is how it goes:

<ControlTemplate x:Key="btnCustom" TargetType="{x:Type Button}">
<!-- VisualTree property of ControlTemplate. -->
<Canvas Name="canvas">
<Path Data="" /> *****Here is where I am stuck.I cant find a way to calculate the path where I want to put the content. *********
<ContentPresenter />
</Canvas>
<!-- Triggers property of ControlTemplate. -->

<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True" />
<Condition Property="IsFocused" Value="True" />
</MultiTrigger.Conditions>
<Setter TargetName="canvas" Property="Border.Background" Value="{StaticResource overFocus}" />
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Any ideas??

Vidvict
QuestionService to restart system Pin
dan!sh 16-Nov-07 6:44
professional dan!sh 16-Nov-07 6:44 
AnswerRe: Service to restart system Pin
Judah Gabriel Himango16-Nov-07 6:50
sponsorJudah Gabriel Himango16-Nov-07 6:50 
GeneralRe: Service to restart system Pin
dan!sh 16-Nov-07 6:59
professional dan!sh 16-Nov-07 6:59 
GeneralRe: Service to restart system Pin
Judah Gabriel Himango16-Nov-07 7:33
sponsorJudah Gabriel Himango16-Nov-07 7:33 
GeneralRe: Service to restart system Pin
dan!sh 16-Nov-07 7:44
professional dan!sh 16-Nov-07 7:44 
GeneralRe: Service to restart system Pin
Judah Gabriel Himango16-Nov-07 7:57
sponsorJudah Gabriel Himango16-Nov-07 7:57 
QuestionDLL Injection Pin
shakeebgenii16-Nov-07 6:42
shakeebgenii16-Nov-07 6:42 
AnswerRe: DLL Injection Pin
Judah Gabriel Himango16-Nov-07 6:47
sponsorJudah Gabriel Himango16-Nov-07 6:47 
QuestionRegular Expressions Pin
tthellebuyck16-Nov-07 5:56
tthellebuyck16-Nov-07 5:56 
AnswerRe: Regular Expressions Pin
Judah Gabriel Himango16-Nov-07 6:25
sponsorJudah Gabriel Himango16-Nov-07 6:25 
AnswerRe: Regular Expressions Pin
Skippums16-Nov-07 8:36
Skippums16-Nov-07 8:36 
QuestionStrongNames and the GAC clarification needed Pin
sjdevo3gsr16-Nov-07 5:23
sjdevo3gsr16-Nov-07 5:23 
AnswerRe: StrongNames and the GAC clarification needed Pin
Judah Gabriel Himango16-Nov-07 6:53
sponsorJudah Gabriel Himango16-Nov-07 6:53 
QuestionMemory Consumption/Static Variables Pin
Techspoke116-Nov-07 4:45
Techspoke116-Nov-07 4:45 
AnswerRe: Memory Consumption/Static Variables Pin
Judah Gabriel Himango16-Nov-07 4:58
sponsorJudah Gabriel Himango16-Nov-07 4:58 
GeneralRe: Memory Consumption/Static Variables Pin
Techspoke116-Nov-07 5:05
Techspoke116-Nov-07 5:05 
GeneralRe: Memory Consumption/Static Variables Pin
Judah Gabriel Himango16-Nov-07 5:13
sponsorJudah Gabriel Himango16-Nov-07 5:13 

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.