//---------------------------------------------------------------------------------------------------------------------------
 /// <summary>
 /// Updates the config.
 /// </summary>
 public void UpdateConfig()
 {
     PMAUserInfo userInfo = null;
     configManager.PMAUsers.ListPMAUserInfo.Clear();
     foreach (DataGridViewRow row in dataGridView_users.Rows)
     {
         userInfo = new PMAUserInfo();
         userInfo.UserName = row.Cells["User"].Value.ToString();
         userInfo.UserPassword = row.Cells["PasswordString"].Value.ToString();
         userInfo.IsActionUser = bool.Parse( row.Cells["Action"].Value.ToString());
         userInfo.IsServiceUser = bool.Parse(row.Cells["Services"].Value.ToString());
         userInfo.IsSQLUser = bool.Parse(row.Cells["SQL"].Value.ToString());
         userInfo.IsTaskManagerAdminUser = bool.Parse(row.Cells["TaskManagerAdmin"].Value.ToString());
         configManager.PMAUsers.ListPMAUserInfo.Add(userInfo);
     }
 }
 public PMAClientRuntimeInfo()
 {
     UserInfo = new PMAUserInfo();
 }
 public PMAClientRuntimeInfo()
 {
     UserInfo = new PMAUserInfo();
 }