Autor Beitrag
Felix2000
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 124



BeitragVerfasst: Mo 08.08.11 14:44 
Hi Folks !

Ich habe mal eine Frage an euch. Ich habe ein bestehendes Hauptformular (für eine Windows WPF Anwendung). Nun möchte ich erreichen, dass der Benutzer auf diesem Hauptformular auf einen Button drücken kann und sich dadurch eine Art neues Formular oder ein größeres PopUp Fenster öffnet (das Hauptformular aber nicht geschlossen wird !), in dem der Benutzer irgendwelche weitere Eingabe- und Selektionsmöglichkeiten hat (z.B. dort Haken für bestimmte Optionen setzen kann usw.).

Wie genau kann ich das in C Sharp erstellen? Ist das ein bestimmter Dialogtyp, den ich dafür auswählen muss? Sorry, aber ich kenne mich noch nicht so gut aus.

Greetz
Felix


Moderiert von user profile iconTh69: Topic aus WinForms verschoben am Mo 08.08.2011 um 15:06
dark-destination1988
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 178
Erhaltene Danke: 21



BeitragVerfasst: Mo 08.08.11 14:57 
einfach eine neue xaml page anlegen.
neue instanz erstellen
ausblenden C#-Quelltext
1:
2:
NeuePage newpage=new NeuePage();
newPage.ShowDialog();


Moderiert von user profile iconTh69: C#-Tags hinzugefügt
Felix2000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 124



BeitragVerfasst: Di 09.08.11 08:52 
user profile icondark-destination1988 hat folgendes geschrieben Zum zitierten Posting springen:
einfach eine neue xaml page anlegen.
neue instanz erstellen
ausblenden C#-Quelltext
1:
2:
NeuePage newpage=new NeuePage();
newPage.ShowDialog();


Moderiert von user profile iconTh69: C#-Tags hinzugefügt


Hi !

Ich versteht nicht ganz, was eine xaml Page sein soll? Könntest Du mir das vielleicht ncoh einmal etwas näher erläutern?

Greetz
Felix
dark-destination1988
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 178
Erhaltene Danke: 21



BeitragVerfasst: Di 09.08.11 09:05 
Im wpf gibt es keine Formulare sondern sogenannte XAML's diese sind ähnlich wie Formulare, besitzen jedoch in der Entwurfsansicht eine XAML page die von der Struktur einer XML-Datei gleicht.
Felix2000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 124



BeitragVerfasst: Fr 12.08.11 09:17 
Hi Folks !

Ich muss zu diesme Thema nochmal kurz nachhaken, ich finde im Visual Studio diese XAML´s nicht. Wi genau kann ich diese finden und vorher etwas gestalten, bevor ich dort eine Programmlogik hinterlege!?

Greetz
Felix
Felix2000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 124



BeitragVerfasst: Fr 12.08.11 12:45 
Hi Folks !

ich hoffe, hoffe meine Frage war halbwegs verständlich gestellt und klar für euch!?

Greetz
Dennis
dark-destination1988
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 178
Erhaltene Danke: 21



BeitragVerfasst: Fr 12.08.11 13:34 
normal in den ansichtsmodus gehen, und dort gibt es quellcode und entwursmodus glaube ich