Ejemplo n.º 1
0
 void lnkNoteCode_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (this.SaleDeliverNoteID > -1)
     {
         if (frmSaleDeliverNote == null)
         {
             frmSaleDeliverNote = new JERPApp.Store.Product.Report.Bill.FrmSaleDeliverNote();
             new FrmStyle(frmSaleDeliverNote).SetPopFrmStyle(this);
         }
         frmSaleDeliverNote.DetailNote(this.SaleDeliverNoteID);
         frmSaleDeliverNote.ShowDialog();
     }
 }
Ejemplo n.º 2
0
        void dgrdv_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            int irow = e.RowIndex;
            int icol = e.ColumnIndex;

            if ((irow == -1) || (icol == -1))
            {
                return;
            }
            if (this.dgrdv.Columns[icol].Name == this.ColumnNoteCode.Name)
            {
                long NoteID = (long)this.dtblNotes.DefaultView[irow]["NoteID"];
                if (frmDetail == null)
                {
                    frmDetail = new JERPApp.Store.Product.Report.Bill.FrmSaleDeliverNote();
                    new FrmStyle(frmDetail).SetPopFrmStyle(this);
                }
                frmDetail.DetailNote(NoteID);
                frmDetail.ShowDialog();
            }
        }