52 lines
1.2 KiB
C#
52 lines
1.2 KiB
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 mermas : Form
|
|
{
|
|
private LoginModel loginPrincipal;
|
|
public mermas(LoginModel loginPrincipal)
|
|
{
|
|
InitializeComponent();
|
|
this.loginPrincipal = loginPrincipal;
|
|
}
|
|
|
|
private void mermas_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void horafecha_Tick(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void horafecha_Tick_1(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void horafecha_Tick_2(object sender, EventArgs e)
|
|
{
|
|
lblhora.Text = DateTime.Now.ToString("h:mm:ss");
|
|
lblfecha.Text = DateTime.Now.ToLongDateString();
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
MenuPrincipal menuPrincipal = new MenuPrincipal(loginPrincipal);
|
|
menuPrincipal.Show();
|
|
this.Dispose(true);
|
|
}
|
|
}
|
|
}
|