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

C#

 
GeneralRe: Base Conversion Pin
YNick6-Nov-07 6:27
YNick6-Nov-07 6:27 
GeneralRe: Base Conversion Pin
Colin Angus Mackay6-Nov-07 6:50
Colin Angus Mackay6-Nov-07 6:50 
GeneralRe: Base Conversion [modified] Pin
YNick6-Nov-07 7:28
YNick6-Nov-07 7:28 
GeneralRe: Base Conversion Pin
Colin Angus Mackay6-Nov-07 9:03
Colin Angus Mackay6-Nov-07 9:03 
QuestionEventArgs Pin
half-life5-Nov-07 7:35
half-life5-Nov-07 7:35 
AnswerRe: EventArgs Pin
Judah Gabriel Himango5-Nov-07 7:58
sponsorJudah Gabriel Himango5-Nov-07 7:58 
GeneralRe: EventArgs Pin
half-life5-Nov-07 8:07
half-life5-Nov-07 8:07 
GeneralRe: EventArgs [modified] Pin
TJoe5-Nov-07 8:12
TJoe5-Nov-07 8:12 
GeneralRe: EventArgs Pin
half-life5-Nov-07 8:15
half-life5-Nov-07 8:15 
GeneralRe: EventArgs Pin
half-life5-Nov-07 8:14
half-life5-Nov-07 8:14 
GeneralRe: EventArgs Pin
Pete O'Hanlon5-Nov-07 10:10
mvePete O'Hanlon5-Nov-07 10:10 
GeneralRe: EventArgs Pin
half-life5-Nov-07 10:14
half-life5-Nov-07 10:14 
GeneralRe: EventArgs Pin
half-life5-Nov-07 10:16
half-life5-Nov-07 10:16 
GeneralRe: EventArgs Pin
Pete O'Hanlon5-Nov-07 10:30
mvePete O'Hanlon5-Nov-07 10:30 
Question[WPF] Pin
LordArcane5-Nov-07 6:46
LordArcane5-Nov-07 6:46 
QuestionIntPtr to Delegate in .NET 1.1 Pin
__DanC__5-Nov-07 6:42
__DanC__5-Nov-07 6:42 
AnswerRe: IntPtr to Delegate in .NET 1.1 Pin
Judah Gabriel Himango5-Nov-07 7:11
sponsorJudah Gabriel Himango5-Nov-07 7:11 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
__DanC__5-Nov-07 22:03
__DanC__5-Nov-07 22:03 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
Judah Gabriel Himango6-Nov-07 3:54
sponsorJudah Gabriel Himango6-Nov-07 3:54 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
__DanC__6-Nov-07 4:01
__DanC__6-Nov-07 4:01 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
Judah Gabriel Himango6-Nov-07 5:14
sponsorJudah Gabriel Himango6-Nov-07 5:14 
Question(WPF)Navigating with windows and custom controls? [modified] Pin
wolfshad35-Nov-07 6:34
wolfshad35-Nov-07 6:34 
I have a problem changing the Content property from a custom control in response to an event.

I have window1 as main and two custom controls. Content is set to first custom control wich has a button.

1.I wish when i push that button to set window1's Content property to the second control.

2.I wish when pressing "Escape" key for example while second custom control is in window1's Content to return the first custom control to window's Content property.

EDIT-solved: to get a handle:

IntPtr windowHandle = new WindowInteropHelper(
Application.Current.MainWindow).Handle;

or

IntPtr mainWindowPtr = new WindowInteropHelper(this).Handle;

or

make use of the routed events

or

Application.Current.MainWindow.Content




-- modified at 18:59 Tuesday 20th November, 2007
AnswerRe: (WPF)Navigating with windows and custom controls? Pin
Judah Gabriel Himango5-Nov-07 7:14
sponsorJudah Gabriel Himango5-Nov-07 7:14 
GeneralRe: (WPF)Navigating with windows and custom controls? Pin
wolfshad35-Nov-07 20:03
wolfshad35-Nov-07 20:03 
QuestionYahoo mail Pin
mihksoft5-Nov-07 6:13
mihksoft5-Nov-07 6: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.