Inheritance: PurplePen.OkCancelDialog
        private void marginChange_Click(object sender, EventArgs e)
        {
            UpdateSettings();

            PrinterMargins printerMarginsDialog = new PrinterMargins();

            printerMarginsDialog.EnableOrientation = false;

            DialogResult result = printerMarginsDialog.ShowDialog(this);

            if (result == DialogResult.OK)
            {
                UpdateDialog();
            }
        }
        private void marginChange_Click(object sender, EventArgs e)
        {
            UpdateSettings();

            PrinterMargins printerMarginsDialog = new PrinterMargins();
            printerMarginsDialog.EnableOrientation = false;

            DialogResult result = printerMarginsDialog.ShowDialog(this);
            if (result == DialogResult.OK) {
                UpdateDialog();
            }
        }