Example #1
0
        private void toolbtnReturn_Click(object sender, EventArgs e)
        {
            frmReturn fr = new frmReturn();

            fr.txtbooker.Text = this._user;
            fr.ShowDialog();
        }
Example #2
0
        private void Menu_Eq_Return_Click(object sender, EventArgs e)
        {
            frmReturn frmreturn = new frmReturn();

            frmreturn.txtbooker.Text = this._user;
            frmreturn.ShowDialog();
        }
Example #3
0
        /// <summary>
        /// 归还资产
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ToolMenuItem_Return_Click(object sender, EventArgs e)
        {
            frmReturn fr = new frmReturn();

            fr.txtbooker.Text   = this._user;
            fr.txtborrower.Text = this.dbgBorrow.SelectedRows[0].Cells[5].Value.ToString();
            fr.txtEqNo.Text     = this.dbgBorrow.SelectedRows[0].Cells[1].Value.ToString();//5^1^a^s^p^x
            fr.ShowDialog();
        }