Ejemplo n.º 1
0
        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"));
        }
Ejemplo n.º 2
0
        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"));
        }
Ejemplo n.º 3
0
        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"));
        }
Ejemplo n.º 4
0
        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"));
        }