示例#1
0
        private void btnPaid_Click(object sender, EventArgs e)
        {
            sellNo = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellno"]).ToString();
            price  = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellPrice"]).ToString();
            if (sellNo != "")
            {
                //sellNo = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellno"]).ToString();
                //price = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellPrice"]).ToString();
                FmPaidCredit dialog = new FmPaidCredit();

                var result = dialog.ShowDialog(this);
                if (result != DialogResult.OK)
                {
                }

                LoadData();
            }
        }
示例#2
0
        private void btnPaid_Click(object sender, EventArgs e)
        {
            sellNo = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellno"]).ToString();
            price = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellPrice"]).ToString();
            if (sellNo != "")
            {
                //sellNo = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellno"]).ToString();
                //price = creditGridview.GetRowCellDisplayText(creditGridview.FocusedRowHandle, creditGridview.Columns["sellPrice"]).ToString();
                FmPaidCredit dialog = new FmPaidCredit();

                var result = dialog.ShowDialog(this);
                if (result != DialogResult.OK)
                {

                }

                LoadData();
            }
        }