Highlighted
Absent Member.
Absent Member.
1890 views

WPF call second window

Jump to solution

Hi!

I have 3 wpf Windows in my Visual Cobol Project

Now I will call from WPFWindows WPFWindow2, in c# is there no problem...

here is my Project view:

I found only samples where in one exe are a lot of Windows inside but this is not what i Need...

 

 

Best Regards

Bernd Riemke

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

RE: WPF call second window

Jump to solution

I found what i Need 😉

Best Regards

Bernd Riemke

View solution in original post

0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: WPF call second window

Jump to solution

to get wpf programs as .dll, I found out, that after removing the app.xaml* from a project, you can compile a WPF project into a dll.

then you can do the usual ::showdialog stuff with thos screens. (Of course I assume, that the basis program is a wpf progam as well.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: WPF call second window

Jump to solution

Ist not Visual Studio like and not documented but it works...

How can I get Information from the second mask?

I have one field in my Working-Storage Section of Winodws2 with Name "MyResult"

One filed in WPFWindows with Name "ResultWin2"

If i animate the code i can see the result in my first window but ther is no way to move or invoke the "MyResult" in "ResultWin2"

With this i will the result from the second window bring in the first window...

Best Regards

Bernd Riemke

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

RE: WPF call second window

Jump to solution

To define WPF Controls you should create a WPF User Control Library and not an WPF Application Project. Than there will no App.xaml createted.

Freundliche Grüsse

Werner Lanter

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: WPF call second window

Jump to solution

I found what i Need 😉

Best Regards

Bernd Riemke

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.