private void FillGrid() { gtiConfig Pms = new gtiConfig { PathApp = AppDomain.CurrentDomain.BaseDirectory, DataBaseReal = Properties.Settings.Default.DataBase, }; Pms.PathReport = Pms.PathApp + "\\report"; Pms.PathAnexo = Properties.Settings.Default.Path_Anexo_Local; Pms.ServerName = Properties.Settings.Default.ServerName; Pms.ComputerName = Environment.MachineName; Pms.UserName = gtiCore.Retorna_Last_User(); pGrid.SelectedObject = Pms; }
private void FillGrid() { gtiConfig Pms = new gtiConfig { PathApp = AppDomain.CurrentDomain.BaseDirectory, DataBaseReal = gtiCore.BaseDados, DataBaseTeste = gtiCore.BaseDadosTeste }; Pms.PathReport = gtiCore.Path_Report; Pms.PathAnexo = gtiCore.Path_Anexo; Pms.ServerName = gtiCore.ServerName; Pms.ComputerName = Environment.MachineName; Pms.UserName = gtiCore.Retorna_Last_User(); pGrid.SelectedObject = Pms; }