コード例 #1
0
 private void buttonTambahSuratMasuk_Click(object sender, EventArgs e)
 {
     if (cekValid())
     {
         return;
     }
     else
     {
         //MessageBox.Show(tgl_surat);
         tambahSuratMasuk();
         if (FormSuratMasukLampiran.list_lampiran.Count != 0)
         {
             tambahLampiran();
         }
         if (FormSuratMasukTembusan.list_tembusan.Count != 0)
         {
             tambahTembusan();
         }
         if (list_bagian.Count != 0)
         {
             tambahBagianBidang();
         }
     }
     clear();
     frm1.getAllSuratMasuk();
 }
コード例 #2
0
 private void buttonEditSuratMasuk_Click(object sender, EventArgs e)
 {
     if (cekValid())
     {
         return;
     }
     else
     {
         editSuratMasuk();
     }
     frm1.getAllSuratMasuk();
 }