Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void toolStripMenuItemFeeDetails_Click(object sender, EventArgs e)
        {
            ZY.Frm_FeeDetails frm = new Windows.ZY.Frm_FeeDetails(this._userID);

            frm.ShowDialog();

            frm = null;
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnFeeDetails_Click(object sender, EventArgs e)
        {
            int selectedRowIndex = this.c1FlexGridInfo.RowSel;

            if (selectedRowIndex > 0 && this.c1FlexGridInfo.Cols.Contains("serial_no"))
            {
                this._serial_no = this.c1FlexGridInfo.Rows[selectedRowIndex]["serial_no"].ToString().Trim();
                this.Indi_id    = this.c1FlexGridInfo.Rows[selectedRowIndex]["indi_id"].ToString().Trim();

                ZY.Frm_FeeDetails frm = new Windows.ZY.Frm_FeeDetails(this._userID, this.Indi_id, this._serial_no);

                frm.ShowDialog();

                frm = null;

                this.btnQuery.PerformClick();
            }
            else
            {
                CommonFunctions.MsgError("没有任何选中的记录,请选择一条记录之后重试!!!");
            }
        }