private void MenuSubscribeClick(object sender, RoutedEventArgs e) { var win = new DecorableWindow(); win.SizeToContent = SizeToContent.WidthAndHeight; win.CanResize = false; win.MinMaxButtonVisibility = Visibility.Hidden; win.MinimizeButtonVisibility = Visibility.Hidden; win.Content = new SubscribeMessageLarge(); win.Title = "Subscribe"; win.ShowDialog(); }
public OctgnDecorator(DecorableWindow decoratedWindow) : base(decoratedWindow) { MainBorder = GetContainer(); ContentArea = GetContentArea(); }
public NativeDecorator(DecorableWindow decorated) : base(decorated) { IsUndoable = true; }
private void MenuFeatureFundingClick(object sender, RoutedEventArgs e) { var win = new DecorableWindow(); win.SizeToContent = SizeToContent.WidthAndHeight; win.CanResize = false; win.MinMaxButtonVisibility = Visibility.Hidden; win.MinimizeButtonVisibility = Visibility.Hidden; win.Content = new FeatureFundingMessage(); win.Title = "Feature Funding"; win.ShowDialog(); }