Click here to Skip to main content
15,868,016 members
Home / Discussions / C#
   

C#

 
AnswerRe: Out Putting Graph in Debug Window Pin
Gerry Schmitz27-Jun-14 9:59
mveGerry Schmitz27-Jun-14 9:59 
QuestionFilter & Auto complete for dropdownlistfor (MVC) Pin
Cathylou Barbado27-Jun-14 0:06
Cathylou Barbado27-Jun-14 0:06 
AnswerRe: Filter & Auto complete for dropdownlistfor (MVC) Pin
thatraja27-Jun-14 1:12
professionalthatraja27-Jun-14 1:12 
QuestionLINQ version equivalent Pin
Member 727859826-Jun-14 23:13
Member 727859826-Jun-14 23:13 
AnswerRe: LINQ version equivalent Pin
Pete O'Hanlon27-Jun-14 4:00
subeditorPete O'Hanlon27-Jun-14 4:00 
GeneralRe: LINQ version equivalent Pin
Member 727859828-Jun-14 1:16
Member 727859828-Jun-14 1:16 
GeneralRe: LINQ version equivalent Pin
Pete O'Hanlon28-Jun-14 2:51
subeditorPete O'Hanlon28-Jun-14 2:51 
QuestionWPF Project Pin
Wesley2026-Jun-14 22:34
Wesley2026-Jun-14 22:34 
Hey guys i need help with a program im working on.

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: WPF Project Pin
OriginalGriff26-Jun-14 23:04
mveOriginalGriff26-Jun-14 23:04 
AnswerRe: WPF Project Pin
Wayne Gaylard26-Jun-14 23:05
professionalWayne Gaylard26-Jun-14 23:05 
AnswerRe: WPF Project Pin
Wesley2026-Jun-14 23:17
Wesley2026-Jun-14 23:17 
GeneralRe: WPF Project Pin
thatraja26-Jun-14 23:44
professionalthatraja26-Jun-14 23:44 
GeneralRe: WPF Project Pin
Member 1072960427-Jun-14 0:15
Member 1072960427-Jun-14 0:15 
QuestionXML Parsing in Windows Phone 8 Pin
Junaid Javed26-Jun-14 21:08
Junaid Javed26-Jun-14 21:08 
AnswerRe: XML Parsing in Windows Phone 8 Pin
OriginalGriff26-Jun-14 22:11
mveOriginalGriff26-Jun-14 22:11 
GeneralRe: XML Parsing in Windows Phone 8 Pin
Junaid Javed26-Jun-14 23:42
Junaid Javed26-Jun-14 23:42 
Questionadd a streamer to windows kernel Pin
Member 1090881226-Jun-14 13:52
Member 1090881226-Jun-14 13:52 
GeneralRe: add a streamer to windows kernel Pin
Richard MacCutchan26-Jun-14 19:37
mveRichard MacCutchan26-Jun-14 19:37 
QuestionMEF Windows7 Service Pin
Member 1027274826-Jun-14 9:54
Member 1027274826-Jun-14 9:54 
AnswerRe: MEF Windows7 Service Pin
jschell26-Jun-14 10:28
jschell26-Jun-14 10:28 
QuestionEditing Local Machine Policies In a Windows Form Application Pin
Member 1024124126-Jun-14 4:54
Member 1024124126-Jun-14 4:54 
AnswerRe: Editing Local Machine Policies In a Windows Form Application Pin
Eddy Vluggen26-Jun-14 9:30
professionalEddy Vluggen26-Jun-14 9:30 
AnswerRe: Editing Local Machine Policies In a Windows Form Application Pin
Bernhard Hiller26-Jun-14 23:52
Bernhard Hiller26-Jun-14 23:52 
QuestionDetermine Incoming Calls Pin
Jassim Rahma26-Jun-14 2:07
Jassim Rahma26-Jun-14 2:07 
AnswerRe: Determine Incoming Calls Pin
Dave Kreskowiak26-Jun-14 2:11
mveDave Kreskowiak26-Jun-14 2:11 

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.