Nama:Tommy Diri Veto Aginta NIM:8020170268 KELAS:06PT4

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

NAMA :TOMMY DIRI VETO AGINTA

NIM :8020170268
KELAS:06PT4
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 WindowsFormsApp1
{
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 textBox1_TextChanged(object sender, EventArgs e)


{

private void label2_Click(object sender, EventArgs e)


{

private void radioButton1_CheckedChanged(object sender, EventArgs e)


{

private void label3_Click(object sender, EventArgs e)


{

private void algoritma_SelectedIndexChanged(object sender, EventArgs e)


{

private void label5_Click(object sender, EventArgs e)


{

private void label6_Click(object sender, EventArgs e)


{

private void label10_Click(object sender, EventArgs e)


{

private void label12_Click(object sender, EventArgs e)


{

private void button1_Click(object sender, EventArgs e)


{
label13.Text = (int.Parse(textBox2.Text) * 0.3 + int.Parse(textBox3.Text)
* 0.3 + int.Parse(textBox4.Text) * 0.3 + int.Parse(textBox5.Text) * 0.1).ToString();
}

private void button2_Click(object sender, EventArgs e)


{
textBox1.Clear();
textBox2.Clear();
textBox3.Clear();
textBox4.Clear();
textBox5.Clear();

radioButton1.Checked = false;
radioButton2.Checked = false;

comboBox1.SelectedIndex = -1;
listBox1.SelectedIndex = -1;

label13.Text = "0";

textBox1.Focus();
}

private void button3_Click(object sender, EventArgs e)


{
Close();
}
}
}

You might also like