Esempio n. 1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            Choose c = new Choose();

            c.Visible    = true;
            this.Visible = false;
        }
Esempio n. 2
0
        private void 回到首頁HToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Choose c = new Choose();

            c.Visible    = true;
            this.Visible = false;
        }
Esempio n. 3
0
        private void name()
        {
            Choose c = new Choose();

            c.StrName    = txtId.Text;
            c.Visible    = true;
            this.Visible = false;
        }
Esempio n. 4
0
        private void btnOk_Click(object sender, EventArgs e)
        {
            String today = DateTime.Now.ToString("yyyy/MM/dd");
            String due   = DateTime.Now.AddDays(Convert.ToDouble(cbxDay.SelectedItem)).ToString("yyyy/MM/dd");

            MessageBox.Show("租借成功!!!!" + "\n" + "租借日期:" + today + "\n" + "歸還日期:" + due, "訊息");
            Choose c = new Choose();

            c.StrDrama = strDrama;
            c.StrDate  = Convert.ToString(due);
            this.Close();
        }