|
<?xml version="1.0" encoding="utf-8"?>
<!-- (c) 2004 Marc Clifton All Rights Reserved -->
<wf:MyXaml
xmlns:wf="System.Windows.Forms"
xmlns:def="Definitions">
<wf:Panel Name="Calc" Location="10, 10" Size="600, 400">
<Controls>
<wf:TextBox def:Name="display" Location="0, 0" Size="155, 20" BackColor="Black" ForeColor="Yellow" Text="0.00"/>
<wf:Button Text="C" Location="0, 20" Size="60, 25" Click="OnClear" FlatStyle="System"/>
<wf:Button Text="CE" Location="60, 20" Size="30, 25" Click="OnClearEntry" FlatStyle="System"/>
<wf:Button Text="=" Location="95, 20" Size="60, 25" Click="OnEqual" FlatStyle="System"/>
<wf:Button Text="7" Location="0, 50" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="8" Location="30, 50" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="9" Location="60, 50" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="4" Location="0, 80" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="5" Location="30, 80" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="6" Location="60, 80" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="1" Location="0, 110" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="2" Location="30, 110" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="3" Location="60, 110" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="0" Location="0, 140" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="." Location="60, 140" Size="30, 28" Click="OnDigit" FlatStyle="System"/>
<wf:Button Text="+" Location="95, 50" Size="60, 28" Click="OnAdd" FlatStyle="System"/>
<wf:Button Text="-" Location="95, 80" Size="60, 28" Click="OnSubtract" FlatStyle="System"/>
<wf:Button Text="*" Location="95, 110" Size="60, 28" Click="OnMultiply" FlatStyle="System"/>
<wf:Button Text="/" Location="95, 140" Size="60, 28" Click="OnDivide" FlatStyle="System"/>
</Controls>
</wf:Panel>
</wf:MyXaml>
|
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.
My main goal as a developer is to improve the way software is designed, and how it interacts with the user. I like designing software best, but I also like coding and documentation. I especially like to work with user interfaces and graphics.
I have extensive knowledge of the .NET Framework, and like to delve into its internals. I specialize in working with VG.net and MyXaml. I also like to work with ASP.NET, AJAX, and DHTML.