コード例 #1
0
        /// <summary>
        /// 添加房间类型
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttjfj_Click(object sender, EventArgs e)
        {
            FrmXtFjTj f = new FrmXtFjTj();

            f.ShowDialog();
            FrmXtSz_Load(null, null);
        }
コード例 #2
0
        /// <summary>
        /// 修改类型
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void butxgfj_Click(object sender, EventArgs e)
        {
            string    yhbh = this.dgvlx.CurrentRow.Cells[0].Value.ToString(); //获取类型
            FrmXtFjTj f    = new FrmXtFjTj();

            f.num = yhbh;
            f.ShowDialog();
            FrmXtSz_Load(null, null);
        }