Ejemplo n.º 1
0
        private void functionKeypress(byte index)
        {
            switch (index)
            {
            case 1:
                if (com.DSP_MSG("C014", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty).Equals("1"))
                {
                    this.Close();
                }
                break;

            case 12:
                mope_data.TANCD = txtTANCD.Text.ToString();
                bool b = loginbl.MOPE_UPDATE(mope_data);
                if (b)
                {
                    txtNewPASWD.Text    = txtConfirmPASWD.Text = string.Empty;
                    btnF12.Enabled      = false;
                    txtHideTextBox.Text = mope_data.PASWD;
                    com.DSP_MSG("I002", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty).Equals("1");
                }
                break;
            }
        }