Inheritance: PurplePen.OkCancelDialog
Esempio n. 1
0
        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();
            }
        }
Esempio n. 2
0
        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();
            }
        }