예제 #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;
        }
예제 #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;
        }