Пример #1
0
 private void FrmImageParaTeach_Load(object sender, EventArgs e)
 {
     view1 = DisplaySystem.GetViewControl("Local");
     DisplaySystem.AddPanelForCCDView("Local", panel1);
     InitSubFrmList();
     SwitchSubFrm(SubFormIndex);
     SwitchStepButton(SubFormIndex);
 }
Пример #2
0
 public FrmCali9PtPara(CaliParam CaliParaIn)
 {
     InitializeComponent();
     TeachCaliPara = CaliParaIn;
     MotionManager.Instance.SetCoordi(TeachCaliPara.coordi);
     view1 = DisplaySystem.GetViewControl("Cali");
     DisplaySystem.AddPanelForCCDView("Cali", panel1);
     this.LocalModelCbx.Items.Clear();
     foreach (LocalModelEnum temp in Enum.GetValues(typeof(LocalModelEnum)))
     {
         this.LocalModelCbx.Items.Add(temp);
     }
     LocalModelCbx.SelectedIndex = (int)TeachCaliPara.localPara.localSetting.localModel;
 }
Пример #3
0
 private void FrmAutoFocus_Load(object sender, EventArgs e)
 {
     view = DisplaySystem.GetViewControl("FocusPanel");
     DisplaySystem.AddPanelForCCDView("FocusPanel", panel1);
     CamCbx.SelectedIndex       = 0;
     LightPanelCbx.SelectedItem = 0;
     ////增加处理,显示
     //view.Repaint();
     //view.ResetView();
     //view.Refresh();
     //view.AddViewImage(img);
     //view.Repaint();
     ColorPanelCbx.SelectedItem = 0;
     this.FormClosing          += MyFormClosing;
 }
Пример #4
0
 private void FrmCameraManager_Load(object sender, EventArgs e)
 {
     view = DisplaySystem.GetViewControl("CameraManager");
     DisplaySystem.AddPanelForCCDView("CameraManager", panel1);
     this.cameraNameDataGridViewTextBoxColumn.Items.Clear();
     foreach (CameraEnum temp in Enum.GetValues(typeof(CameraEnum)))
     {
         this.cameraNameDataGridViewTextBoxColumn.Items.Add(temp);
     }
     this.CameInterfaceDataGridViewTextBoxColumn.Items.Clear();
     foreach (CamInterfaceEnum temp in Enum.GetValues(typeof(CamInterfaceEnum)))
     {
         this.CameInterfaceDataGridViewTextBoxColumn.Items.Add(temp);
     }
     this.CamParaDgv.DataSource = CameraParaManager.Instance.CameraParaList;
 }
Пример #5
0
 private void FrmCamLightCtrl_Load(object sender, EventArgs e)
 {
     view1 = DisplaySystem.GetViewControl("Test");
     DisplaySystem.AddPanelForCCDView("Test", panel1);
     this.CamCbx.SelectedIndexChanged += new System.EventHandler(this.CamCbx_SelectedIndexChanged);
 }