Esempio 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();
        }
Esempio 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();
 }