示例#1
0
 protected void OnShowNextControl(CreateCertificateControl nextControl)
 {
     if (ShowNextControl != null)
       {
     ShowNextControl(nextControl);
       }
 }
示例#2
0
 private void Control_ShowNextControl(CreateCertificateControl nextControl)
 {
     SetControl(nextControl, null);
 }
示例#3
0
        private void SetControl(CreateCertificateControl control, CreateDialogStatus status)
        {
            Controls.Clear();

              this.control = control;

              if (status != null)
              {
            this.control.Status = status;
              }

              this.control.Dock = DockStyle.Fill;
              this.control.ShowNextControl += new ShowNextControlHandler(Control_ShowNextControl);
              this.control.CloseCreateDialog += new CloseCreateDialogHandler(Control_CloseCreateDialog);
              this.control.Prepare();
              this.Controls.Add(this.control);
        }