示例#1
0
        private void NV_ThuTienToolStripMenuItem_Click(object sender, EventArgs e)
        {
            String      idKhachHang = "";
            FrmTraTruoc frmTraTruoc = new FrmTraTruoc(idKhachHang);

            frmTraTruoc.ShowDialog(this);
        }
示例#2
0
        private void panelThuTien_MouseClick(object sender, MouseEventArgs e)
        {
            String      idKhachHang = "";
            FrmTraTruoc frmTraTruoc = new FrmTraTruoc(idKhachHang);

            frmTraTruoc.ShowDialog(this);
        }
示例#3
0
        private void linkThuTien_Click(object sender, EventArgs e)
        {
            String      idKhachHang = "";
            FrmTraTruoc frmTraTruoc = new FrmTraTruoc(idKhachHang);

            frmTraTruoc.ShowDialog(this);
        }
示例#4
0
/**
 *      private void MenuItemCongno_Click(object sender, EventArgs e)
 *      {
 *          try
 *          {
 *              int rowSelected = listKhachHang.SelectedRows[0].Index;
 *              String selectedId = listKhachHang.Rows[rowSelected].Cells["ID"].Value.ToString();
 *              using (var folderDialog = new FolderBrowserDialog())
 *              {
 *                  if (folderDialog.ShowDialog() == DialogResult.OK)
 *                  {
 *                      AppUtils.exportDept(selectedId, folderDialog.SelectedPath, "", "");
 *                      MessageBox.Show("Đã hoàn thành export công nợ");
 *                  }
 *              }
 *          } catch (Exception ex)
 *          {
 *              MessageBox.Show("ERROR: " + ex.Message);
 *          }
 *      }
 **/
        private void MenuItemTraTruoc_Click(object sender, EventArgs e)
        {
            try
            {
                int    rowSelected = listKhachHang.SelectedRows[0].Index;
                String selectedId  = listKhachHang.Rows[rowSelected].Cells["ID"].Value.ToString();

                FrmTraTruoc frm = new FrmTraTruoc(selectedId);
                frm.ShowDialog(this);

                btnSearch.PerformClick();
            }
            catch (Exception ex)
            {
                MessageBox.Show("ERROR: " + ex.Message);
            }
        }