//private SerialCom serialCom = new SerialCom();

        public Main()
        {
            InitializeComponent();


            propertyPanelController = new PropertyPanelController(this, property_panel);
            treeView.Size           = side_panel.Size;
            treeView.CreateTree();
            settingTreeView.CreateTree();
            this.chooseButton0.setChooseButton();
            this.chooseButton1.setChooseButton();
            this.chooseButton2.setChooseButton();
            this.chooseButton3.setChooseButton();
            this.chooseButton4.setChooseButton();
            this.chooseButton5.setChooseButton();
            this.toggleSwitch1.setToggleSwitch();
            this.toggleSwitch2.setToggleSwitch();
        }
 public PropertyControl()
 {
     InitializeComponent();
     propertyPanelController = new PropertyPanelController(this.property_panel);
     colorPicker             = propertyPanelController.colorPicker;
 }