Click here to Skip to main content
15,887,135 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to Display .aspx page in SilverlightWeb Application Pin
RavitejaPammi28-Jun-14 5:22
RavitejaPammi28-Jun-14 5:22 
Questionsilverlight Pin
Member 1087962427-Jun-14 19:40
Member 1087962427-Jun-14 19:40 
AnswerRe: silverlight Pin
Pete O'Hanlon29-Jun-14 6:51
mvePete O'Hanlon29-Jun-14 6:51 
GeneralRe: silverlight Pin
Jammer30-Jun-14 23:32
Jammer30-Jun-14 23:32 
GeneralRe: silverlight Pin
Pete O'Hanlon30-Jun-14 23:59
mvePete O'Hanlon30-Jun-14 23:59 
GeneralRe: silverlight Pin
thatraja30-Jun-14 23:52
professionalthatraja30-Jun-14 23:52 
GeneralRe: silverlight Pin
Pete O'Hanlon1-Jul-14 0:10
mvePete O'Hanlon1-Jul-14 0:10 
QuestionRepost from C# forum WPF app Pin
Wesley2026-Jun-14 23:26
Wesley2026-Jun-14 23:26 
Hey guys i need help with a program im working on.

<u>Problem:</u> i have no idea how to get it to work, im still new to developing apps

<u>What needs to be done:</u>

I have two WPF Windows, one is for entering information which will load the entered info into the second window.
And depending on what option selected in the combobox it must load a logo at the top of the second window and its related address below it.

Thanks Smile | :)


The Layout:

Mainwindow:

<Window x:Class="Other_Stuff.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Entry Form" Height="350" Width="525">
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="45"></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120"></ColumnDefinition>
<ColumnDefinition Width="7*"></ColumnDefinition>
<ColumnDefinition Width="36*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="Client"></Label>
<Label Grid.Column="0" Grid.Row="2" Content="Pharmacy" Margin="-5,5,5,5"></Label>

<Label Grid.Column="0" Grid.Row="3" Content="Script Number"/>
<Button x:Name="Submit" Grid.Column="0" Grid.Row="4" Content="Submit" Click="Button_Click"/>

<TextBox Name="client" Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="2"></TextBox>
<ComboBox Name="PharmacyComboBox" Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="2" Margin="0,0,0,10" >
<ComboBoxItem Content="Dischem" ></ComboBoxItem>
<ComboBoxItem Content="Clicks" MouseLeftButtonUp="ComboBoxItem_MouseLeftButtonUp"></ComboBoxItem>
</ComboBox>

<TextBox Name="Scriptnumber" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2" Height="55" VerticalAlignment="Top" Margin="5,0,0,0">

</TextBox>
<Label Content="Medicine" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,10,0,0" Grid.Row="1"/>
<ListBox Grid.Column="1" HorizontalAlignment="Left" Height="45" VerticalAlignment="Top" Width="397" Grid.ColumnSpan="2" Grid.Row="1" Name="medlist" Margin="0,5,0,0" Grid.RowSpan="2"/>

<!--<Button Content="Submit" Grid.Column="1" Grid.Row="5" Click="Button_Click" Grid.ColumnSpan="2"></Button>-->
</Grid>

</Window>

ScriptWindow:

Window x:Class="Other_Stuff.Script"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Script" Height="488.06" Width="437.313" Loaded="Window_Loaded">
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="45"></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>


</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120"></ColumnDefinition>
<ColumnDefinition Width="7*"></ColumnDefinition>
<ColumnDefinition Width="36*"/>
</Grid.ColumnDefinitions>
<Image Grid.Column="0" Grid.Row="0" Name="LogoImage" Grid.ColumnSpan="3" Margin="0,2,0,43" Grid.RowSpan="2"></Image>
<Label Grid.Row="1" Grid.RowSpan="2" Name="AdresslbLabel" Grid.ColumnSpan="3"/>
<Label Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="3" Name="ScripTextBox"></Label>
<DataGrid Grid.Column="0" Grid.Row="4" Grid.ColumnSpan="3"/>
<TextBox Grid.Column="0" Grid.Row="4" Grid.ColumnSpan="3" Name="RelatedTextBox"/>
<Image Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="3" Grid.RowSpan="2" Name="AdverTextBox"/>
<Button Content="Button" HorizontalAlignment="Left" Margin="10,10,0,0" Grid.Row="7" VerticalAlignment="Top" Width="100" Height="39" Click="Button_Click"/>
</Grid>
</Window>
AnswerRe: Repost from C# forum WPF app Pin
Mycroft Holmes29-Jun-14 4:55
professionalMycroft Holmes29-Jun-14 4:55 
QuestionWPF Combo Box SelectedValue = null issue Pin
Mhister Pamakwas25-Jun-14 11:54
Mhister Pamakwas25-Jun-14 11:54 
AnswerRe: WPF Combo Box SelectedValue = null issue Pin
Mycroft Holmes29-Jun-14 5:01
professionalMycroft Holmes29-Jun-14 5:01 
QuestionWPF RichTextBox Document Bind using Binding property Pin
moorthy00724-Jun-14 0:29
moorthy00724-Jun-14 0:29 
AnswerRe: WPF RichTextBox Document Bind using Binding property Pin
Richard Deeming24-Jun-14 0:43
mveRichard Deeming24-Jun-14 0:43 
QuestionDisplaying (Calling) 2 UserControl within a UserControl (WPF) Pin
LAPEC23-Jun-14 23:56
LAPEC23-Jun-14 23:56 
AnswerRe: Displaying (Calling) 2 UserControl within a UserControl (WPF) Pin
Matt T Heffron24-Jun-14 7:09
professionalMatt T Heffron24-Jun-14 7:09 
GeneralRe: Displaying (Calling) 2 UserControl within a UserControl (WPF) Pin
LAPEC24-Jun-14 7:32
LAPEC24-Jun-14 7:32 
QuestionAsync method using RenderTargetBitmap and BitmapEncoder Pin
FlurryKnox18-Jun-14 21:40
FlurryKnox18-Jun-14 21:40 
AnswerRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
Gerry Schmitz19-Jun-14 13:39
mveGerry Schmitz19-Jun-14 13:39 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
FlurryKnox20-Jun-14 6:34
FlurryKnox20-Jun-14 6:34 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
Gerry Schmitz20-Jun-14 10:21
mveGerry Schmitz20-Jun-14 10:21 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
Pete O'Hanlon20-Jun-14 10:48
mvePete O'Hanlon20-Jun-14 10:48 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
Gerry Schmitz20-Jun-14 11:10
mveGerry Schmitz20-Jun-14 11:10 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
Pete O'Hanlon20-Jun-14 11:16
mvePete O'Hanlon20-Jun-14 11:16 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
FlurryKnox21-Jun-14 19:35
FlurryKnox21-Jun-14 19:35 
GeneralRe: Async method using RenderTargetBitmap and BitmapEncoder Pin
Gerry Schmitz22-Jun-14 1:51
mveGerry Schmitz22-Jun-14 1:51 

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.