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,26 +9,26 @@ using System.Windows.Forms;
namespace ServerExplorer
{
public partial class frmCodeGenConfig : Form
public partial class FrmCodeGenConfig : Form
{
Config config;
Config _config;
public frmCodeGenConfig(Config config)
public FrmCodeGenConfig(Config config)
{
InitializeComponent();
this.config = config;
_config = config;
}
private void frmCodeGenConfig_Load(object sender, EventArgs e)
private void FrmCodeGenConfig_Load(object sender, EventArgs e)
{
txtConString.Text = config.ConString;
txtPathRaiz.Text = config.PathRaiz;
txtPathDAL.Text = config.PathDAL;
txtPathDTO.Text = config.PathDTO;
txtPathExtra.Text = config.PathExtra;
txtNSDAL.Text = config.NamespaceDAL;
txtNSDTO.Text = config.NamespaceDTO;
txtConString.Text = _config.ConString;
txtPathRaiz.Text = _config.PathRaiz;
txtPathDAL.Text = _config.PathDAL;
txtPathDTO.Text = _config.PathDTO;
txtPathExtra.Text = _config.PathExtra;
txtNSDAL.Text = _config.NamespaceDAL;
txtNSDTO.Text = _config.NamespaceDTO;
}
private void btnPathRaiz_Click(object sender, EventArgs e)
@@ -73,12 +73,12 @@ namespace ServerExplorer
private void btnAceptar_Click(object sender, EventArgs e)
{
config.PathRaiz = txtPathRaiz.Text;
config.PathDAL = txtPathDAL.Text;
config.PathDTO = txtPathDTO.Text;
config.PathExtra = txtPathExtra.Text;
config.NamespaceDAL = txtNSDAL.Text;
config.NamespaceDTO = txtNSDTO.Text;
_config.PathRaiz = txtPathRaiz.Text;
_config.PathDAL = txtPathDAL.Text;
_config.PathDTO = txtPathDTO.Text;
_config.PathExtra = txtPathExtra.Text;
_config.NamespaceDAL = txtNSDAL.Text;
_config.NamespaceDTO = txtNSDTO.Text;
this.Close();
}