You are required to create a WPF C# application using Visual Studio.
Problem Statement:
Layout:
Create a grid Layout with one Column and two rows
Functionality:
Pressing Start first Button will increment first two progress bars so that second progress bar is incremented faster and upon reaching 100 the first progress bar is incremented by 1.
So the second progress bar will be completed 100 times and first one only 1 time[2]. But the UI should remain responsive[3] in between this process.
Stop button will stop the process and enable the start button to start process again.
Start Second will do the same to third and fourth progress bars but both the process should work in parallel.
Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file.
Submission details Following Files Must be submitted in a single zip or rar file. · .C# code file · .XAML File (Front End file) · A .gif file which shows working of your Application(For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well) You are not required to submit the complete project, only copy these three files from project folder. Please note if you submit doc file you will be awarded 0 marks. |
If you do not submit any of the above mentioned file 25% marks per file will be deducted.
[1] To Make Progress vertical you can use Layout Transform.
[2] You can use nested loops to achieve this.
[3] UI remains responsive when task is being done asynchronously in separate threads.
Tags:
I have Assignment complete working as require on paymet RS:1000
yr plz muje b btao kesay ki ha ?guide kar doplz Allah ap ka bhala karay ga
send me your contact no
sharjil.ccnp@gmail.com
rana bhai kindly mujhe solution bhaj dain assignment ka aj last day and blkul samaj nahi aaraha email id is saifsunny0@gmail.com
abbasaun377@gmail.com
koi vedio hi bana lo kisi ka bhala ho jay ga
Email, cell no, facebook personal links, links sharing for promotion any kind of site & youtube direct link sharing is not allowed at the site.
Although If you want to share the youtube video, then paste the embed codes here of the youtube video. Otherwise your comment / reply will be deleted. As well as your account will be deleted from the site. Thanks for understanding.
Sami ULLAH next time be care.. thanks
or yi xaml file hay>>>
<Window x:Class="WpfApp2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfApp2"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Grid.ColumnDefinitions >
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions >
<RowDefinition Height="203*" />
<RowDefinition Height="216*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions >
<RowDefinition Height="1*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<Button Content="Start First" Name="Button1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="396" Height="102" Click="Button1_Click"/>
<Button Content="Start Second" Name="Button3" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="396" Height="102" Click="Button3_Click"/>
<Button Content="Stop First" Name="Button2" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Top" Width="396" Height="102" Click="Button2_Click" />
<Button Content="Stop Second" Name="Button4" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Top" Width="396" Height="102" Click="Button4_Click"/>
</Grid>
<ProgressBar HorizontalAlignment="Left" Name="ProgressBar1" Height="10" Margin="145,0,0,98" Grid.Row="1" VerticalAlignment="Bottom" Width="127" RenderTransformOrigin="0.5,0.5">
<ProgressBar.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-90"/>
<TranslateTransform/>
</TransformGroup>
</ProgressBar.RenderTransform>
</ProgressBar>
<ProgressBar HorizontalAlignment="Left" Name="ProgressBar2" Height="10" Margin="58,110,0,0" Grid.Row="1" VerticalAlignment="Top" Width="127" RenderTransformOrigin="0.5,0.5">
<ProgressBar.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-90"/>
<TranslateTransform/>
</TransformGroup>
</ProgressBar.RenderTransform>
</ProgressBar>
<ProgressBar HorizontalAlignment="Left" x:Name="ProgressBar4" Height="10" Margin="462,0,0,93" Grid.Row="1" VerticalAlignment="Bottom" Width="127" RenderTransformOrigin="0.5,0.5">
<ProgressBar.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-90"/>
<TranslateTransform/>
</TransformGroup>
</ProgressBar.RenderTransform>
</ProgressBar>
<ProgressBar HorizontalAlignment="Left" x:Name="ProgressBar3" Height="10" Margin="616,0,0,93" Grid.Row="1" VerticalAlignment="Bottom" Width="127" RenderTransformOrigin="0.5,0.5">
<ProgressBar.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-90"/>
<TranslateTransform/>
</TransformGroup>
</ProgressBar.RenderTransform>
</ProgressBar>
</Grid>
</Window>
need complete solution please make video
Thread t = null; Thread t1 = null;
ye kis ki property hain .. t and t1 py error a rha hai .. ye kis se relate hai ??
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.
We are user-generated contents & non-commercial site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & non-commercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post