Пример #1
0
 private void addModelViewerToRightPanel(ModelViewer mv)
 {
     mv.Width       = 200;
     mv.Height      = 200;
     mv.BorderStyle = BorderStyle.FixedSingle;
     mv.BackColor   = Color.White;
     this.partBasket.Controls.Add(mv);
 }
Пример #2
0
        private void addSelectedParts_Click(object sender, EventArgs e)
        {
            ModelViewer mv = this.glViewer.addSelectedPartsToBasket();

            if (mv != null)
            {
                mv.Width       = 200;
                mv.Height      = 200;
                mv.BorderStyle = BorderStyle.FixedSingle;
                mv.BackColor   = Color.White;
                this.partBasket.Controls.Add(mv);
            }
        }