示例#1
0
        private void B_fjlx_Click(object sender, EventArgs e)
        {
            common_file.common_app.get_czsj();
            Ffjzt.Ffjrb_select Ffjrb_select_new = new Hotel_app.Ffjzt.Ffjrb_select();
            Ffjrb_select_new.Left = this.Left + tB_fjrb.Left;
            Ffjrb_select_new.Top  = this.Top + tB_fjrb.Top;
            if (Ffjrb_select_new.ShowDialog() == DialogResult.OK)
            {
                tB_fjrb.Text = Ffjrb_select_new.get_fjrb;
                tB_fjbh.Text = "";

                get_gj(Ffjrb_select_new.get_fjrb);
            }
            Ffjrb_select_new.Dispose();
            tB_fjrb.Focus();
            Cursor.Current = Cursors.Default;
        }
示例#2
0
        private void b_dfxm_Click(object sender, EventArgs e)
        {
            common_file.common_app.get_czsj();
            Ffjzt.Ffjrb_select Ffjrb_select_new = new Hotel_app.Ffjzt.Ffjrb_select();
            Ffjrb_select_new.Left = common_file.common_app.x();
            Ffjrb_select_new.Top  = common_file.common_app.y();
            if (Ffjrb_select_new.ShowDialog() == DialogResult.OK)
            {
                tB_fjrb.Text = Ffjrb_select_new.get_fjrb;
                fjrb_code    = Ffjrb_select_new.get_fjrb_code;
                tB_hyfj.Text = common_file.common_get_fjjg.get_fjjg(Ffjrb_select_new.get_fjrb, "", "", DateTime.Now, DateTime.Now, "", "");

                //tB_fjjg.Text = Ffjrb_select_new.get_sjjg;
            }
            Ffjrb_select_new.Dispose();
            tB_fjrb.Focus();
            Cursor.Current = Cursors.Default;
        }