コード例 #1
0
        public ucMounter3d()
        {
            InitializeComponent();

            ModelBase modelbaseMounter = new ModelBase("mounter");

            mounterContainer.Children.Add(modelbaseMounter);
            modelbaseMounter.MouseDown += mounter_MouseDown;

            ModelBase modelbaseTV = new ModelBase("tv");

            mounterContainer.Children.Add(modelbaseTV);
            modelbaseTV.MouseDown += front_MouseDown;

            ModelBase modelbaseCard1 = new ModelBase("card1");

            mounterContainer.Children.Add(modelbaseCard1);
            modelbaseCard1.Move(-161.753, 23.0741, 412.552, 0);
            modelbaseCard1.MouseDown += front_MouseDown;

            ModelBase modelbaseCard2 = new ModelBase("card1");

            mounterContainer.Children.Add(modelbaseCard2);
            modelbaseCard2.Move(163.301, 23.0741, 412.552, 0);
            modelbaseCard2.MouseDown += front_MouseDown;

            ModelBase modelbaseCard3 = new ModelBase("card1");

            mounterContainer.Children.Add(modelbaseCard3);
            modelbaseCard3.Move(-161.753, 29.8288, -440.465, 180);
            modelbaseCard3.MouseDown += back_MouseDown;

            ModelBase modelbaseCard4 = new ModelBase("card1");

            mounterContainer.Children.Add(modelbaseCard4);
            modelbaseCard4.Move(163.301, 29.8288, -440.465, 180);
            modelbaseCard4.MouseDown += back_MouseDown;

            ModelBase modelbaseBox1 = new ModelBase("box1");

            mounterContainer.Children.Add(modelbaseBox1);
            modelbaseBox1.Move(-161.753, 23.0741, 412.552, 0);
            modelbaseBox1.MouseDown += front_MouseDown;

            ModelBase modelbaseBox2 = new ModelBase("box1");

            mounterContainer.Children.Add(modelbaseBox2);
            modelbaseBox2.Move(163.301, 23.0741, 412.552, 0);
            modelbaseBox2.MouseDown += front_MouseDown;

            ModelBase modelbaseBox3 = new ModelBase("box1");

            mounterContainer.Children.Add(modelbaseBox3);
            modelbaseBox3.Move(-161.753, 29.8288, -440.465, 0);
            modelbaseBox3.MouseDown += back_MouseDown;

            ModelBase modelbaseBox4 = new ModelBase("box1");

            mounterContainer.Children.Add(modelbaseBox4);
            modelbaseBox4.Move(163.301, 29.8288, -440.465, 0);
            modelbaseBox4.MouseDown += back_MouseDown;
        }