Ejemplo n.º 1
0
        public MPDICamera()
        {
            InitializeComponent();

            m_ViewWidthHeightUI.SetupDateType(2);
            m_ViewWidthHeightUI.m_MainGrid.ColumnDefinitions[0].Width = new GridLength(100, GridUnitType.Pixel);
            m_ViewWidthHeightUI.LabelContent("Width,Height");

            m_PosUI.SetupDateType(3);
            m_PosUI.m_MainGrid.ColumnDefinitions[0].Width = new GridLength(80, GridUnitType.Pixel);
            m_PosUI.LabelContent("X,Z,Z");

            m_AngleUI.SetupDateType(3);
            m_AngleUI.m_MainGrid.ColumnDefinitions[0].Width = new GridLength(80, GridUnitType.Pixel);
            m_AngleUI.LabelContent("X,Z,Z");

            m_Angle = (CoreWPF.Common.XYZNumeric)m_AngleUI.m_DataObject;
            m_Pos = (CoreWPF.Common.XYZNumeric)m_PosUI.m_DataObject;
            m_ViewWidthHeight = (CoreWPF.Common.XYNumeric)m_ViewWidthHeightUI.m_DataObject;

            m_Angle.SetMaximum(999999999);
            m_Angle.SetMinimum(-999999999);
            m_Pos.SetMaximum(999999999);
            m_Pos.SetMinimum(-999999999);
            m_ViewWidthHeight.SetMaximum(999999999);
            m_ViewWidthHeight.SetMinimum(-999999999);
        }
Ejemplo n.º 2
0
        public MPDICamera()
        {
            InitializeComponent();

            m_ViewWidthHeightUI.SetupDateType(2);
            m_ViewWidthHeightUI.m_MainGrid.ColumnDefinitions[0].Width = new GridLength(100, GridUnitType.Pixel);
            m_ViewWidthHeightUI.LabelContent("Width,Height");

            m_PosUI.SetupDateType(3);
            m_PosUI.m_MainGrid.ColumnDefinitions[0].Width = new GridLength(80, GridUnitType.Pixel);
            m_PosUI.LabelContent("X,Z,Z");


            m_AngleUI.SetupDateType(3);
            m_AngleUI.m_MainGrid.ColumnDefinitions[0].Width = new GridLength(80, GridUnitType.Pixel);
            m_AngleUI.LabelContent("X,Z,Z");

            m_Angle           = (CoreWPF.Common.XYZNumeric)m_AngleUI.m_DataObject;
            m_Pos             = (CoreWPF.Common.XYZNumeric)m_PosUI.m_DataObject;
            m_ViewWidthHeight = (CoreWPF.Common.XYNumeric)m_ViewWidthHeightUI.m_DataObject;

            m_Angle.SetMaximum(999999999);
            m_Angle.SetMinimum(-999999999);
            m_Pos.SetMaximum(999999999);
            m_Pos.SetMinimum(-999999999);
            m_ViewWidthHeight.SetMaximum(999999999);
            m_ViewWidthHeight.SetMinimum(-999999999);
        }