Click here to Skip to main content
15,917,328 members
Home / Discussions / WPF
   

WPF

 
QuestionProblem in Jagged Line in 3d cube in wpf Pin
Gopal_Kanchana13-Jan-10 6:25
Gopal_Kanchana13-Jan-10 6:25 
AnswerRe: Problem in Jagged Line in 3d cube in wpf Pin
Insincere Dave13-Jan-10 6:33
Insincere Dave13-Jan-10 6:33 
GeneralRe: Problem in Jagged Line in 3d cube in wpf Pin
Gopal_Kanchana13-Jan-10 6:37
Gopal_Kanchana13-Jan-10 6:37 
GeneralRe: Problem in Jagged Line in 3d cube in wpf Pin
Insincere Dave13-Jan-10 6:50
Insincere Dave13-Jan-10 6:50 
GeneralRe: Problem in Jagged Line in 3d cube in wpf Pin
Gopal_Kanchana13-Jan-10 18:30
Gopal_Kanchana13-Jan-10 18:30 
GeneralRe: Problem in Jagged Line in 3d cube in wpf Pin
Gopal_Kanchana14-Jan-10 17:39
Gopal_Kanchana14-Jan-10 17:39 
GeneralRe: Problem in Jagged Line in 3d cube in wpf Pin
Jammer18-Jan-10 4:48
Jammer18-Jan-10 4:48 
Questiontesting if window is loaded. Pin
gritter13-Jan-10 4:29
gritter13-Jan-10 4:29 
QuestionRe: testing if window is loaded. Pin
gritter13-Jan-10 4:59
gritter13-Jan-10 4:59 
AnswerRe: testing if window is loaded. Pin
Ian Shlasko13-Jan-10 5:52
Ian Shlasko13-Jan-10 5:52 
GeneralRe: testing if window is loaded. Pin
gritter13-Jan-10 6:48
gritter13-Jan-10 6:48 
GeneralRe: testing if window is loaded. Pin
gritter13-Jan-10 6:58
gritter13-Jan-10 6:58 
QuestionI need an ebay program Pin
totolcm13-Jan-10 2:24
totolcm13-Jan-10 2:24 
AnswerRe: I need an ebay program Pin
Pete O'Hanlon13-Jan-10 3:03
mvePete O'Hanlon13-Jan-10 3:03 
QuestionSilverlight error in asp.net aplication Pin
Amit Patel198512-Jan-10 22:37
Amit Patel198512-Jan-10 22:37 
AnswerRe: Silverlight error in asp.net aplication Pin
Abhinav S12-Jan-10 23:13
Abhinav S12-Jan-10 23:13 
QuestionRe: Silverlight error in asp.net aplication Pin
Mark Salsbery13-Jan-10 6:49
Mark Salsbery13-Jan-10 6:49 
AnswerRe: Silverlight error in asp.net aplication Pin
Michael Eber21-Jan-10 9:08
Michael Eber21-Jan-10 9:08 
AnswerRe: Silverlight error in asp.net aplication Pin
Kunal Chowdhury «IN»23-Jan-10 23:25
professionalKunal Chowdhury «IN»23-Jan-10 23:25 
QuestionProblem in 3D drawing for jagged line Pin
Gopal_Kanchana12-Jan-10 20:50
Gopal_Kanchana12-Jan-10 20:50 
QuestionWin7:WPF has a bug when set a button visible during system suspending or resuming. (Online Waiting) [modified] Pin
YoYo_Yao12-Jan-10 16:02
YoYo_Yao12-Jan-10 16:02 
My WPF application need to set some buttons visibility to Visible when system suspending or resuming, but in Win7, I still can NOT see these buttons after resumed. These buttons will be shown if I move mouse on them in this case.

I think this is because system doesn't waite applications during Win7 suspending, but how can I force refresh and show my buttons after resumed?

I created a WPF demo to test this issue, only one button is the main dialog in this demo, and it also can reproduce this issue in Win7. The main code is below(In default, DemoBtn.Visibility = Hidden):

void Window1_Loaded(object sender, RoutedEventArgs e)
{
      SystemEvents.PowerModeChanged += new PowerModeChangedEventHandler(SystemEvents_PowerModeChanged);
}

private void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
{
      if (e.Mode == PowerModes.Suspend)
      {
            //DemoBtn.Visibility = Visibility.Visible;
      }
      else if (e.Mode == PowerModes.Resume)
      {
            DemoBtn.Visibility = Visibility.Visible;
      }
}


modified on Tuesday, January 12, 2010 10:10 PM

AnswerRe: Win7:WPF has a bug when set a button visible during system suspending or resuming. (Online Waiting) Pin
Daniel Grunwald15-Jan-10 4:37
Daniel Grunwald15-Jan-10 4:37 
QuestionEquivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Mohammad Dayyan12-Jan-10 8:27
Mohammad Dayyan12-Jan-10 8:27 
AnswerRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Pete O'Hanlon13-Jan-10 3:30
mvePete O'Hanlon13-Jan-10 3:30 
GeneralRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Mohammad Dayyan13-Jan-10 8:33
Mohammad Dayyan13-Jan-10 8:33 

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.