|
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Polynomial Equation Solver" Height="436" Width="559" Background="WhiteSmoke" >
<StackPanel>
<TextBlock Margin="10" TextAlignment="Center" >The coefficients below are on the form Ax^4 + Bx^3 + Cx^2 + Dx + E = 0</TextBlock>
<WrapPanel>
<TextBlock Width="100" TextAlignment="Right" >a=</TextBlock>
<TextBox Name="txtA" Width="100"></TextBox>
</WrapPanel>
<WrapPanel>
<TextBlock Width="100" TextAlignment="Right" >b=</TextBlock>
<TextBox Width="100" Name="txtB"></TextBox>
</WrapPanel>
<WrapPanel>
<TextBlock Width="100" TextAlignment="Right" >c=</TextBlock>
<TextBox Width="100" Name="txtC"></TextBox>
</WrapPanel>
<WrapPanel>
<TextBlock Width="100" TextAlignment="Right" >d=</TextBlock>
<TextBox Width="100" Name="txtD"></TextBox>
</WrapPanel>
<WrapPanel>
<TextBlock Width="100" TextAlignment="Right" >e=</TextBlock>
<TextBox Width="100" Name="txtE"></TextBox>
</WrapPanel>
<Button Name="btnClear" Margin="5">Clear</Button>
<WrapPanel Margin="10">
<TextBlock>Description of the polynomial:</TextBlock>
<TextBox Name="txtDescription" TextWrapping="Wrap" Width="357" Height="60"></TextBox>
</WrapPanel>
<Button Margin="5,10,5,5" Name="Button1">Calculate</Button>
<TextBox Name="txtResult" Margin="5" Height="148"></TextBox>
</StackPanel>
</Window>
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.