Пример #1
0
 private void display_new_commonform_2(string judge_type_0, TextBox TB_ls)
 {
     common_file.common_app.get_czsj();
     Xxtsz.X_common_one X_common_one_new = new Hotel_app.Xxtsz.X_common_one(tB_xfdr.Text);
     X_common_one_new.judge_type = judge_type_0;
     X_common_one_new.Left       = common_file.common_app.x();
     X_common_one_new.Top        = common_file.common_app.y();
     if (X_common_one_new.ShowDialog() == DialogResult.OK)
     {
         TB_ls.Text = X_common_one_new.get_value;
     }
     X_common_one_new.Dispose();
     TB_ls.Focus();
     Cursor.Current = Cursors.Default;
 }
Пример #2
0
 private void display_new_commonform_1(string judge_type_0, int left_0, int top_0, TextBox TB_ls)
 {
     common_file.common_app.get_czsj();
     Xxtsz.X_common_one X_common_one_new = new Hotel_app.Xxtsz.X_common_one();
     X_common_one_new.judge_type = judge_type_0;
     X_common_one_new.Left       = common_file.common_app.x();
     X_common_one_new.Top        = common_file.common_app.y();
     //X_common_one_new.StartPosition = FormStartPosition.CenterScreen;
     if (X_common_one_new.ShowDialog() == DialogResult.OK)
     {
         TB_ls.Text = X_common_one_new.get_value;
     }
     X_common_one_new.Dispose();
     TB_ls.Focus();
     Cursor.Current = Cursors.Default;
 }
Пример #3
0
 private void display_new_commonform_1(string judge_type_0, int left_0, int top_0, TextBox TB_ls, string parameter)
 {
     common_file.common_app.get_czsj();
     Xxtsz.X_common_one X_common_one_new = new Hotel_app.Xxtsz.X_common_one();
     X_common_one_new.judge_type = judge_type_0;
     X_common_one_new.parameter  = parameter;
     X_common_one_new.Left       = left_0;
     X_common_one_new.Top        = top_0;
     if (X_common_one_new.ShowDialog() == DialogResult.OK)
     {
         TB_ls.Text = X_common_one_new.get_value;
     }
     X_common_one_new.Dispose();
     TB_ls.Focus();
     Cursor.Current = Cursors.Default;
 }
Пример #4
0
 public static void display_new_commonform_1(string judge_type_0, out string xftm, out string xrbh_0, out string xfxm_0, int left_0, int top_0, string parameter)//重载带载入参数的
 {
     xrbh_0 = parameter;
     xfxm_0 = "";
     xftm   = "";
     common_file.common_app.get_czsj();
     Xxtsz.X_common_one X_common_one_new = new Hotel_app.Xxtsz.X_common_one();
     X_common_one_new.judge_type = judge_type_0;
     X_common_one_new.parameter  = parameter;
     X_common_one_new.Left       = left_0;
     X_common_one_new.Top        = top_0;
     if (X_common_one_new.ShowDialog() == DialogResult.OK)
     {
         xrbh_0 = X_common_one_new.get_bh;
         xfxm_0 = X_common_one_new.get_value;
         xftm   = X_common_one_new.get_tm;
     }
     X_common_one_new.Dispose();
     Cursor.Current = Cursors.Default;
 }