void AddControl(Donation item, Panel panel)
        {
            DINCertUserControl uc = new DINCertUserControl();
            uc = (DINCertUserControl)LoadControl("~/Collect/DINCertUserControl.ascx");
            uc.Fill_Letter(item);

            panel.Controls.Add(uc);
        }
        void AddDINLabelControl(Donation item, Panel panel)
        {
            DonationCardUserControl uc = new DonationCardUserControl();
            uc = (DonationCardUserControl)LoadControl("~/Collect/DonationCardUserControl.ascx");
            uc.Fill_Letter(item);

            panel.Controls.Add(uc);
        }
        void AddDINLabelControl(Donation item, PrintSetting ps, Panel panel)
        {
            DINLabelUserControl uc = new DINLabelUserControl();
            uc = (DINLabelUserControl)LoadControl("~/Collect/DINLabelUserControl.ascx");
            uc.Fill_Letter(item.DIN);
            uc.ResizeLabel(ps);

            panel.Controls.Add(uc);
        }
Ejemplo n.º 4
0
 public DonationStatusLog(Donation e, Donation.StatusX from, Donation.StatusX to, string actor, string note)
 {
     DIN = e.DIN;
     FromStatus = from;
     ToStatus = to;
     Actor = actor;
     Note = note;
     Date = DateTime.Now;
 }
 public DonationErr(string mess, Donation.StatusX status)
 {
     Message = mess;
     ToStatusX = status;
 }
 partial void OnToStatusChanging(Donation.StatusX value);
		private void detach_Donations(Donation entity)
		{
			this.SendPropertyChanging();
			entity.ST_General = null;
		}
		private void detach_Donations(Donation entity)
		{
			this.SendPropertyChanging();
			entity.Campaign = null;
		}
		private void attach_Donations(Donation entity)
		{
			this.SendPropertyChanging();
			entity.People = this;
		}
 partial void DeleteDonation(Donation instance);
 partial void UpdateDonation(Donation instance);
 partial void InsertDonation(Donation instance);
 partial void OnTestResultStatusChanging(Donation.TestResultStatusX value);