private void Btn_Default_Click(object sender, EventArgs e) { using (SETTING ting = new SETTING() { }) { if (ting.ShowDialog() == DialogResult.None) { textBox1.Text = "30"; textBox2.Text = "60"; } } }
private void button6_Click(object sender, EventArgs e) { using (SETTING set = new SETTING() { }) { if (set.ShowDialog() == DialogResult.OK) { label8.Text = set.getKlass().getAngka(); label9.Text = set.getKlass().getAnngka(); set.Open(); //sett.Show(); ulang(); set.Close(); } } }