Beispiel #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            TssFecha.Text = DateTime.Today.ToLongDateString();
            Servicio_registro servreg = new Servicio_registro();

            if (servreg.validarfechatrial() == false)
            {
                servreg.registrarlicencia(12171746247722944848);
                MessageBox.Show(servreg.validarlicencia().ToString());
            }
        }
Beispiel #2
0
        private void BtnRegistrar_Click(object sender, EventArgs e)
        {
            Servicio_registro servreg = new Servicio_registro();

            servreg.registrarlicencia(Convert.ToUInt64(MtbNumLicencia.Text.Replace(".", "")));
        }