Professional Documents
Culture Documents
NPM : 19183207002
KELAS : PTI-4A
MATA KULIAH : PEMOGRAMAN LANJUT
Source Code
/*
* Created by SharpDevelop.
* User: Bagus
* Date: 14/03/2021
* Time: 7:25
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace Latihan_1_EKA_FAHMI_DINATA
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void TampilButtonClick(object sender, EventArgs e)
{
string kata1="Saya";
textBox1.Text=kata1;
string kata2="Kuliah";
textBox2.Text=kata2;
string kata3="Di";
textBox3.Text=kata3;
string kata4="STKIP PGRI TULUNGAGUNG";
textBox4.Text=kata4;
}
}
}
Output