Beispiel #1
0
		// This is the main entry point of the application.
		static void Main (string[] args)
		{
			// if you want to use a different Application Delegate class from "AppDelegate"
			// you can specify it here.
			UIApplication.Main (args, null, "AppDelegate");
			cPerson oUser;
			oUser = new cPerson ();
			cDeathCalculator dCalc;
			dCalc = new cDeathCalculator ();
			oUser.Age = 28;
			oUser.CigPerDay = 0;
			dCalc.FindTimeLeft (oUser);

		}
Beispiel #2
0
        // This is the main entry point of the application.
        static void Main(string[] args)
        {
            // if you want to use a different Application Delegate class from "AppDelegate"
            // you can specify it here.
            UIApplication.Main(args, null, "AppDelegate");
            cPerson oUser;

            oUser = new cPerson();
            cDeathCalculator dCalc;

            dCalc           = new cDeathCalculator();
            oUser.Age       = 28;
            oUser.CigPerDay = 0;
            dCalc.FindTimeLeft(oUser);
        }
Beispiel #3
0
 public cResultsVC(cPerson voUser)
 {
     _User = voUser;
     oCalc = new cDeathCalculator();
 }
Beispiel #4
0
 public Results()
 {
     oCalc = new cDeathCalculator();
 }
Beispiel #5
0
 public cResultsVC(cPerson voUser) : base("cResultsVC", null)
 {
     _User = voUser;
     oCalc = new cDeathCalculator();
 }
Beispiel #6
0
 public Results()
 {
     //_User = ((ControllClass)Application)._oUser;
     oCalc = new cDeathCalculator();
 }