private void BtnClientCertificate_Click(object sender, EventArgs e)
        {
            this.Hide();
            string year = DateTime.Now.Year.ToString();
            frmClientCertificateList frm = new frmClientCertificateList(year, txtCompanyNoBox.Text, "CTS080", "クライアント証明書一覧");

            frm.ShowDialog();
            this.Show();
            //BindGrid(fromDate, toDate);
            this.BringToFront();
        }
Ejemplo n.º 2
0
 private void OpenClientCertificateScreen(string programID, string programName)
 {
     if (!(Application.OpenForms.OfType <frmClientCertificateList>().Count() == 1))
     {
         frmClientCertificateList form = new frmClientCertificateList(programID, programName);
         form.Show();
     }
     else
     {
         MetroMessageBox.Show(this, "\n" + Messages.DepositConfirmationMenu.ProcessAlreadyRunning, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         //need change after message list
     }
 }