Example #1
0
 public void ResetForNewEntry()
 {
     this.txtID.Text = "";
     this.txtRole.Text = "";
     /* teams handling moved to Layout handler
     this.cboTeam.Items.Clear();
     List<string> allTeams = Ctl_Teams.Teams.GetNames();
     allTeams.Sort();
     for (int i = 0; i < allTeams.Count; i++)
     {
         cboTeam.Items.Add(allTeams[i]);
     }
     */
     this.cboTeam.Text = "";
     this.rtbBriefing.Text = "";
     this.lblSwath.BackColor = Color.Black;
     _datastore = new DecisionMakerDataStruct("");
     _datastore.CheckUniquenessOnSave = true;
 }
Example #2
0
        public DecisionMakerDataStruct CreateDecisionMaker(string name)
        {
            DecisionMakerDataStruct dm = new DecisionMakerDataStruct(name);

            Types.DecisionMakerList.Add(dm);
            if (!UniqueNames.Contains(name))
            {
                UniqueNames.Add(name);
            }

            return dm;
        }
Example #3
0
 public override object Clone()
 {
     DecisionMakerDataStruct obj = new DecisionMakerDataStruct(ID);
     obj.Team = Team;
     obj.Role = Role;
     obj.Briefing = Briefing;
     obj.DMColor = DMColor;
      return obj;
 }