Esempio n. 1
0
        private void FormAxis_Load(object sender, EventArgs e)
        {
            xx = this.Tag as NationalInstruments.UI.Axis;

            this.Text = xx.Caption + "坐标设置";
            propertyEditor1.Source = new NationalInstruments.UI.PropertyEditorSource(xx, "BaseLineColor");
            propertyEditor8.Source = new NationalInstruments.UI.PropertyEditorSource(xx, "Caption");
            propertyEditor2.Source = new NationalInstruments.UI.PropertyEditorSource(xx.Range, "Minimum");
            propertyEditor3.Source = new NationalInstruments.UI.PropertyEditorSource(xx.Range, "Maximum");
            propertyEditor4.Source = new NationalInstruments.UI.PropertyEditorSource(xx, "ScaleType");
            propertyEditor5.Source = new NationalInstruments.UI.PropertyEditorSource(xx.MajorDivisions, "GridVisible");
            propertyEditor6.Source = new NationalInstruments.UI.PropertyEditorSource(xx.MajorDivisions, "GridLineStyle");
            propertyEditor7.Source = new NationalInstruments.UI.PropertyEditorSource(xx.MajorDivisions, "Interval");
        }
Esempio n. 2
0
 private void FormAxis_Load(object sender, EventArgs e)
 {
     xx = this.Tag as NationalInstruments.UI.Axis;
     if (CComLibrary.GlobeVal.languageselect == 0)
     {
         this.Text = xx.Caption + "坐标设置";
     }
     else
     {
         this.Text = xx.Caption + " coordinate setting";
     }
     propertyEditor1.Source = new NationalInstruments.UI.PropertyEditorSource(xx, "BaseLineColor");
     propertyEditor8.Source = new NationalInstruments.UI.PropertyEditorSource(xx, "Caption");
     propertyEditor2.Source = new NationalInstruments.UI.PropertyEditorSource(xx.Range, "Minimum");
     propertyEditor3.Source = new NationalInstruments.UI.PropertyEditorSource(xx.Range, "Maximum");
     propertyEditor4.Source = new NationalInstruments.UI.PropertyEditorSource(xx, "ScaleType");
     propertyEditor5.Source = new NationalInstruments.UI.PropertyEditorSource(xx.MajorDivisions, "GridVisible");
     propertyEditor6.Source = new NationalInstruments.UI.PropertyEditorSource(xx.MajorDivisions, "GridLineStyle");
     propertyEditor7.Source = new NationalInstruments.UI.PropertyEditorSource(xx.MajorDivisions, "Interval");
 }