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);
        }
예제 #2
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);
        }
        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);
        }
예제 #5
0
        public override void Printing_PrintPage(object sender, PrintPageEventArgs e)
        {
            base.Printing_PrintPage(sender, e);
            string _name = Printing.GetName(firstName, middleName, lastName, ext);

            rect.Height = rect.Height + 100;
            string text = "To whom it may concern:" + Printing.LineSpace +
                          Printing.Indention + "This is to certify that " + sexOption.MrMrs() + " " + _name + ", " + age.PrintAge() + ", " + civilStatusOption.Text + ", Filipino is a resident of " + Address.Text + "." + Printing.ShortLineSpace +
                          Printing.Indention + "This is to certify further that " + sexOption.HeShe() + " operated a Business of " + busName.Text + " since " + busSince.Value.ToString("MMMM, yyyy") + " up to present located at " + busAddress.Text + ", and is hereby given Barangay clearance to operate such business." + Printing.ShortLineSpace +
                          Printing.Indention + sexOption.HeShe(true) + " is likewise advised to observe and strictly comply all laws, regulations and municipal ordinance pertinent thereto." + Printing.ShortLineSpace +
                          Printing.Indention + "This certification is issued upon the request of " + sexOption.MrMrs() + " " + lastName.Text + " for the purpose of " + sexOption.HisHer() + " application for " + purpose.Text + "." + Printing.ShortLineSpace +
                          "WITNESS MY HAND SEAL, this " + issuedOn.customFormat() + " at Barangay Poblacion, Kalibo, Aklan, Philippines.";

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

            Printing.DrawCapSb(e, getOfficerInfo.captName, officerOption.Text);
            Printing.DrawSpecimenSignature(e, _name);
            Printing.DrawValidityOr(e, orNo.Text, orIssueDate.Value, orValidityDate.Value);
        }