示例#1
0
 private void FormMaterialVelocity_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
     initMatVelocity();
     longitudinal.Checked = true;
     getMaterialVelocity("Longitudinal");
 }
示例#2
0
        private void FormRecordFigure_Load(object sender, EventArgs e)
        {
            MultiLanguage.getNames(this);
            this.FormBorderStyle = FormBorderStyle.None;

            //initColorBar();
        }
示例#3
0
        private void FormMeasurementMap_Load(object sender, EventArgs e)
        {
            MultiLanguage.getNames(this);
            setControls(sender, e);

            tablePanel             = new TableLayoutPanel();
            tablePanel.Parent      = this.measureShow.Panel2;
            tablePanel.Dock        = DockStyle.Fill;
            tablePanel.ColumnCount = 2;
            tablePanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 80f));
            tablePanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f));
            tablePanel.BackColor = Color.FromArgb(192, 255, 192);
        }
示例#4
0
文件: FormFocus.cs 项目: zjyu1/ASCAN
 public FormFocus(MainForm mainform, Groove gro, UltraWedge wed, UltraProbe pro, UTPosition pos)
 {
     InitializeComponent();
     MultiLanguage.getNames(this);
     SetDefaultGate();
     formgatesetting = new FormGateSetting(this, gateB);
     //Getpara();
     this.mainform = mainform;
     groove        = gro;
     wedge         = wed;
     probe         = pro;
     position      = pos;
     grooveheight  = groove.height.Sum();
     AutoSetpara();
 }
示例#5
0
        public FormDetectionMode(MainForm mainform, List <SessionInfo> sessionsAttrs)
        {
            this.sessionsAttrs = sessionsAttrs;
            this.mainform      = mainform;
            InitializeComponent();
            MultiLanguage.getNames(this);
            InitCommon();
            InitGate();
            ReadDetectionFile();
            pagetofd.Parent = null;

            foreach (SessionInfo se in sessionsAttrs)
            {
                if (se.sessionIndex == 1)
                {
                    TOFDDetectioninfo tofdinfo = new TOFDDetectioninfo();
                    detectionmode.tofdinfolist.Add(tofdinfo);
                }
            }
        }
示例#6
0
文件: FormModify.cs 项目: zjyu1/ASCAN
        public FormModify(FormFocus fromFocus, int flag, Groove gro, int meth)
        {
            InitializeComponent();
            MultiLanguage.getNames(this);

            this.formFocus = fromFocus;
            modifyflag     = flag;
            groove         = gro;
            method         = meth;
            if (modifyflag == 0)
            {
                methodlabel.Visible = false;
                methodbox.Visible   = false;
            }
            Yrange.Text     = "";
            Anglerange.Text = "";
            if (modifyflag == 0)
            {
                Setrange();
            }
        }
示例#7
0
        private void groupToolStrip_Click(object sender, EventArgs e)
        {
            //检测时该菜单不应该响应
            if (MainForm.IsStart)
            {
                MessageShow.show("Measurement has been started, please stop it first.", "检测已启动,请先停止检测。");
                return;
            }

            if (!isSaved)
            {
                DialogResult result = MessageShow.showSelecting("Map datas are not saved and setting the parameters will clear these datas. Do you want to continue?",
                                                                "融合图未保存,重新设置融合参数将会清空数据。是否继续?");
                if (result == DialogResult.No)
                {
                    return;
                }
            }
            formMeasurementSet.ShowDialog();
            clearCycelList();
            refreshTabelLayout();
            MultiLanguage.getNames(this);
        }
示例#8
0
 private void FormGateInfo_Load(object sender, EventArgs e)
 {
     this.FormBorderStyle = FormBorderStyle.None;
     MultiLanguage.getNames(this);
 }
示例#9
0
 private void MeasurementSet_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
 }
示例#10
0
 private void FormProduct_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
 }
示例#11
0
 private void FormToranceMonitor_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
     initTolerance();
 }
示例#12
0
 private void SaveDialog_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
 }
示例#13
0
 private void FormSelecting_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
 }
示例#14
0
 private void FormTriggerMode_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
     init();
 }
示例#15
0
 private void FormConditioningParameters_Load(object sender, EventArgs e)
 {
     MultiLanguage.getNames(this);
     init();
 }