示例#1
0
        private void 注销ZToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAdmin fd = new frmAdmin();

            fd.ShowDialog();

            this.btnPu.Text    = "普通区" + "\n" + DBHelper.SelectPrice(Convert.ToInt32(this.btnPu.Tag)) + "元/小时";
            this.btnGame.Text  = "游戏专区" + "\n" + DBHelper.SelectPrice(Convert.ToInt32(this.btnGame.Tag)) + "元/小时";
            this.btnMV.Text    = "视频专区" + "\n" + DBHelper.SelectPrice(Convert.ToInt32(this.btnMV.Tag)) + "元/小时";
            this.btnLove.Text  = "情侣包厢" + "\n" + DBHelper.SelectPrice(Convert.ToInt32(this.btnLove.Tag)) + "元/小时";
            this.btnHide.Text  = "妹子陪玩区" + "\n" + DBHelper.SelectPrice(Convert.ToInt32(this.btnHide.Tag)) + "元/小时";
            this.btnSmoke.Text = "吸烟区" + "\n" + DBHelper.SelectPrice(Convert.ToInt32(this.btnSmoke.Tag)) + "元/小时";
        }
示例#2
0
        private void 管理员查询SToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAdmin fd = new frmAdmin();

            fd.ShowDialog();
        }