Punto Solution
This commit is contained in:
+16
-5
@@ -126,16 +126,27 @@ namespace compabetov2
|
||||
|
||||
Button btnLogin = new Button();
|
||||
btnLogin.Text = "Login";
|
||||
btnLogin.BackColor = Color.Red;
|
||||
btnLogin.Dock = DockStyle.Fill;
|
||||
btnLogin.FlatStyle = FlatStyle.Flat;
|
||||
btnLogin.FlatAppearance.BorderSize = 0;
|
||||
btnLogin.Font = new Font(btnVer.Font.FontFamily, 16);
|
||||
btnLogin.ForeColor = Color.White;
|
||||
btnLogin.Click += new EventHandler(delegate (object sender, EventArgs e)
|
||||
{
|
||||
if(empleado.fkIdLogin == null) {
|
||||
|
||||
});
|
||||
btnLogin.Click += new EventHandler(delegate (object sender, EventArgs e)
|
||||
{
|
||||
AgregarLogin agregarLogin = new AgregarLogin();
|
||||
agregarLogin.Show();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
btnLogin.BackColor = Color.Yellow;
|
||||
btnLogin.Click += new EventHandler(delegate (object sender, EventArgs e)
|
||||
{
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user