private void WriteButton_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveFile = new SaveFileDialog
            {
                FileName = "form.pdf",
                Filter   = "PDF Files (*.pdf)|*.pdf"
            };

            if (saveFile.ShowDialog() == DialogResult.OK)
            {
                PDFwriter writer = new PDFwriter();
                writer.Write(saveFile.FileName);
            }
        }
        private void WriteButton_Click(object sender, EventArgs e)
        {
            PDFwriter writer = new PDFwriter();

            writer.Write();
        }