예제 #1
0
        private void btnPairDetail_Click(object sender, EventArgs e)
        {
            frmCommitPair frm = new frmCommitPair();

            frm.idInvoiceItem = idInvoiceItemAkt;
            frm.idProduct     = (int)gvPair["idProduct", gvPair.CurrentCell.RowIndex].Value;
            frm.idPairType    = (int)gvPair["idPairType", gvPair.CurrentCell.RowIndex].Value;
            if (System.Windows.Forms.DialogResult.Yes == frm.ShowDialog(this))
            {
                RefreshOneRowInvoicePair();
            }
        }
예제 #2
0
        private void btnPorovnej_Click(object sender, EventArgs e)
        {
            frmCommitPair frm = new frmCommitPair();

            frm.idInvoiceItem = idInvoiceItemAkt;
            frm.idProduct     = idProductAkt;
            frm.idPairType    = ((int)cmbPairType.SelectedValue);
            if (System.Windows.Forms.DialogResult.Yes == frm.ShowDialog(this))
            {
                RefreshOneRowInvoicePair();
            }
        }