protected override void OnLoaded() { MessageDialog.SetButtonState(this); }
static MessageDialog() { Class6.yDnXvgqzyB5jw(); MessageDialog.MessageProperty = DependencyProperty.Register("Message", typeof(string), typeof(MessageDialog), new PropertyMetadata(null)); MessageDialog.AffirmativeButtonTextProperty = DependencyProperty.Register("AffirmativeButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("OK")); MessageDialog.NegativeButtonTextProperty = DependencyProperty.Register("NegativeButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("Cancel")); MessageDialog.FirstAuxiliaryButtonTextProperty = DependencyProperty.Register("FirstAuxiliaryButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("Cancel")); MessageDialog.SecondAuxiliaryButtonTextProperty = DependencyProperty.Register("SecondAuxiliaryButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("Cancel")); MessageDialog.ButtonStyleProperty = DependencyProperty.Register("ButtonStyle", typeof(MessageDialogStyle), typeof(MessageDialog), new PropertyMetadata((object)MessageDialogStyle.Affirmative, (DependencyObject s, DependencyPropertyChangedEventArgs e) => MessageDialog.SetButtonState((MessageDialog)s))); }