예제 #1
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string _name = Printing.GetFullName(firstText, middleText, lastText, extText);
            string text  = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + _name + ", " + Age.PrintAge() + ", Filipino, " + CStatusOption.Text + " and a resident of " + Address.Text + ", belongs to an indigent family in this Barangay." + Printing.LineSpace +
                           Printing.Indention + SexOption.HeShe(true) + " is asking for utmost humanitarian consideration and possible Legal Assistance." + Printing.LineSpace +
                           Printing.Indention + "This certification is issued upon the request of " + SexOption.MrMrs() + " " + lastText.Text + " in support to " + SexOption.HisHer() + " request for Legal Assistance from the Public Attorney's Office (PAO)." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
예제 #2
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string name = Printing.GetFullName(firstName, middleName, lastName, ext);
            string text = ToWhom + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + name + ", " + Age.GetYears() + " old, Filipino is a resident of " + Address.Text + "." + Printing.LineSpace +
                          Printing.Indention + "This further  certifies that " + name + " was bitten by a stray dog last " + dtIncident.Value.ToString("MMMM dd, yyyy") + "." + Printing.LineSpace +
                          Printing.Indention + "This certification is issued upon the request of " + sex.HisHer() + " " + Relation.Text + " " + reqSexOption.MrMs() + " " + By.Text + " in  support to " + reqSexOption.HisHer() + " claim  for the Medical/Financial Assistance from " + Institution.Text + "." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
예제 #3
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string name = Printing.GetFullName(firstText, middleText, lastText, extText);
            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + SexOption.MrMs() + " " + name + " " + Age.Text + " years old, " + CStatusOption.Text + ", and a resident of " + Address.Text + "." + Printing.LineSpace +
                          Printing.Indention + "Further certify that " + SexOption.MrMs() + " " + name + "  is " + caseText.Text + ". This was confirmed upon the visit of one of our Barangay Staff." + Printing.LineSpace +
                          Printing.Indention + "This certification is hereby issued upon the request of " + SexOption.MrMs() + " " + lastText.Text + " in support to her request for Social Security System (SSS) requirements." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
예제 #4
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string name = Printing.GetFullName(firstText, middleText, lastText, extText);
            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + name + " of legal age, " + CStatusOption.Text + " Filipino and is a resident of " + Address.Text + ", belongs to an indigent family in this Barangay." + Printing.LineSpace +
                          Printing.Indention + "This certification is issued upon the request of " + SexOption.MrMs() + " " + lastText.Text + " in support to on " + SexOption.HisHer() + " requirements for Pantawid Pamilya Pilipino Program (4P’S) application." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);

            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
예제 #5
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);

            string name  = Printing.GetFullName(firstName, middleName, lastName, extension);
            string first = "To whom it may concern," + Printing.LineSpace +
                           Printing.Indention + "This certification is issued to " + Printing.GetFullName(firstName, middleName, lastName, extension) + ", of legal age, Filipino and a residing at " + Printing.IfControlEmpty(Address) + ", per TD No." + Printing.IfControlEmpty(tdNoField) + " in support of " + Printing.HisOrHer(SexOption.Text) + " application for " + Printing.IfControlEmpty(specField) + " permit with the Local Government Unit (LGU) Kalibo." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " at Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(first, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawSpecimenSignature(e, Printing.GetName(firstName, middleName, lastName, extension));
            Printing.DrawCap(e, o.captName);
        }
예제 #6
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string name = Printing.GetFullName(firstText, middleText, lastText, extText);

            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + name + " of legal age, " + CStatusOption.Text + ", Filipino, and a resident of " + Address.Text + "." + Printing.LineSpace +
                          Printing.Indention + "This is to certify further that " + SexOption.MrMs() + " " + name + " is a " + employment.Text + " and has limited source of income averaging " + income.Text + " per month." + Printing.LineSpace +
                          Printing.Indention + "This certification is issued to upon the request of " + SexOption.MrMs() + " " + lastText.Text + " as requirements for the " + purpose.Text + " of " + SexOption.HisHer() + " " + relations.Text + " " + wardName.Text + " who is " + status.Text + " in " + institution.Text + "." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + ", Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
예제 #7
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            e.Graphics.DrawImage(E_Barangay.Properties.Resources.Certificate_Template, new PointF(0, 0));
            InitBodyRect(e);
            string name = Printing.GetFullName(firstName, middleName, lastName, extension);
            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + name + " of legal age, Filipino and a resident of " + Printing.IfControlEmpty(address) + "." + Printing.LineSpace +
                          Printing.Indention + "This is to certify further that " + name + " is the dependent of " + Printing.IfControlEmpty(supportNameField) + " who is presently staying at " + Printing.IfControlEmpty(supportAddressField) + " since " + sinceDate.Value.Year.ToString() + "." + Printing.LineSpace +
                          Printing.Indention + "This certification is issued upon the request of " + Printing.MrOrMrs(sexOption.Text) + " " + lastName.Text + (string.IsNullOrEmpty(extension.Text) ? "" : " " + extension.Text) + " for whatever legal purpose it may serve " + sexOption.HimHer() + "." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            CustomHeaderCert(e, "BARANGAY CERTIFICATION/INDIGENCY");
            InitBodyRect(e);
            string name  = Printing.GetFullName(firstName, middleName, lastName, ext);
            string first = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + name + ", " + Age.Text + " years old " + reqSexOption.Text + ", Filipino and a resident of " + Address.Text + " and a duly resident of this Barangay belongs to an indigent family." + Printing.LineSpace +
                           Printing.Indention + "This certification is issued upon the request of " + reqSexOption.MrMs() + " " + By.Text + ", " + sexOption.HisHer() + " " + Relation.Text + " of legal age, who would like to seek Financial/Medical Assistance from the " + FromTo.Text + " in behalf of their immediate family member." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(first, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);

            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
예제 #9
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);

            string name = Printing.GetFullName(firstText, middleText, lastText, extText);

            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + name + " of legal age, " + CStatusOption.Text + ", Filipino and is a resident of " + Address.Text + "." + Printing.LineSpace +
                          Printing.Indention + "This is to certify further that " + SexOption.MrMs() + " " + lastText.Text + " is the GUARDIAN of " + SexOption.HisHer() + " " + relations.Text + " Named: " + wardName.Text + "." + Printing.LineSpace +
                          Printing.Indention + "This certification issued upon the request of " + SexOption.MrMs() + " " + lastText.Text + " for whatever legal purpose it may serve to " + SexOption.HimHer() + "." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            e.Graphics.DrawImage(Properties.Resources.Certificate_Template, Point.Empty);
            Rectangle rect = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height / 3 - 10, 550, 380);

            string name  = Printing.GetFullName(firstName, middleName, lastName, ext);
            string first = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + Printing.MrOrMrs(sex.Text) + " " + name + " of legal age, " + cStatus.Text + ", Filipino, has been a resident of " + Address.Text + " belongs to an  indigent family in this Barangay." + Printing.LineSpace +
                           Printing.Indention + "This certification is issued upon the request of " + sex.HisHer() + " " + Relation.Text + " " + reqSex.MrMs() + " " + By.Text + " in support to " + Printing.HisOrHer(reqSex.Text) + " claim for the Burial Assistance from the " + FromThe.Text + ", in behalf of their immediate family members." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(first, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);

            Printing.DrawCapSb(e, o.captName, officerOption.Text.ToUpper());
        }
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);

            string _name = Printing.GetName(firstName, middleName, lastName, ext);
            string name  = Printing.GetFullName(firstName, middleName, lastName, ext);
            string t     = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + name + ", " + age.PrintAge() + ", " + civilStatusOption.Text + ", Filipino, and presently residing at " + addressField.Text + "." + Printing.LineSpace +
                           Printing.Indention + "This is to certify further that the above applicant has no derogatory records or pending case in this Barangay." + Printing.LineSpace +
                           Printing.Indention + "This Barangay Certification is hereby issued upon the request of " + SexOption.MrMrs() + " " + lastName.Text + " in support to " + SexOption.HisHer() + " requirements for " + applicationFor.Text + "." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(t, Printing.font, Brushes.Black, rect);

            Printing.DrawCapSb(e, o.captName, officerOption.Text);
            Printing.DrawSpecimenSignature(e, _name);
            Printing.DrawValidityOr(e, orNo.Text, orIssueDate.Value, orValidityDate.Value);
        }
예제 #12
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            CustomHeaderCert(e, "BARANGAY CERTIFICATION/INDIGENCY");

            InitBodyRect(e);

            string name  = Printing.GetFullName(firstName, middleName, lastName, ext);
            string purp  = string.IsNullOrEmpty(purpose.Text) ? "for whatever legal purposes it may serve " + SexOption.HimHer() + " best." : purpose.Text;
            string first = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + name + ", " + age.PrintAge() + ", " + Printing.IfControlEmpty(SexOption) + ", " + Printing.IfControlEmpty(civilStatusOption) + ",    Filipino and a resident of " + Printing.IfControlEmpty(addressField) + ", belongs to an indigent family in this Barangay" + Printing.LineSpace +
                           Printing.Indention + "This certification is issued to " + Printing.MrOrMrs(SexOption.Text) + " " + lastName.Text + (string.IsNullOrEmpty(ext.Text) ? "" : " " + ext.Text) + " " + purp + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(first, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);

            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);

            string name    = Printing.GetFullName(firstText, middleText, lastText, extText);
            string _name   = Printing.GetName(firstText, middleText, lastText, extText);
            string yearNum = residencyYear.GetYears();

            string text = ToWhom + Printing.LineSpace +
                          Printing.Indention + "This is to certify that  " + name + ", " + age.Text + " years old, " + CStatusOption.Text + ", Filipino, and a resident of Purok " + Address.Text + ", and " + sex.HeShe() + "’s been staying at barangay Poblacion for almost " + yearNum + "." + Printing.LineSpace +
                          Printing.Indention + "This certification issued upon the request of " + sex.MrMs() + " " + lastText.Text + " for the purpose of " + sex.HisHer() + " residency." + Printing.LineSpace +
                          Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawSpecimenSignature(e, _name);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
            Printing.DrawValidityOr(e, orNo.Text, orIssueDate.Value, orValidityDate.Value);
        }
예제 #14
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);

            string name  = Printing.GetFullName(firstName, middleName, lastName, ext);
            string _name = Printing.GetName(firstName, middleName, lastName, ext);

            string first = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that as per record of this Barangay " + name + ", " + age.PrintAge() + ", " + civilStatusOption.Text + ", Filipino has been a resident of " + Address.Text + (isIndigent.Checked ? ", belongs to an indigent family." : ".") + (yearsOfStay.Value > 0 ? " " + sexOption.HeShe(true) + "'s been stayin at Barangay Poblacion for " + yearsOfStay.Value + " years." : "") + Printing.LineSpace +
                           Printing.Indention + "This is to certify further that " + name + " died last " + DeathDate.Value.ToString("MMMM dd,yyyy") + " at " + deathPlace.Text + "." + Printing.LineSpace +
                           Printing.Indention + "This certification is issued upon the request of " + Printing.HisOrHer(sexOption.Text) + " " + Relation.Text + " " + By.Text + " for " + (string.IsNullOrEmpty(purpose.Text)? "whatever legal purpose it may serve " + reqSexOption.HimHer():purpose.Text) + "." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(first, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);

            Printing.DrawCapSb(e, o.captName, officerOption.Text);
            Printing.DrawSpecimenSignature(e, _name);
        }
예제 #15
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            //e.Graphics.DrawImage(Properties.Resources.Certificate_Template, 0, 0);
            CustomHeaderCert(e, "BARANGAY/BUSINESS CLEARANCE");
            string name = Printing.GetFullName(firstName, middleName, lastName, extension);

            //var helper = new Class.NameHelper(name);

            #region firstbatch
            Rectangle firstRect  = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height / 3 - 10, 548, 50);
            string    FirstBatch = Printing.Indention + name + " of legal age, Filipino and residing at " +
                                   Printing.IfControlEmpty(address) + " to operate:";
            e.Graphics.DrawString(FirstBatch, Printing.font, Brushes.Black, firstRect);
            DrawDebugRecs(firstRect, e);
            #endregion

            #region Businessname
            Rectangle    bussRect = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height / 3 + 65, 548, 30);
            StringFormat format   = new StringFormat();
            format.Alignment = StringAlignment.Center;

            e.Graphics.DrawString(Printing.IfControlEmpty(establishmentName), Printing.fontBold, Brushes.Black, bussRect, format);
            // e.Graphics.DrawRectangle(Printing.pen, rect1);
            DrawDebugRecs(bussRect, e);
            #endregion

            #region thirdbatch
            Rectangle rect2   = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height / 3 + 120, 548, 295);
            string    details = "With business address at " + Printing.IfControlEmpty(bussAdd) + ".\n" +
                                "This further certifies that the said applicant applying for Business Permit has no records of violations or pending case in this Barangay that could affect the general welfare in the area." +
                                Printing.LineSpace + "This BARANGAY CLEARANCE is hereby issued to the above application in Accordance with Section 152 ©. Of the Local Government Code of 1991." +
                                Printing.LineSpace + "This " + issuedOn.customFormat() + ", at Barangay Hall, Poblacion, Kalibo, Aklan." +
                                Printing.LineSpace + "Conforme";
            e.Graphics.DrawString(details, Printing.font, Brushes.Black, rect2);
            // e.Graphics.DrawRectangle(Printing.pen, rect2);
            DrawDebugRecs(rect2, e);
            #endregion

            #region Signature
            string s        = (string.IsNullOrEmpty(middleName.Text)?string.Empty: middleName.Text[0].ToString());
            string signName = firstName.Text + " " + s + ". " + lastName.Text + (string.IsNullOrEmpty(extension.Text) ? "" : " " + extension.Text);
            ///sign
            var SignRect = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height + 10 - 290, 240, 30);
            //string Name = Printing.IfControlEmpty(this.nameField) + " " + Printing.IfControlEmpty(middleName) + ". " + Printing.IfControlEmpty(lastName);
            e.Graphics.DrawString(signName, Printing.fontBold, Brushes.Black, SignRect);
            //e.Graphics.DrawRectangle(Printing.pen, SignRect);
            DrawDebugRecs(SignRect, e);
            ///end

            /// line
            PointF from = new PointF(e.PageBounds.Width / 3 - 30, e.PageBounds.Height - 260);
            SizeF  size = e.Graphics.MeasureString(signName, Printing.fontBold);
            PointF to   = new PointF(e.PageBounds.Width / 3 - 30 + size.Width, e.PageBounds.Height - 260);
            e.Graphics.DrawLine(Printing.pen, from, to);
            ///end
            #endregion

            #region OR
            var    ORRect = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height + 10 - 260, 240, 85);
            string orTxt  = "OR No: " + Printing.IfControlEmpty(orNo) + "\n" +
                            "DATE: " + orIssueDate.Value.ToString("MMMM") + " " + orIssueDate.Value.Day.ToString() + ", " + orIssueDate.Value.Year.ToString() + "\n" +
                            "AMOUNT:" + Printing.IfControlEmpty(orAmount) + "\n" +
                            "Note: Valid Until: " + orValidityDate.Value.ToString("MMMM") + " " + orValidityDate.Value.Day.ToString() + ", " + orValidityDate.Value.Year.ToString();

            e.Graphics.DrawString(orTxt, Printing.font, Brushes.Black, ORRect);

            DrawDebugRecs(ORRect, e);
            //e.Graphics.DrawRectangle(Printing.pen, ORRect);
            #endregion

            Printing.DrawCap(e, "NEIL I. CANDELARIO");
        }
예제 #16
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            e.Graphics.DrawImage(Properties.Resources.Certificate_Template, new PointF(0, 0));
            // Rectangle rect = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height / 3 + 50, 550, 380);
            InitBodyRect(e);
            string first = Printing.Indention + "This is to certify that " + Printing.MrOrMrs(SexOption.Text) + " " + Printing.GetFullName(firstName, middleName, lastName, extension) + " has appeared in my office." + Printing.LineSpace +
                           Printing.Indention + "This certification is issued to " + Printing.MrOrMrs(SexOption.Text) + " " + lastName.Text + (string.IsNullOrEmpty(extension.Text) ? "" : " " + extension.Text) + "  for whatever legal intent it may serve " + Printing.HimOrHer(SexOption.Text) + "." + Printing.LineSpace +
                           Printing.Indention + "Issued this " + IssuedOn.customFormat() + " Barangay Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(first, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawCap(e, o.captName);
        }