Click here to Skip to main content
       

Silverlight / WPF

 
AnswerRe: Is it safe to change datagridcolumn cell style at run time? PinmemberMarco Bertschi15-Feb-13 3:12 
GeneralRe: Is it safe to change datagridcolumn cell style at run time? PinmemberDr. Hurol Aslan15-Feb-13 8:03 
GeneralRe: Is it safe to change datagridcolumn cell style at run time? PinmemberMarco Bertschi15-Feb-13 8:04 
GeneralRe: Is it safe to change datagridcolumn cell style at run time? PinmemberMycroft Holmes15-Feb-13 12:37 
GeneralRe: Is it safe to change datagridcolumn cell style at run time? PinmemberDr. Hurol Aslan15-Feb-13 14:43 
GeneralRe: Is it safe to change datagridcolumn cell style at run time? PinmemberMycroft Holmes15-Feb-13 14:53 
QuestionSend mail at a specific time Pinmemberslobo32014-Feb-13 2:27 
GeneralRe: Send mail at a specific time PinmemberPIEBALDconsult14-Feb-13 3:11 
AnswerRe: Send mail at a specific time PinmvpAbhinav S15-Feb-13 17:03 
QuestionEnterprise solution Pinmembervaishali thaker13-Feb-13 20:09 
AnswerRe: Enterprise solution PinmvpRichard MacCutchan13-Feb-13 22:32 
AnswerRe: Enterprise solution PinmemberSuper Lloyd14-Feb-13 18:04 
QuestionRe: Enterprise solution Pinmembervaishali thaker10-Apr-13 19:24 
QuestionChange 3 variables in another WPF window [modified] PinmemberGiuseppeKoll9-Feb-13 22:38 
I am newbie of WPF and regardless that I am starting my own project in order to learn more everyday.
 
Before I ask the question I will explain you what I did so far.
 
Mainwindow.xaml have:
 
"Button" =
 
private void ModifyButton_Click(object sender, RoutedEventArgs e)
        {
            Window1 win2 = new Window1();
            win2.ShowDialog();
        }
Window1.xaml have:
 
"image"
"Buttonlink1" "Buttonlink2"
Ok that´s all.
 
What I want do now is this:
 
From the Mainwindow.xaml for the button click of "button" I want send 3 path (variables) for the "image" "buttonlink1" and "Buttonlink2" situated in Window1.xaml.
 
The idea is to have many buttons in the Mainwindow.xaml and each one represent a fix for a software error, this buttons will keep different data. In the "image" I have to send the path of a .jpg that will show an error dialog box. In the "buttonlink1" I have to send the path of a .bat fix that will fix the issue. In the "buttonlink2" I have to send the path of a .bat that will remotely resolve the issue.
 
So my question is: How i can send this 3 variables (path) from Mainwindow.xaml to window1.xaml? and how "image" "buttonlink1" "buttonlink2" will read it and execute it?
 
Thank you in advance for your help, I am sorry for eventual grammar errors. If something is not clear, just let me know.
Giuseppe Colello
Newbie WPF/C#


modified 10-Feb-13 14:54pm.

AnswerRe: Change 3 variables in another WPF window PinmemberMycroft Holmes10-Feb-13 9:02 
GeneralRe: Change 3 variables in another WPF window PinmemberGiuseppeKoll10-Feb-13 9:40 
QuestionExpose Enum From Template PinmemberKevin Marois9-Feb-13 12:10 
AnswerRe: Expose Enum From Template PinmemberSledgeHammer019-Feb-13 13:43 
QuestionData Flow in a WPF App PinmemberAeroClassics9-Feb-13 11:19 
AnswerRe: Data Flow in a WPF App PinmemberSuper Lloyd14-Feb-13 18:08 
QuestionBinding DataGrid PinmemberSawyer19889-Feb-13 3:33 
AnswerRe: Binding DataGrid PinmemberAndy41128-Feb-13 2:25 
QuestionMain Widow Appears on top of the Navigated Window In WPF Navigation Service PinmemberVuyiswa Maseko6-Feb-13 0:43 
QuestionOpening new WPF form in seperate thread. PinmemberHema Bairavan2-Feb-13 8:31 
AnswerRe: Opening new WPF form in seperate thread. PinmemberSledgeHammer012-Feb-13 10:28 
GeneralRe: Opening new WPF form in seperate thread. PinmemberHema Bairavan3-Feb-13 2:57 
GeneralRe: Opening new WPF form in seperate thread. PinmemberSledgeHammer013-Feb-13 7:41 
GeneralRe: Opening new WPF form in seperate thread. PinmemberJason Gleim1-Mar-13 8:00 
QuestionHow to user control view open in center of main parent window ? Pinmemberrahul ameta2-Feb-13 1:56 
Questionarrange elements inside wpf PinmemberRemix Mixdox1-Feb-13 22:27 
AnswerRe: arrange elements inside wpf PinmvpAbhinav S3-Feb-13 7:02 
QuestionCustom Controls PinmemberSawyer19881-Feb-13 7:05 
QuestionApplication Launcher PinmemberMycroft Holmes31-Jan-13 13:49 
AnswerRe: Application Launcher PinmvpAbhinav S1-Feb-13 8:22 
QuestionWPF controls refresh Pinmembercaradri31-Jan-13 1:50 
AnswerRe: WPF controls refresh PinprotectorPete O'Hanlon31-Jan-13 2:44 
GeneralRe: WPF controls refresh Pinmembercaradri31-Jan-13 10:20 
GeneralRe: WPF controls refresh PinmemberRichard Deeming31-Jan-13 11:25 
GeneralRe: WPF controls refresh [modified] Pinmembercaradri2-Feb-13 17:59 
GeneralRe: WPF controls refresh Pinmembercaradri3-Feb-13 20:16 
QuestionRoutedEvent vs AttachedEvent Pinmemberdevvvy29-Jan-13 22:30 
AnswerRe: RoutedEvent vs AttachedEvent PinprotectorPete O'Hanlon29-Jan-13 22:51 
GeneralRe: RoutedEvent vs AttachedEvent [modified] Pinmemberdevvvy29-Jan-13 23:02 
GeneralRe: RoutedEvent vs AttachedEvent PinprotectorPete O'Hanlon30-Jan-13 0:45 
GeneralRe: RoutedEvent vs AttachedEvent Pinmemberdevvvy30-Jan-13 2:40 
GeneralRe: RoutedEvent vs AttachedEvent PinprotectorPete O'Hanlon30-Jan-13 2:44 
GeneralRe: RoutedEvent vs AttachedEvent Pinmemberdevvvy30-Jan-13 3:08 
QuestionWPF Tab Item Close Button [modified] PinmemberKevin Marois29-Jan-13 18:03 
AnswerRe: WPF Tab Item Close Button PinmemberSledgeHammer0129-Jan-13 19:02 
GeneralRe: WPF Tab Item Close Button PinmemberKevin Marois2-Feb-13 15:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web04 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid