public override void Clear() { base.Clear(); fCommName = string.Empty; fCommunicationType = GDMCommunicationType.ctCall; fDate.Clear(); fCorresponder.Clear(); }
public CommunicationEditDlgController(ICommunicationEditDlg view) : base(view) { fTempInd = null; for (GDMCommunicationType ct = GDMCommunicationType.ctCall; ct <= GDMCommunicationType.ctLast; ct++) { fView.CorrType.Add(LangMan.LS(GKData.CommunicationNames[(int)ct])); } fView.Dir.AddRange(new object[] { LangMan.LS(LSID.LSID_CD_1), LangMan.LS(LSID.LSID_CD_2) }); fView.Name.Activate(); }
public override void Assign(GDMTag source) { GDMCommunicationRecord otherComm = (source as GDMCommunicationRecord); if (otherComm == null) { throw new ArgumentException(@"Argument is null or wrong type", "source"); } base.Assign(otherComm); fCommName = otherComm.fCommName; fCommunicationType = otherComm.fCommunicationType; fDate.Assign(otherComm.fDate); fCorresponder.Assign(otherComm.fCorresponder); }