public CreateCertificateDlg() { InitializeComponent(); KeySizeCB.Items.Add("1024"); KeySizeCB.Items.Add("2048"); KeySizeCB.SelectedIndex = 0; KeyFormatCB.Items.Add("PFX"); KeyFormatCB.Items.Add("PEM"); KeyFormatCB.SelectedIndex = 0; } #endregion