|
<views:BaseView x:Class="Views.CustomerEditView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:views="clr-namespace:Views"
mc:Ignorable="d"
d:DesignHeight="280"
d:DesignWidth="346"
d:DataContext="{d:DesignInstance Type=views:DesignTimeCustomerEditViewModel, IsDesignTimeCreatable=true}">
<StackPanel Margin="10">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Name"
Grid.Column="0"
Margin="8" />
<TextBox Text="{Binding ViewData.Name}"
Grid.Column="1"
Margin="2" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Address"
Grid.Column="0"
Grid.Row="0"
Margin="8" />
<TextBox Text="{Binding ViewData.Address}"
Grid.Column="1"
Grid.Row="0"
Margin="2" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Suburb"
Grid.Column="0"
Grid.Row="0"
Margin="8" />
<TextBox Text="{Binding ViewData.Suburb}"
Grid.Column="1"
Grid.Row="0"
Margin="2" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="State"
Grid.Column="0"
Grid.Row="0"
Margin="8" />
<TextBox Text="{Binding ViewData.State}"
Grid.Column="1"
Grid.Row="0"
Margin="2" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="PostCode"
Grid.Column="0"
Grid.Row="0"
Margin="8" />
<TextBox Text="{Binding ViewData.PostCode}"
Grid.Column="1"
Grid.Row="0"
Margin="2" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Phone"
Grid.Column="0"
Grid.Row="0"
Margin="8" />
<TextBox Text="{Binding ViewData.Phone}"
Grid.Column="1"
Grid.Row="0"
Margin="2" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*" />
<ColumnDefinition Width="200*" />
</Grid.ColumnDefinitions>
<TextBlock Text="eMail"
Grid.Column="0"
Grid.Row="0"
Margin="8" />
<TextBox Text="{Binding ViewData.Email}"
Grid.Column="1"
Grid.Row="0"
Margin="2" />
</Grid>
<StackPanel Orientation="Horizontal"
FlowDirection="RightToLeft"
Height="35">
<Button Content="Save"
Command="{Binding Path=SaveCommand, Mode=OneTime}"
Height="23"
Width="75"
Margin="5,5,25,2" />
<Button Content="Cancel"
Command="{Binding Path=CancelledCommand, Mode=OneTime}"
Height="23"
Width="75"
Margin="5,5,25,2" />
</StackPanel>
</StackPanel>
</views:BaseView>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Software developer par excellence,sometime artist, teacher, musician, husband, father and half-life 2 player (in no particular order either of preference or ability)
Started programming aged about 16 on a Commodore Pet.
Self-taught 6500 assembler - wrote Missile Command on the Pet (impressive, if I say so myself, on a text-only screen!)
Progressed to BBC Micro - wrote a number of prize-winning programs - including the best graphics application in one line of basic (it drew 6 multicoloured spheres viewed in perspective)
Trained with the MET Police as a COBOL programmer
Wrote platform game PooperPig which was top of the Ceefax Charts for a while in the UK
Did a number of software dev roles in COBOL
Progressed to Atari ST - learned 68000 assembler & write masked sprite engine.
Worked at Atari ST User magazine as Technical Editor - and was editor of Atari ST World for a while.
Moved on to IBM Mid range for work - working as team leader then project manager
Emigrated to Aus.
Learned RPG programming on the job (by having frequent coffee breaks with the wife!!)
Moved around a few RPG sites
Wrote for PC User magazine - was Shareware Magazine editor for a while.
Organised the first large-scale usage of the Internet in Australia through PC User magazine.
Moved from RPG to Delphi 1
Developed large applications in Delphi before moving on to VB .Net and C#
Became I.T. Manager - realised how boring paper pushing can be
And now I pretty much do .Net development in the daytime, while redeveloping PooperPig for the mobile market at night.