Esempio n. 1
0
 /// <summary>Initializes a new instance of the <see cref="ComponentType"/> class.</summary>
 public ComponentType()
 {
     this.Bit = nextBit;
     nextBit <<= 1;
     this.Id = nextId;
     ++nextId;
 }
Esempio n. 2
0
        /// <summary>Initializes a new instance of the <see cref="ComponentType"/> class.</summary>
        internal ComponentType()
        {
            this.Id = nextId;
            this.Bit = nextBit;

            nextId++;
            nextBit <<= 1;
        }
		void ProgressHandler (nint receivedSize, nint expectedSize)
		{
			if (activityIndicator == null) {
				InvokeOnMainThread (()=> {
					activityIndicator = new UIActivityIndicatorView (UIActivityIndicatorViewStyle.Gray);
					ImageView.AddSubview (activityIndicator);
					activityIndicator.Center = ImageView.Center;
					activityIndicator.StartAnimating ();
				});
			}
		}
		public FoundationResponse (NSData responseData, NSHttpUrlResponse urlResponse)
		{
			data = responseData;
			statusCode = urlResponse.StatusCode;

			headers = new Dictionary<string, string> ();
			var hs = urlResponse.AllHeaderFields;
			foreach (var k in hs.Keys) {
				headers[k.ToString ()] = hs.ObjectForKey (k).ToString ();
			}
		}
Esempio n. 5
0
		public override UIView GetViewForHeader (UITableView tableView, nint section)
		{
			var sectionTitleLabel = new UILabel (new CGRect (10, 3, 300, 22));
			sectionTitleLabel.Text = "Resistence Workouts";
			sectionTitleLabel.BackgroundColor = UIColor.Clear;
			sectionTitleLabel.TextColor = UIColor.FromRGBA (0.43f, 0.43f, 0.43f, 1);
			sectionTitleLabel.Font = UIFont.FromName ("HelveticaNeue", 15);

			var backgroundView = new UIImageView (FitpulseTheme.SharedTheme.TableSectionHeaderBackground);
			backgroundView.Add (sectionTitleLabel);

			return backgroundView;
		}
 public override string TitleForHeader (UITableView tableView, nint section)
 {
   return this.sitecoreItem.DisplayName;
 }
Esempio n. 7
0
 partial void OnCompanyIdChanging(global::System.Int32 value);
 public override nint RowsInSection(UITableView tableview, nint section) {
     return RowCount;
 }
 partial void OnProductModel1Changing(global::System.Int32 value);
Esempio n. 10
0
 /// <summary>
 /// Create a new user_internal object.
 /// </summary>
 /// <param name="ui_id">Initial value of the ui_id property.</param>
 /// <param name="user_id">Initial value of the user_id property.</param>
 /// <param name="ui_nip">Initial value of the ui_nip property.</param>
 /// <param name="ui_jabatan">Initial value of the ui_jabatan property.</param>
 /// <param name="ui_grade">Initial value of the ui_grade property.</param>
 /// <param name="status">Initial value of the status property.</param>
 /// <param name="created_date">Initial value of the created_date property.</param>
 /// <param name="created_by">Initial value of the created_by property.</param>
 /// <param name="updated_date">Initial value of the updated_date property.</param>
 /// <param name="updated_by">Initial value of the updated_by property.</param>
 public static user_internal Createuser_internal(global::System.Int32 ui_id, global::System.Int32 user_id, global::System.String ui_nip, global::System.String ui_jabatan, global::System.String ui_grade, global::System.Int32 status, global::System.DateTime created_date, global::System.String created_by, global::System.DateTime updated_date, global::System.String updated_by)
 {
     user_internal user_internal = new user_internal();
     user_internal.ui_id = ui_id;
     user_internal.user_id = user_id;
     user_internal.ui_nip = ui_nip;
     user_internal.ui_jabatan = ui_jabatan;
     user_internal.ui_grade = ui_grade;
     user_internal.status = status;
     user_internal.created_date = created_date;
     user_internal.created_by = created_by;
     user_internal.updated_date = updated_date;
     user_internal.updated_by = updated_by;
     return user_internal;
 }
 partial void OnAssociateIdChanging(global::System.Int32 value);
Esempio n. 12
0
 partial void OnDeptIdChanging(global::System.Int32 value);
Esempio n. 13
0
 /// <summary>
 /// Create a new smu_Level object.
 /// </summary>
 /// <param name="levelId">Initial value of the LevelId property.</param>
 /// <param name="levelMin">Initial value of the LevelMin property.</param>
 /// <param name="levelMax">Initial value of the LevelMax property.</param>
 public static smu_Level Createsmu_Level(global::System.Int32 levelId, global::System.Int32 levelMin, global::System.Int32 levelMax)
 {
     smu_Level smu_Level = new smu_Level();
     smu_Level.LevelId = levelId;
     smu_Level.LevelMin = levelMin;
     smu_Level.LevelMax = levelMax;
     return smu_Level;
 }
Esempio n. 14
0
        /// <summary>
        /// Create a new Zaal object.
        /// </summary>
        /// <param name="zaalId">Initial value of the ZaalId property.</param>
        /// <param name="zaalNummer">Initial value of the ZaalNummer property.</param>
        /// <param name="bioscoopId">Initial value of the BioscoopId property.</param>
        public static Zaal CreateZaal(global::System.Int32 zaalId, global::System.Int32 zaalNummer, global::System.Int32 bioscoopId)
        {
            Zaal zaal = new Zaal();

            zaal.ZaalId     = zaalId;
            zaal.ZaalNummer = zaalNummer;
            zaal.BioscoopId = bioscoopId;
            return(zaal);
        }
Esempio n. 15
0
 partial void OnZaalNummerChanging(global::System.Int32 value);
Esempio n. 16
0
 partial void OnFilmIdChanging(global::System.Int32 value);
Esempio n. 17
0
 partial void OnVoorstellingIdChanging(global::System.Int32 value);
Esempio n. 18
0
        /// <summary>
        /// Create a new Voorstelling object.
        /// </summary>
        /// <param name="voorstellingId">Initial value of the VoorstellingId property.</param>
        /// <param name="datum">Initial value of the Datum property.</param>
        /// <param name="tijdstip">Initial value of the Tijdstip property.</param>
        /// <param name="filmId">Initial value of the FilmId property.</param>
        /// <param name="zaalId">Initial value of the ZaalId property.</param>
        public static Voorstelling CreateVoorstelling(global::System.Int32 voorstellingId, global::System.DateTime datum, global::System.TimeSpan tijdstip, global::System.Int32 filmId, global::System.Int32 zaalId)
        {
            Voorstelling voorstelling = new Voorstelling();

            voorstelling.VoorstellingId = voorstellingId;
            voorstelling.Datum          = datum;
            voorstelling.Tijdstip       = tijdstip;
            voorstelling.FilmId         = filmId;
            voorstelling.ZaalId         = zaalId;
            return(voorstelling);
        }
Esempio n. 19
0
 /// <summary>
 /// Create a new smu_Training object.
 /// </summary>
 /// <param name="trainingId">Initial value of the TrainingId property.</param>
 /// <param name="trainingTypeId">Initial value of the TrainingTypeId property.</param>
 /// <param name="trainingName">Initial value of the TrainingName property.</param>
 /// <param name="trainingDescription">Initial value of the TrainingDescription property.</param>
 /// <param name="points">Initial value of the Points property.</param>
 /// <param name="pointsTypeId">Initial value of the PointsTypeId property.</param>
 /// <param name="pointsIntervall">Initial value of the PointsIntervall property.</param>
 /// <param name="pointsIntervallFactor">Initial value of the PointsIntervallFactor property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static smu_Training Createsmu_Training(global::System.Int32 trainingId, global::System.Int32 trainingTypeId, global::System.String trainingName, global::System.String trainingDescription, global::System.Int32 points, global::System.Int32 pointsTypeId, global::System.Int32 pointsIntervall, global::System.Decimal pointsIntervallFactor, global::System.Boolean isActive)
 {
     smu_Training smu_Training = new smu_Training();
     smu_Training.TrainingId = trainingId;
     smu_Training.TrainingTypeId = trainingTypeId;
     smu_Training.TrainingName = trainingName;
     smu_Training.TrainingDescription = trainingDescription;
     smu_Training.Points = points;
     smu_Training.PointsTypeId = pointsTypeId;
     smu_Training.PointsIntervall = pointsIntervall;
     smu_Training.PointsIntervallFactor = pointsIntervallFactor;
     smu_Training.IsActive = isActive;
     return smu_Training;
 }
 partial void OnRoleIDChanging(global::System.Int32 value);
Esempio n. 21
0
 /// <summary>
 /// Create a new smu_UserPoints object.
 /// </summary>
 /// <param name="userPointsId">Initial value of the UserPointsId property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="points">Initial value of the Points property.</param>
 /// <param name="userTrainingId">Initial value of the UserTrainingId property.</param>
 /// <param name="trainingResult">Initial value of the TrainingResult property.</param>
 /// <param name="trainingId">Initial value of the TrainingId property.</param>
 public static smu_UserPoints Createsmu_UserPoints(global::System.Int32 userPointsId, global::System.DateTime createDate, global::System.Int32 points, global::System.Int32 userTrainingId, global::System.String trainingResult, global::System.Int32 trainingId)
 {
     smu_UserPoints smu_UserPoints = new smu_UserPoints();
     smu_UserPoints.UserPointsId = userPointsId;
     smu_UserPoints.CreateDate = createDate;
     smu_UserPoints.Points = points;
     smu_UserPoints.UserTrainingId = userTrainingId;
     smu_UserPoints.TrainingResult = trainingResult;
     smu_UserPoints.TrainingId = trainingId;
     return smu_UserPoints;
 }
 partial void OnMenuIDChanging(global::System.Int32 value);
Esempio n. 23
0
 /// <summary>
 /// Create a new user_group_access object.
 /// </summary>
 /// <param name="uga_id">Initial value of the uga_id property.</param>
 /// <param name="access_id">Initial value of the access_id property.</param>
 /// <param name="user_group_id">Initial value of the user_group_id property.</param>
 /// <param name="created_date">Initial value of the created_date property.</param>
 /// <param name="created_by">Initial value of the created_by property.</param>
 /// <param name="updated_date">Initial value of the updated_date property.</param>
 /// <param name="updated_by">Initial value of the updated_by property.</param>
 public static user_group_access Createuser_group_access(global::System.Int32 uga_id, global::System.Int32 access_id, global::System.Int32 user_group_id, global::System.DateTime created_date, global::System.String created_by, global::System.DateTime updated_date, global::System.String updated_by)
 {
     user_group_access user_group_access = new user_group_access();
     user_group_access.uga_id = uga_id;
     user_group_access.access_id = access_id;
     user_group_access.user_group_id = user_group_id;
     user_group_access.created_date = created_date;
     user_group_access.created_by = created_by;
     user_group_access.updated_date = updated_date;
     user_group_access.updated_by = updated_by;
     return user_group_access;
 }
 partial void OnUserIDChanging(global::System.Int32 value);
Esempio n. 25
0
 partial void OnBioscoopIdChanging(global::System.Int32 value);
 partial void OnRentalIdChanging(global::System.Int32 value);
    public override nint RowsInSection(UITableView tableView, nint section)
    {
      if (null == this.sitecoreItems)
      {
        //@adk : workaround for unexpected UIKit behaviour
        return 0;
      }

      this.ValidateFields();
      return this.sitecoreItems.Count();
    }
Esempio n. 28
0
 partial void OnCustomerIdChanging(global::System.Int32 value);
Esempio n. 29
0
		public override nint RowsInSection (UITableView tableview, nint section)
		{
			return filteredItems.Count;
		}
Esempio n. 30
0
 /// <summary>
 /// Constructor from Model Entity
 /// Framework BE --> Edm Entity Model
 /// </summary>
 /// <param name="pTipoParametro">Edm Model BE</param>
 public TipoParametroBE(TipoParametro pTipoParametro)
 {
     _IdTipoParametro         = pTipoParametro.IdTipoParametro;
     _Nombre                  = pTipoParametro.Nombre;
     _IdTipoParametroRelacion = pTipoParametro.IdTipoParametroRelacion;
 }
 partial void OnPayCheckIdChanging(global::System.Int32 value);
Esempio n. 32
0
        /// <summary>
        /// Create a new Pesquisa_Result object.
        /// </summary>
        /// <param name="nome">Initial value of the nome property.</param>
        /// <param name="idPesquisa">Initial value of the idPesquisa property.</param>
        public static Pesquisa_Result CreatePesquisa_Result(global::System.String nome, global::System.Int32 idPesquisa)
        {
            Pesquisa_Result pesquisa_Result = new Pesquisa_Result();

            pesquisa_Result.nome       = nome;
            pesquisa_Result.idPesquisa = idPesquisa;
            return(pesquisa_Result);
        }
Esempio n. 33
0
 /// <summary>Initializes static members of the <see cref="ComponentType"/> class.</summary>
 static ComponentType()
 {
     nextBit = 1;
     nextId = 0;
 }
Esempio n. 34
0
 partial void OnidPesquisaChanging(global::System.Int32 value);
Esempio n. 35
0
 /// <summary>
 /// Create a new smu_MedalTraining object.
 /// </summary>
 /// <param name="medalTrainingId">Initial value of the MedalTrainingId property.</param>
 /// <param name="medalId">Initial value of the MedalId property.</param>
 /// <param name="trainingId">Initial value of the TrainingId property.</param>
 public static smu_MedalTraining Createsmu_MedalTraining(global::System.Int32 medalTrainingId, global::System.Int32 medalId, global::System.Int32 trainingId)
 {
     smu_MedalTraining smu_MedalTraining = new smu_MedalTraining();
     smu_MedalTraining.MedalTrainingId = medalTrainingId;
     smu_MedalTraining.MedalId = medalId;
     smu_MedalTraining.TrainingId = trainingId;
     return smu_MedalTraining;
 }
Esempio n. 36
0
        /// <summary>
        /// Create a new Imovel_Result object.
        /// </summary>
        /// <param name="x">Initial value of the x property.</param>
        /// <param name="y">Initial value of the y property.</param>
        /// <param name="bairro">Initial value of the bairro property.</param>
        /// <param name="cidade">Initial value of the cidade property.</param>
        /// <param name="estado">Initial value of the estado property.</param>
        /// <param name="idImovel">Initial value of the idImovel property.</param>
        public static Imovel_Result CreateImovel_Result(global::System.String x, global::System.String y, global::System.String bairro, global::System.String cidade, global::System.String estado, global::System.Int32 idImovel)
        {
            Imovel_Result imovel_Result = new Imovel_Result();

            imovel_Result.x        = x;
            imovel_Result.y        = y;
            imovel_Result.bairro   = bairro;
            imovel_Result.cidade   = cidade;
            imovel_Result.estado   = estado;
            imovel_Result.idImovel = idImovel;
            return(imovel_Result);
        }
Esempio n. 37
0
 /// <summary>
 /// Create a new smu_UserMedal object.
 /// </summary>
 /// <param name="userMedalId">Initial value of the UserMedalId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="medalId">Initial value of the MedalId property.</param>
 public static smu_UserMedal Createsmu_UserMedal(global::System.Int32 userMedalId, global::System.Int32 userId, global::System.Int32 medalId)
 {
     smu_UserMedal smu_UserMedal = new smu_UserMedal();
     smu_UserMedal.UserMedalId = userMedalId;
     smu_UserMedal.UserId = userId;
     smu_UserMedal.MedalId = medalId;
     return smu_UserMedal;
 }
Esempio n. 38
0
 partial void OnidImovelChanging(global::System.Int32 value);
Esempio n. 39
0
 /// <summary>
 /// Create a new smu_UserTraining object.
 /// </summary>
 /// <param name="userTrainingId">Initial value of the UserTrainingId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="trainingDate">Initial value of the TrainingDate property.</param>
 /// <param name="isSaved">Initial value of the IsSaved property.</param>
 public static smu_UserTraining Createsmu_UserTraining(global::System.Int32 userTrainingId, global::System.Int32 userId, global::System.DateTime trainingDate, global::System.Boolean isSaved)
 {
     smu_UserTraining smu_UserTraining = new smu_UserTraining();
     smu_UserTraining.UserTrainingId = userTrainingId;
     smu_UserTraining.UserId = userId;
     smu_UserTraining.TrainingDate = trainingDate;
     smu_UserTraining.IsSaved = isSaved;
     return smu_UserTraining;
 }
Esempio n. 40
0
		public override nfloat GetHeightForHeader (UITableView tableView, nint section)
		{
			return 32;
		}
Esempio n. 41
0
		public override nint RowsInSection (UITableView tableview, nint section)
		{
			return section == 0 ? 7 : 2;
		}
Esempio n. 42
0
		public override nint RowsInSection (UITableView tableView, nint section)
		{
			return 5;
		}
Esempio n. 43
0
 /// <summary>
 /// Create a new user_group_menu object.
 /// </summary>
 /// <param name="ugm_id">Initial value of the ugm_id property.</param>
 /// <param name="user_group_id">Initial value of the user_group_id property.</param>
 /// <param name="menu_id">Initial value of the menu_id property.</param>
 /// <param name="created_date">Initial value of the created_date property.</param>
 /// <param name="created_by">Initial value of the created_by property.</param>
 /// <param name="updated_date">Initial value of the updated_date property.</param>
 /// <param name="updated_by">Initial value of the updated_by property.</param>
 public static user_group_menu Createuser_group_menu(global::System.Int32 ugm_id, global::System.Int32 user_group_id, global::System.Int32 menu_id, global::System.DateTime created_date, global::System.String created_by, global::System.DateTime updated_date, global::System.String updated_by)
 {
     user_group_menu user_group_menu = new user_group_menu();
     user_group_menu.ugm_id = ugm_id;
     user_group_menu.user_group_id = user_group_id;
     user_group_menu.menu_id = menu_id;
     user_group_menu.created_date = created_date;
     user_group_menu.created_by = created_by;
     user_group_menu.updated_date = updated_date;
     user_group_menu.updated_by = updated_by;
     return user_group_menu;
 }
Esempio n. 44
0
 /// <summary>Initializes static members of the <see cref="ComponentType"/> class.</summary>
 static ComponentType()
 {
     bit = 1;
     id = 0;
 }
Esempio n. 45
0
        /// <summary>
        /// Create a new SP_StopUser_Result object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="e_id">Initial value of the E_id property.</param>
        /// <param name="m_date">Initial value of the m_date property.</param>
        public static SP_StopUser_Result CreateSP_StopUser_Result(global::System.Int32 id, global::System.Int32 e_id, global::System.DateTime m_date)
        {
            SP_StopUser_Result sP_StopUser_Result = new SP_StopUser_Result();

            sP_StopUser_Result.id     = id;
            sP_StopUser_Result.E_id   = e_id;
            sP_StopUser_Result.m_date = m_date;
            return(sP_StopUser_Result);
        }
Esempio n. 46
0
 public static void Set_Windows_UI_Xaml_Controls_Pivot_SelectedIndex(global::Windows.UI.Xaml.Controls.Pivot obj, global::System.Int32 value)
 {
     obj.SelectedIndex = value;
 }
 public override nint RowsInSection (UITableView tableview, nint section)
 {
   return controller.features.Count;
 }
Esempio n. 48
0
 partial void OncostChanging(global::System.Int32 value);
 public object[] Read29_postAlbumResponse() {
     Reader.MoveToContent();
     object[] p = new object[5];
     p[0] = new global::System.Boolean();
     p[3] = new global::System.Int32();
     Reader.MoveToContent();
     int whileIterations39 = 0;
     int readerCount39 = ReaderCount;
     while (Reader.NodeType == System.Xml.XmlNodeType.Element) {
         string root = Reader.GetAttribute("root", "http://schemas.xmlsoap.org/soap/encoding/");
         if (root == null || System.Xml.XmlConvert.ToBoolean(root)) break;
         ReadReferencedElement();
         Reader.MoveToContent();
         CheckReaderCount(ref whileIterations39, ref readerCount39);
     }
     bool isEmptyWrapper = Reader.IsEmptyElement;
     Reader.ReadStartElement();
     Fixup fixup = new Fixup(p, new System.Xml.Serialization.XmlSerializationFixupCallback(this.fixup_Read29_postAlbumResponse), 5);
     AddFixup(fixup);
     IsReturnValue = true;
     bool[] paramsRead = new bool[5];
     Reader.MoveToContent();
     int whileIterations40 = 0;
     int readerCount40 = ReaderCount;
     while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) {
         if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
             if (!paramsRead[0] && (IsReturnValue || ((object) Reader.LocalName == (object)id10_dataUsed && (object) Reader.NamespaceURI == (object)id2_Item))) {
                 object rre = ReadReferencingElement(id11_boolean, id4_Item, out fixup.Ids[0]);
                 if (rre != null) {
                     try {
                         p[0] = (global::System.Boolean)rre;
                     }
                     catch (System.InvalidCastException) {
                         throw CreateInvalidCastException(typeof(global::System.Boolean), rre, null);
                     }
                     Referenced(p[0]);
                 }
                 IsReturnValue = false;
                 paramsRead[0] = true;
             }
             else if (!paramsRead[1] && ((object) Reader.LocalName == (object)id1_artist && (object) Reader.NamespaceURI == (object)id2_Item)) {
                 object rre = ReadReferencingElement(id3_string, id4_Item, out fixup.Ids[1]);
                 try {
                     p[1] = (global::System.String)rre;
                 }
                 catch (System.InvalidCastException) {
                     throw CreateInvalidCastException(typeof(global::System.String), rre, null);
                 }
                 Referenced(p[1]);
                 paramsRead[1] = true;
             }
             else if (!paramsRead[2] && ((object) Reader.LocalName == (object)id23_album && (object) Reader.NamespaceURI == (object)id2_Item)) {
                 object rre = ReadReferencingElement(id3_string, id4_Item, out fixup.Ids[2]);
                 try {
                     p[2] = (global::System.String)rre;
                 }
                 catch (System.InvalidCastException) {
                     throw CreateInvalidCastException(typeof(global::System.String), rre, null);
                 }
                 Referenced(p[2]);
                 paramsRead[2] = true;
             }
             else if (!paramsRead[3] && ((object) Reader.LocalName == (object)id24_year && (object) Reader.NamespaceURI == (object)id2_Item)) {
                 object rre = ReadReferencingElement(id25_int, id4_Item, out fixup.Ids[3]);
                 if (rre != null) {
                     try {
                         p[3] = (global::System.Int32)rre;
                     }
                     catch (System.InvalidCastException) {
                         throw CreateInvalidCastException(typeof(global::System.Int32), rre, null);
                     }
                     Referenced(p[3]);
                 }
                 paramsRead[3] = true;
             }
             else if (!paramsRead[4] && ((object) Reader.LocalName == (object)id12_message && (object) Reader.NamespaceURI == (object)id2_Item)) {
                 object rre = ReadReferencingElement(id3_string, id4_Item, out fixup.Ids[4]);
                 try {
                     p[4] = (global::System.String)rre;
                 }
                 catch (System.InvalidCastException) {
                     throw CreateInvalidCastException(typeof(global::System.String), rre, null);
                 }
                 Referenced(p[4]);
                 paramsRead[4] = true;
             }
             else {
                 UnknownNode((object)p);
             }
         }
         else {
             UnknownNode((object)p);
         }
         Reader.MoveToContent();
         CheckReaderCount(ref whileIterations40, ref readerCount40);
     }
     if (!isEmptyWrapper) ReadEndElement();
     ReadReferencedElements();
     return p;
 }
Esempio n. 50
0
 partial void OnE_idChanging(global::System.Int32 value);
            public override UIView GetViewForItem(iCarousel carousel, nint index, UIView view)
            {
                UILabel label = null;
                UIImageView imageView = null;

                if (view == null) {
                    // create new view if no view is available for recycling
                    imageView = new UIImageView (new CGRect (0, 0, 200.0f, 200.0f));
                    imageView.Image = UIImage.FromBundle ("page.png");
                    imageView.ContentMode = UIViewContentMode.Center;

                    label = new UILabel (imageView.Bounds);
                    label.BackgroundColor = UIColor.Clear;
                    label.TextAlignment = UITextAlignment.Center;
                    label.Font = label.Font.WithSize (50);
                    label.Tag = 1;
                    imageView.AddSubview (label);
                } else {
                    // get a reference to the label in the recycled view
                    imageView = (UIImageView)view;
                    label = (UILabel)view.ViewWithTag (1);
                }

                // set the values of the view
                label.Text = items [index].ToString ();

                return imageView;
            }
        /// <summary>
        /// Create a new Order object.
        /// </summary>
        /// <param name="orderId">Initial value of the OrderId property.</param>
        /// <param name="customerName">Initial value of the CustomerName property.</param>
        /// <param name="orderedItem">Initial value of the OrderedItem property.</param>
        /// <param name="orderedQuantity">Initial value of the OrderedQuantity property.</param>
        /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
        /// <param name="totalBill">Initial value of the TotalBill property.</param>
        public static Order CreateOrder(global::System.Int32 orderId, global::System.String customerName, global::System.String orderedItem, global::System.Int32 orderedQuantity, global::System.Int32 unitPrice, global::System.Int32 totalBill)
        {
            Order order = new Order();

            order.OrderId         = orderId;
            order.CustomerName    = customerName;
            order.OrderedItem     = orderedItem;
            order.OrderedQuantity = orderedQuantity;
            order.UnitPrice       = unitPrice;
            order.TotalBill       = totalBill;
            return(order);
        }
 public override string TitleForHeader (UITableView tableView, nint section)
 {
   return "Items List";
 }
 partial void OnOrderIdChanging(global::System.Int32 value);
Esempio n. 55
0
		public override nint RowsInSection (UITableView tableview, nint section)
		{
			return ButtonDictionary.Count;
		}
 partial void OnOrderedQuantityChanging(global::System.Int32 value);
			public override nint RowsInSection (UITableView tableView, nint section)
			{
				if (section == 0) {
					return controller.authenticator.Fields.Count;
				}
				else {
					return 1;
				}
			}
 partial void OnUnitPriceChanging(global::System.Int32 value);
		public override nint RowsInSection (UITableView tableview, nint section)
		{
			// TODO: return the actual number of items in the section
			return 1;
		}
 partial void OnProductAssemblyIDChanging(global::System.Int32 value);