Exemple #1
0
        public override void Clear()
        {
            base.Clear();

            fCommName          = string.Empty;
            fCommunicationType = GDMCommunicationType.ctCall;
            fDate.Clear();
            fCorresponder.Clear();
        }
Exemple #2
0
        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();
        }
Exemple #3
0
        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);
        }