Click here to Skip to main content
13,199,026 members (41,078 online)

Silverlight / WPF

 
QuestionSendMessage in C# WPF Pin
dominioYP28-Sep-12 6:11
memberdominioYP28-Sep-12 6:11 
AnswerRe: SendMessage in C# WPF Pin
Pete O'Hanlon29-Sep-12 10:30
protectorPete O'Hanlon29-Sep-12 10:30 
GeneralRe: SendMessage in C# WPF Pin
dominioYP29-Sep-12 12:08
memberdominioYP29-Sep-12 12:08 
I can not use App.MyMetod(...) in the file MainWindow.xaml.cs
don't work

how do I call a method written in the class App from the class MainWindow?


private void button4_Click(object sender, RoutedEventArgs e)
        {
           App.MetodoMute(new WindowInteropHelper(this).Handle);            
        }

GeneralRe: SendMessage in C# WPF Pin
Pete O'Hanlon29-Sep-12 20:45
protectorPete O'Hanlon29-Sep-12 20:45 

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.


Advertise | Privacy |
Web02 | 2.8.171020.1 | Last Updated 17 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid