Click here to Skip to main content
12,505,389 members (64,269 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 | Mobile
Web02 | 2.8.160927.1 | Last Updated 22 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid