Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmQuery frmQuery = new FrmQuery();

            frmQuery.IsPay = false;
            frmQuery.Show();
        }
Ejemplo n.º 2
0
 private void txtPayValue_KeyDown(object sender, KeyEventArgs e)
 {
     F11Exit(e);
     if (e.KeyCode == Keys.Enter)//如果输入的是回车键
     {
         FrmQuery frmQuery = new FrmQuery(this);
         frmQuery.PayAmount = decimal.Parse(txtPayValue.Text.Trim());
         frmQuery.IsPay     = true;
         frmQuery.ShowDialog();
         txtPayValue.Text = string.Empty;
         txtPayValue.Focus();
     }
 }
Ejemplo n.º 3
0
        private void txtPayValue_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)//如果输入的是回车键
            {
                FrmQuery frmQuery=new FrmQuery();
                frmQuery.PayAmount = decimal.Parse(txtPayValue.Text.Trim());
                frmQuery.IsPay = true;
                frmQuery.ShowDialog();
                txtPayValue.Text = string.Empty;
                txtPayValue.Focus();

            }
        }
Ejemplo n.º 4
0
 private void button1_Click(object sender, EventArgs e)
 {
     FrmQuery frmQuery = new FrmQuery();
     frmQuery.IsPay = false;
     frmQuery.Show();
 }