Exemple #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();
            }
        }
Exemple #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();
            }
        }