Skip to content
VUBuddy

CS411 Solution 3 by Junaid

Visual Programming PDF 536 KBUpdated 23 Oct 2026
Quiz CS411 Solution 3 by Junaid PDF 536 KB
vubuddy.com
Type
Quiz
Course
CS411 Visual Programming
Size
PDF 536 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 536 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 11. Download the file for all 11 pages.

MAIN WINDOS XAML:

CODE:

< Window x:Class=" Phar_crud_app. MainWindow"

Title=" Splash Screen" Height="500" Width="800" WindowStartupLocation=" CenterScreen" ResizeMode=" NoResize">

< Border BorderThickness="1" CornerRadius="0,700,700,0" BorderBrush=" Black" Background=" Black" Margin="0,0,460,0"/> < Label Content=" Pharmacy management System " Foreground=" White" HorizontalAlignment = " Left" VerticalAlignment=" Top" FontSize="20" Margin="10,277,0,0" Height="60" Width="452"/> < Label Content=" Welcome to" Foreground=" White" HorizontalAlignment = " Left"

< Label Content=" Powerd By: Virtual University of Pakistan" Background="#F05542" Foreground=" White" HorizontalAlignment = " Left" Margin="315,467,0,0" VerticalAlignment=" Top" Width="400" FontSize="20" Height="45"/>

< ProgressBar Name="prog_bar" HorizontalAlignment=" Left" Height="14" Margin="365,342,0,0" VerticalAlignment=" Top" Width="350"/> </Grid>

</Window>

MAIN WINDOS CS:

using System. Windows. Navigation;

/// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window

public MainWindow()

this.progress_Bar(); this. CloseSplashScreen();

private async void progress_Bar()

await Start_progress_Bar();

private async Task Start_progress_Bar()

for (int i = 10; i < 100; i++)

prog_bar. Value = i;

private async void CloseSplashScreen() await SplashScreen();

private async Task SplashScreen()

Logindwindow(); this. Close();

private void Logindwindow()

Login login = new Login(); login. Show();

LOGIN XAML:

< Window x:Class=" Phar_crud_app. Login"

Title=" Login" Height="600" Width="500" WindowStartupLocation=" CenterScreen" ResizeMode=" NoResize">

< Grid. RowDefinitions> < RowDefinition Height="271*"/> < RowDefinition Height="448*"/> </Grid. RowDefinitions>

< Border BorderThickness = "1" CornerRadius = "0,200,0,200" BorderBrush=" Black" Background=" Black" Margin="10,100,0,0" Grid. RowSpan="2"> < Label Content=" Labelfsf"/> </Border>

< Image Margin="127,108,163,10" Source="/vu.jpg" Stretch=" Fill"/>

All CS411 files →
CS411 Visual Programming All CS411 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.