Exemplo n.º 1
0
        private void menuitemFileHeaderAndFooter_Click(object sender, EventArgs e)
        {
            var PageSetupHeaderFooter = new PageSetupHeaderFooter();

            PageSetupHeaderFooter.Header = Settings.Header;
            PageSetupHeaderFooter.Footer = Settings.Footer;
            if (PageSetupHeaderFooter.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }
            Settings.Header = PageSetupHeaderFooter.Header;
            Settings.Footer = PageSetupHeaderFooter.Footer;
            Settings.Save();
        }
Exemplo n.º 2
0
 private void menuitemFileHeaderAndFooter_Click(object sender, EventArgs e)
 {
     var PageSetupHeaderFooter = new PageSetupHeaderFooter();
     PageSetupHeaderFooter.Header = Settings.Header;
     PageSetupHeaderFooter.Footer = Settings.Footer;
     if (PageSetupHeaderFooter.ShowDialog(this) != DialogResult.OK) return;
     Settings.Header = PageSetupHeaderFooter.Header;
     Settings.Footer = PageSetupHeaderFooter.Footer;
     Settings.Save();
 }