Exemplo n.º 1
0
        public TestCanvasForm()
        {
            InitializeComponent();

            m_data = new DataModel();



            this.m_canvas = new CanvasCtrl(this, m_data);
            this.SuspendLayout();
            // 
            // canvasCtrl1
            // 
            this.m_canvas.BackColor = System.Drawing.Color.Silver;
            this.m_canvas.Location = new System.Drawing.Point(0, 0);
            this.m_canvas.Name = "canvasCtrl1";
            this.m_canvas.Size = new System.Drawing.Size(740, 848);
            this.m_canvas.TabIndex = 0;

            Controls.Add(m_canvas);
            this.ResumeLayout(false);

        }
Exemplo n.º 2
0
 public NotationPanel()
 {
     m_data = new DataModel();
     InitializeComponent();
     BorderStyle = BorderStyle.FixedSingle;
 }