コード例 #1
0
 protected void InitializeComponents(string aText, float aMinValue, float aMaxValue, float aStartValue,
                                     bool aOneToOneScaleFlag, string aXText, string aYText, string aZText,
                                     float aDownScaleMinValue, float aDownScaleMaxValue)
 {
     myXSlider = new SliderComponent(new Point(myLocation.X, myLocation.Y + 15),
                                     new Size(175, 13), myIO, myPanelName, aMinValue, aMaxValue, aStartValue, aOneToOneScaleFlag,
                                     aDownScaleMinValue, aDownScaleMaxValue);
     myYSlider = new SliderComponent(new Point(myLocation.X, myLocation.Y + 30),
                                     new Size(175, 13), myIO, myPanelName, aMinValue, aMaxValue, aStartValue, aOneToOneScaleFlag,
                                     aDownScaleMinValue, aDownScaleMaxValue);
     myZSlider = new SliderComponent(new Point(myLocation.X, myLocation.Y + 45),
                                     new Size(175, 13), myIO, myPanelName, aMinValue, aMaxValue, aStartValue, aOneToOneScaleFlag,
                                     aDownScaleMinValue, aDownScaleMaxValue);
 }
コード例 #2
0
 protected void InitializeComponents(string aText, float aMinValue, float aMaxValue, float aStartValue,
     bool aOneToOneScaleFlag, string aXText, string aYText, string aZText,
     float aDownScaleMinValue, float aDownScaleMaxValue)
 {
     myXSlider = new SliderComponent(new Point(myLocation.X, myLocation.Y + 15),
         new Size(175, 13), aXText, aMinValue, aMaxValue, aStartValue, aOneToOneScaleFlag,
         aDownScaleMinValue, aDownScaleMaxValue);
     myYSlider = new SliderComponent(new Point(myLocation.X, myLocation.Y + 30),
         new Size(175, 13), aYText, aMinValue, aMaxValue, aStartValue, aOneToOneScaleFlag,
         aDownScaleMinValue, aDownScaleMaxValue);
     myZSlider = new SliderComponent(new Point(myLocation.X, myLocation.Y + 45),
         new Size(175, 13), aZText, aMinValue, aMaxValue, aStartValue, aOneToOneScaleFlag,
         aDownScaleMinValue, aDownScaleMaxValue);
 }