Exemple #1
0
        private void button_certificate_Click(object sender, EventArgs e)
        {
            CertificateDialog dlg = new CertificateDialog();

            dlg.SN            = LineInfo.CertificateSN;
            dlg.StartPosition = FormStartPosition.CenterScreen;
            if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.Cancel)
            {
                return;
            }

            LineInfo.CertificateSN = dlg.SN;
        }
Exemple #2
0
        private void button_certificate_Click(object sender, EventArgs e)
        {
            CertificateDialog dlg = new CertificateDialog();

            dlg.SN = LineInfo.CertificateSN;
            dlg.StartPosition = FormStartPosition.CenterScreen;
            if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.Cancel)
                return;

            LineInfo.CertificateSN = dlg.SN;
        }