Ejemplo n.º 1
0
 private void RT_Graphic_Load(object sender, EventArgs e)
 {
     RTgraph = new PointsGraphic(pc, AxesMode.Dynamic, AxesPosition.AllQuarters);
     //настройки по умолчанию
     PathTxt  = null;
     WaitTime = 25;
     RTgraph.Config.PriceForPointOX = 1;
     RTgraph.Config.PriceForPointOY = 1;
     RTgraph.Config.StepOX          = 25;
     RTgraph.Config.StepOY          = 25;
     RTgraph.Config.Grid            = true;
     RTgraph.Config.SmoothAngles    = true;
     //RTgraph.Config.DrawPoints = true;
     ActiveConnection   = false;
     Hidden             = false;
     cmb_BaundRate.Text = cmb_BaundRate.Items[4].ToString(); //9600
     cmb_PortName.Text  = cmb_PortName.Items[2].ToString();  //COM3
 }