Esempio n. 1
0
        private void radButton1_Click(object sender, EventArgs e)
        {
            string act;

            if (lblReferensiSurat.Text == "{surat tidak memiliki referensi}")
            {
                act = "new";
            }
            else
            {
                act = "ubah";
            }
            Surat.FrmInputReferensiSurat frmReferensi = new Surat.FrmInputReferensiSurat(this, act, lblNomorAgenda.Text);
            frmReferensi.ShowInTaskbar = false;
            frmReferensi.ShowDialog();
        }
Esempio n. 2
0
 private void radButton1_Click(object sender, EventArgs e)
 {   
     string act;
     if (lblReferensiSurat.Text == "{surat tidak memiliki referensi}")
         act = "new";
     else
         act = "ubah";
     Surat.FrmInputReferensiSurat frmReferensi = new Surat.FrmInputReferensiSurat(this, act, lblNomorAgenda.Text);
     frmReferensi.ShowInTaskbar = false;
     frmReferensi.ShowDialog();
 }