Skybound.Gecko.PromptService.AlertCheck C# (CSharp) Méthode

AlertCheck() public méthode

public AlertCheck ( nsIDOMWindow aParent, string aDialogTitle, string aText, string aCheckMsg, bool &aCheckState ) : void
aParent nsIDOMWindow
aDialogTitle string
aText string
aCheckMsg string
aCheckState bool
Résultat void
        public void AlertCheck(nsIDOMWindow aParent, string aDialogTitle, string aText, string aCheckMsg, ref bool aCheckState)
        {
            ConfirmDialog dialog = new ConfirmDialog(aText, aDialogTitle, "OK", null, null, aCheckMsg);

            dialog.ShowDialog();

            aCheckState = dialog.CheckBoxChecked;
        }