public SilverlightHTView(HTModel model)
        {
            this.model = model;
            draw = new HTDraw(model, this);
            action = new HTAction(draw);
            this.Width = 500;
            this.Height = 500;

            StartMouseListening();
        }
Exemple #2
0
        public SilverlightHTView(HTModel model)
        {
            this.model  = model;
            draw        = new HTDraw(model, this);
            action      = new HTAction(draw);
            this.Width  = 500;
            this.Height = 500;

            StartMouseListening();
        }
        public SilverlightHTView(HTModel model)
        {
            InitializeComponent();  //What does this method do?
            this.model  = model;
            draw        = new HTDraw(model, this);
            action      = new HTAction(draw);
            this.Width  = 500;
            this.Height = 500;

            /*TextBlock tiptext = new TextBlock() { TextWrapping = TextWrapping.Wrap };
             * tiptext.Text = toolTipText;
             *
             * ToolTipService.SetToolTip(this,tiptext);*/

            StartMouseListening();
        }
        public SilverlightHTView(HTModel model)
        {
            InitializeComponent();  //What does this method do?
            this.model = model;
            draw = new HTDraw(model, this);
            action = new HTAction(draw);
            this.Width = 500;
            this.Height = 500;

            /*TextBlock tiptext = new TextBlock() { TextWrapping = TextWrapping.Wrap };
            tiptext.Text = toolTipText;

            ToolTipService.SetToolTip(this,tiptext);*/

            StartMouseListening();
        }