Limpieza de codigo

This commit is contained in:
2013-10-14 20:20:23 +02:00
parent af72a4decb
commit b4eea3818f
22 changed files with 194 additions and 197 deletions

View File

@@ -9,9 +9,9 @@ using System.Windows.Forms;
namespace ServerExplorer
{
public partial class frmPrincipal : Form
public partial class FrmPrincipal : Form
{
public frmPrincipal()
public FrmPrincipal()
{
InitializeComponent();
}
@@ -19,7 +19,7 @@ namespace ServerExplorer
private void menuConectarPRUEBAS_Click(object sender, EventArgs e)
{
// Crear ventana de la base de datos de pruebas
frmBaseDatos frm = new frmBaseDatos("Data Source=SSSRV3;Initial Catalog=PRUEBAS;User ID=sa;Password=SLsssrv3");
FrmBaseDatos frm = new FrmBaseDatos("Data Source=SSSRV3;Initial Catalog=PRUEBAS;User ID=sa;Password=SLsssrv3");
//frmBaseDatos frm = new frmBaseDatos("Data Source=DANTE;Initial Catalog=BD_AlfonsoRodriguez;Integrated Security=True");
//frmBaseDatos frm = new frmBaseDatos("Data Source=OSKURITO;Initial Catalog=BD_AlfonsoRodriguez;Integrated Security=True");
frm.MdiParent = this;
@@ -30,7 +30,7 @@ namespace ServerExplorer
private void menuBuscarServidor_Click(object sender, EventArgs e)
{
// Mostrar ventana de buscador de servidores
frmServidores frm = new frmServidores();
FrmServidores frm = new FrmServidores();
frm.MdiParent = this;
frm.Show();
}
@@ -44,7 +44,7 @@ namespace ServerExplorer
Config config = Config.Cargar(dialogo.FileName);
// Crear y mostrar ventana
frmBaseDatos frm = new frmBaseDatos(config);
FrmBaseDatos frm = new FrmBaseDatos(config);
frm.MdiParent = this;
frm.WindowState = FormWindowState.Maximized;
frm.Show();