private void wIUPToolStripMenuItem_Click(object sender, EventArgs e) { FormWiup fw = new FormWiup(this); fw.Idizin = this.selectedId.ToString(); fw.btnSimpan.Text = "Edit"; fw.ShowDialog(); }
private void btnTambah_Click(object sender, EventArgs e) { FormWiup fw = new FormWiup(this); fw.btnSimpan.Text = "Simpan"; fw.cbPerusahaan.Text = "Pilih"; fw.cbbLokasi.Text = "Pilih"; fw.txtLuas.Text = ""; fw.tglPicker.Value = DateTime.Today; fw.bdKomoditi.Text = "Pilih"; fw.NoIzinTextBox.Text = ""; fw.cbPerusahaan.Focus(); fw.ShowDialog(); }