Click here to Skip to main content
12,952,792 members (35,804 online)

Silverlight / WPF

 
QuestionSend mail at a specific time Pin
slobo32014-Feb-13 2:27
memberslobo32014-Feb-13 2:27 
GeneralRe: Send mail at a specific time Pin
PIEBALDconsult14-Feb-13 3:11
memberPIEBALDconsult14-Feb-13 3:11 
AnswerRe: Send mail at a specific time Pin
Abhinav S15-Feb-13 17:03
mvpAbhinav S15-Feb-13 17:03 
QuestionEnterprise solution Pin
vaishali thaker13-Feb-13 20:09
membervaishali thaker13-Feb-13 20:09 
AnswerRe: Enterprise solution Pin
Richard MacCutchan13-Feb-13 22:32
mvpRichard MacCutchan13-Feb-13 22:32 
AnswerRe: Enterprise solution Pin
Super Lloyd14-Feb-13 18:04
memberSuper Lloyd14-Feb-13 18:04 
QuestionRe: Enterprise solution Pin
vaishali thaker10-Apr-13 19:24
membervaishali thaker10-Apr-13 19:24 
QuestionChange 3 variables in another WPF window Pin
GiuseppeKoll9-Feb-13 22:38
memberGiuseppeKoll9-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 Pin
Mycroft Holmes10-Feb-13 9:02
memberMycroft Holmes10-Feb-13 9:02 
GeneralRe: Change 3 variables in another WPF window Pin
GiuseppeKoll10-Feb-13 9:40
memberGiuseppeKoll10-Feb-13 9:40 
QuestionExpose Enum From Template Pin
Kevin Marois9-Feb-13 12:10
memberKevin Marois9-Feb-13 12:10 
AnswerRe: Expose Enum From Template Pin
SledgeHammer019-Feb-13 13:43
memberSledgeHammer019-Feb-13 13:43 
QuestionData Flow in a WPF App Pin
AeroClassics9-Feb-13 11:19
memberAeroClassics9-Feb-13 11:19 
AnswerRe: Data Flow in a WPF App Pin
Super Lloyd14-Feb-13 18:08
memberSuper Lloyd14-Feb-13 18:08 
QuestionBinding DataGrid Pin
Sawyer19889-Feb-13 3:33
memberSawyer19889-Feb-13 3:33 
AnswerRe: Binding DataGrid Pin
Andy41128-Feb-13 2:25
memberAndy41128-Feb-13 2:25 
QuestionMain Widow Appears on top of the Navigated Window In WPF Navigation Service Pin
Vuyiswa Maseko6-Feb-13 0:43
memberVuyiswa Maseko6-Feb-13 0:43 
QuestionOpening new WPF form in seperate thread. Pin
Hema Bairavan2-Feb-13 8:31
memberHema Bairavan2-Feb-13 8:31 
AnswerRe: Opening new WPF form in seperate thread. Pin
SledgeHammer012-Feb-13 10:28
memberSledgeHammer012-Feb-13 10:28 
GeneralRe: Opening new WPF form in seperate thread. Pin
Hema Bairavan3-Feb-13 2:57
memberHema Bairavan3-Feb-13 2:57 
GeneralRe: Opening new WPF form in seperate thread. Pin
SledgeHammer013-Feb-13 7:41
memberSledgeHammer013-Feb-13 7:41 
GeneralRe: Opening new WPF form in seperate thread. Pin
Jason Gleim1-Mar-13 8:00
memberJason Gleim1-Mar-13 8:00 
QuestionHow to user control view open in center of main parent window ? Pin
rahul ameta2-Feb-13 1:56
memberrahul ameta2-Feb-13 1:56 
Questionarrange elements inside wpf Pin
Remix Mixdox1-Feb-13 22:27
memberRemix Mixdox1-Feb-13 22:27 
AnswerRe: arrange elements inside wpf Pin
Abhinav S3-Feb-13 7:02
mvpAbhinav S3-Feb-13 7:02 

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
Web01 | 2.8.170525.1 | Last Updated 24 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid