private void ShowDialogInternal(ParagraphPropertiesDialogContext context) { this.context = context; this.SetInitialValues(); this.UpdateUI(this.initialProperties); this.SetOwner(this.context.Owner); this.applyCallback = this.context.ApplyPropCallback; this.ShowDialog(); }
private void ShowDialogInternal(ParagraphPropertiesDialogContext context) { this.context = context; this.UpdateUI(this.context.StyleInfo); #if WPF this.SetOwner(this.context.Owner); #else this.SetOwner(null); #endif this.applyCallback = this.context.ApplyPropCallback; this.ShowDialog(); }
public void ShowDialog(ParagraphPropertiesDialogContext context) { this.ShowDialogInternal(context); }