private void initDelegates()
 {
     vMobPhone = new SimCorpMobilePhone(JobType.Task, currentCharge: 50, maxCharge: 100);
     vMobPhone.SetEllapsedTimes(generatedSmsTime: 3000, chargeBatteryTime: 1000, unchargeBatteryTime: 3000);
     vMobPhone.SetFormatMode(0);
     vMobPhone.SetMessageIsAddedDelegat(OnListViewMessageAdded);
     vMobPhone.SetMessageIsRemoveDelegat(OnListViewMessageRemoved);
     vMobPhone.SetBatteryChargeChangeDelegat(OnChargeIsChanged);
 }
        private void initDelegates()
        {
            vMobPhone = new SimCorpMobilePhone();
            vMobPhone.SetFormatMode(0);
            vMobPhone.SetMessageIsAddedDelegat(OnListViewMessageAdded);
            vMobPhone.SetMessageIsRemoveDelegat(OnListViewMessageRemoved);

            vSmsGenerator = new SMSGenerator(2000, vMobPhone);

            vKickOffSmsGenerator = new EventHandler(OnInitSmsGenerator);
            vKickOffSmsGenerator.Invoke(this, null);
        }