Posts

Showing posts from April, 2021
Image
tugas 4  1. buka visual studio lalu pilih create project with WPF C# 2.  < Window x : Class = "halamanlogin.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:halamanlogin"         xmlns : iconPacks = "http://metro.mahapps.com/winfx/xaml/iconpacks"         mc : Ignorable = "d"         Title = "MainWindow"  Height = "450"  Width = "380"         AllowsTransparency = "True"  Background = "Transparent"         WindowStyle = "None"  ResizeMode = "NoResize" >      < Grid >          < Grid >              < Grid . RowDefinitions >
Image
 tugas 3 1.  2.  using   System ; using   System.Collections.Generic ; using   System.ComponentModel ; using   System.Data ; using   System.Drawing ; using   System.Linq ; using   System.Text ; using   System.Threading.Tasks ; using   System.Windows.Forms ;   namespace  WinFormsApp1 {      public   partial   class  Form1  :  Form      {          public  Form1 ( )          {             InitializeComponent ( ) ;          }            private   void  label1_Click ( object  sender, EventArgs e )          {            }            private   void  label1_Click_1 ( object  sender, EventArgs e )          {            }            private   void  radioButton2_CheckedChanged ( object  sender, EventArgs e )          {             label3 . Text   =   "IDR" ;             label4 . Text   =   "SAR" ;             label5 . Text   =   "0" ;          }            private   void  radioButton1_CheckedChanged ( object  sender, EventArgs e )          {             label3 . Text