39 lines
985 B
C#
39 lines
985 B
C#
using compabetov2.database.modelos;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace compabetov2
|
|
{
|
|
public partial class envios : Form
|
|
{
|
|
private LoginModel loginPrincipal;
|
|
public envios(LoginModel loginPrincipal)
|
|
{
|
|
InitializeComponent();
|
|
this.loginPrincipal = loginPrincipal;
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
MenuPrincipal menuPrincipal = new MenuPrincipal(loginPrincipal);
|
|
menuPrincipal.Show();
|
|
this.Dispose(true);
|
|
}
|
|
|
|
private void horafecha_Tick(object sender, EventArgs e)
|
|
{
|
|
|
|
lblhora.Text = DateTime.Now.ToString("h:mm:ss");
|
|
lblfecha.Text = DateTime.Now.ToLongDateString();
|
|
|
|
}
|
|
}
|
|
}
|