Example #1
0
        private void btnFree_Click(object sender, EventArgs e)
        {
            Result res = SetRentStatus(_salesno, _custno, _prodno, _prodtype, _itemno, 3, "");

            if (res != null && res.ResultNo != 0)
            {
                _core.AlertShow("Торгууль төлөх", res.ResultDesc, 2);
            }
            else
            {
                this.DialogResult = System.Windows.Forms.DialogResult.OK;
                this.Close();
            }
        }