Esempio n. 1
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);
        }
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string _name = Printing.GetName(firstName, middleName, lastName, extension);
            string text  = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + _name + ", " + age.Value + " years old, " + sex.Text + ", " + civilStatus.Text + ", Filipino and a resident of " + address.Text + " belong to an indigent family in this Barangay." + Printing.LineSpace +
                           Printing.Indention + "This certification is issued upon the request of " + sex.MrMrs() + " " + lastName.Text + " of legal age who would like to seek Educational Assistance from the " + institution.Text + " in behalf of their immediate family members." + 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, offiicerOption.Text);
        }
Esempio n. 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 " + 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);
        }
Esempio n. 4
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);
        }
Esempio n. 5
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);
        }
Esempio n. 6
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);
        }
Esempio n. 7
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);
        }
Esempio n. 8
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);
        }
Esempio n. 9
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string name = Printing.GetName(firstName, middleName, lastName, extension);
            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + Establishment.Text + " at " + busAddress.Text + " in the name of " + sex.HimHer() + " " + relations.Text + ", " + currentOwner.Text + " who " + reason.Text + " has been transfer to " + name + Printing.LineSpace +
                          Printing.Indention + "This certification is issued upon the request of " + sex.MrMrs() + " " + lastName.Text + ", for whatever legal intent it may serve " + sex.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, offiicerOption.Text);
        }
Esempio n. 10
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);
        }
        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);
        }
Esempio n. 12
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 text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + name + " of legal age, " + cStatus.Text + ", Filipino and a resident of " + Address.Text + "." + Printing.LineSpace +
                          Printing.Indention + "This certification is issued upon the request of " + sexOption.MrMs() + " " + lastName.Text + (string.IsNullOrEmpty(ext.Text) ? "" : " " + ext.Text) + " in connection with " + sexOption.HisHer() + " application for  Electric Connection at AKELCO." + Printing.LineSpace +
                          Printing.Indention + "Given this " + IssuedOn.customFormat() + " at Barangay Hall Poblacion, Kalibo, Aklan.";

            e.Graphics.DrawString(text, Printing.font, Brushes.Black, rect);
            DrawDebugRecs(rect, e);
            Printing.DrawSpecimenSignature(e, name);
            Printing.DrawValidityOr(e, orNo.Text, orIssueDate.Value, dtValidity.Value);
            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }
Esempio n. 15
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string _name = Printing.GetName(firstName, middleName, lastName, extension);
            string text  = "To whom it may concern:" + Printing.LineSpace +
                           Printing.Indention + "This is to certify that " + sex.MrMrs() + " " + _name + ", " + age.Value + " years old, " + civilStatus.Text + ", " + sex.Text + ", Filipino and a resident of " + address.Text + "." + Printing.LineSpace +
                           Printing.Indention + "This certifies further that " + sex.MrMrs() + " " + _name + " has ceased from " + sex.HisHer() + " " + employment.Text + " as " + profession.Text + " in " + institution.Text + " and no income since " + dtEmployedSince.Value.ToString("MMMM dd, yyyy") + "." + Printing.LineSpace +
                           Printing.Indention + "This certification is hereby issued upon the request of " + sex.MrMrs() + " " + lastName.Text + " " + (string.IsNullOrEmpty(extension.Text) ? "" : " " + extension.Text) + " in support to " + sex.HisHer() + " application for retirement with the Social Security System (SSS)." + 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);
        }
        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);
        }
Esempio n. 17
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);
        }
Esempio n. 18
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);
        }
        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);
        }
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            Console.WriteLine(e.PageBounds.Width * 3 / 5 + 20);
            //e.Graphics.DrawImage(Properties.Resources.Certificate_Template, Point.Empty);
            CustomHeaderCert(e, "BARANGAY CLEARANCE");

            InitBodyRect(e);
            //Rectangle bodyRect = new Rectangle(e.PageBounds.Width / 3 - 30, e.PageBounds.Height / 3, 548, 300);
            string name = Printing.GetName(firstText, middleText, lastText, extText);
            string text = "To whom it may concern:" + Printing.LineSpace
                          + Printing.Indention + "This is to certify that as per record of this Barangay " + name + ", " + Printing.IfControlEmpty(Age) + " years old, " + Printing.IfControlEmpty(CStatusOption) + ", Filipino and a resident of " + Printing.IfControlEmpty(Address) + ", whose signature appears below has no criminal, civil or administrative charges before this office and has good moral standing in the community." + Printing.LineSpace
                          + Printing.Indention + "This certification is issued upon the request of " + Printing.MrOrMrs(SexOption.Text) + " " + lastText.Text + (string.IsNullOrEmpty(extText.Text) ? "" : " " + extText.Text) + " for " + Printing.IfControlEmpty(Purpose) + "." + Printing.LineSpace
                          + "WITNESS MY HAND SEAL, this " + IssuedOn.customFormat() + ", at Barangay Poblacion, Kalibo, Aklan, Philippines.";

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

            Printing.DrawCapSb(e, o.captName, officerOption.Text);
        }