Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            BRWupdate borrowupd = new BRWupdate();

            borrowupd.main = this;
            borrowupd.Show();
        }
Exemple #2
0
        private void button3_Click_1(object sender, EventArgs e)
        {
            BRWupdate update = new BRWupdate();

            update.main               = this;
            update.Adminid            = this.Adminid;
            update.Getfname           = this.Getfname;
            update.Getlname           = this.Getlname;
            update.brequestid         = this.brequestid;
            update.studentid          = this.studentid;
            update.itemname           = this.itemname;
            update.quantity           = this.qty;
            update.measuretype        = this.measuretype;
            update.sfname             = this.sfname;
            update.slname             = this.slname;
            update.yearcourse         = this.yearcourse;
            update.status             = this.status;
            update.borrowdate         = this.borrowdate;
            update.expectedreturndate = expectedreturn[0];
            update.expectedreturntime = expectedreturn[1];
            update.Show();
        }