public ShapeCaptionsManager(ICaptionHost host, CaptionCreationRequested captionCreationRequested) { _hostShape = host; _captionCreationRequested = captionCreationRequested; btnDraw = new ClusterButton(); btnDraw.btn.Click += __bntDraw; btnDraw.SetBrush((System.Windows.Media.Brush) Application.Current.TryFindResource("editBrush")); btnType = new ClusterButton(); btnType.btn.Click += __bntType; btnType.SetBrush((System.Windows.Media.Brush)Application.Current.TryFindResource("keyboard")); }
public ShapeCaptionsManager(ICaptionHost host, CaptionCreationRequested captionCreationRequested) { _hostShape = host; _captionCreationRequested = captionCreationRequested; btnDraw = new ClusterButton(); btnDraw.btn.Click += __bntDraw; btnDraw.SetBrush((System.Windows.Media.Brush)Application.Current.TryFindResource("editBrush")); btnType = new ClusterButton(); btnType.btn.Click += __bntType; btnType.SetBrush((System.Windows.Media.Brush)Application.Current.TryFindResource("keyboard")); }
public ClusterCaptions(VdCluster cluster, CaptionCreationRequested captionCreationRequested) { this.cluster = cluster; _captionCreationRequested = captionCreationRequested; btnDraw = new ClusterButton(); btnDraw.btn.Click += __bntDraw; btnDraw.SetBrush((System.Windows.Media.Brush)Application.Current.TryFindResource("editBrush")); btnType = new ClusterButton(); btnType.btn.Click += __bntType; btnType.SetBrush((System.Windows.Media.Brush)Application.Current.TryFindResource("typeBrush")); }