public PageSetupSensors() { InitializeComponent(); this.ShowBorder = false; //this.ReadLanguageResources(); this.settingLaser = new SettingLaserControl().Setup(); this.settingScale = new SettingScaleControl().Setup(); this.settingPropors = new SettingProportionerControl().Setup(); this.settingScanner = new SettingBarcodeScanControl(0).Setup(); this.settingHeater = new SettingHeaterControl().Setup(); this.setupTree(); this.setupGroupBoxCom(); this.btnHeight_Click(null, null); Control[] controls = this.Controls.Find(this.label2.Name, true); Control[] controls2 = this.Controls.Find(this.label4.Name, true); this.timer = new Timer(); this.timer.Interval = 100; this.timer.Tick += Timer_Tick; this.timer.Start(); //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageJobsFluid() { InitializeComponent(); //权限 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSetupAccess() { InitializeComponent(); this.initialDgvComponent(); //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSystemCPK() { InitializeComponent(); this.ShowBorder = false; //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSetupMachine() { InitializeComponent(); this.ShowBorder = false; this.propertyGrid1.SelectedObject = Machine.Instance.Setting; if (Machine.Instance.Setting != null) { this.SettingBackUp = (MachineSetting)Machine.Instance.Setting.Clone(); } //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSetupValves() { InitializeComponent(); this.ShowBorder = false; this.cmbValveSelect.SelectedIndexChanged += CmbValveSelect_SelectedIndexChanged; this.metroSetListBox1.SelectedIndexChanged += MetroSetListBox1_SelectedIndexChanged;; this.metroSetListBox2.SelectedIndexChanged += MetroSetListBox2_SelectedIndexChanged;; //this.ReadLanguageResources(); this.setup(); //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSetupWeight() { InitializeComponent(); this.ShowBorder = false; UserControlWeight ucw = new UserControlWeight(); ucw.ForeColor = Color.Black; this.Controls.Add(ucw); ucw.Setup(); //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSetupRobot() { InitializeComponent(); this.ShowBorder = false; if (Machine.Instance.Robot != null) { this.propertyGrid1.SelectedObject = Machine.Instance.Robot.DefaultPrm; } if (Machine.Instance.Robot.DefaultPrm != null) { this.DefaultPrmBackUp = (RobotDefaultPrm)Machine.Instance.Robot.DefaultPrm.Clone(); } //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }
public PageSystemHeater() { InitializeComponent(); this.ShowBorder = false; //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); FormThermostat form = new FormThermostat(); form.TopLevel = false; form.Parent = this; form.FormBorderStyle = FormBorderStyle.None; form.ForeColor = Color.Black; form.StartPosition = FormStartPosition.CenterParent; form.Show(); }
public PageSetupConveyors() { InitializeComponent(); this.ShowBorder = false; //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); ConveyorSettingForm form = new ConveyorSettingForm(2); form.TopLevel = false; form.Parent = this; form.FormBorderStyle = FormBorderStyle.None; form.ForeColor = Color.Black; form.StartPosition = FormStartPosition.CenterParent; form.Show(); }
public PageSetupAxes() { InitializeComponent(); this.ShowBorder = false; this.btnX.Mode = MetroSet_UI.Enums.ButtonMode.Selected; this.btnY.Mode = MetroSet_UI.Enums.ButtonMode.Selected; this.btnZ.Mode = MetroSet_UI.Enums.ButtonMode.Selected; this.btnA.Mode = MetroSet_UI.Enums.ButtonMode.Selected; this.btnB.Mode = MetroSet_UI.Enums.ButtonMode.Selected; this.axisControl1.HomeClicked += AxisControl_HomeClicked; this.btnX_Click(null, null); this.timer = new Timer(); this.timer.Interval = 50; this.timer.Tick += Timer_Tick; this.timer.Start(); //权限加载 this.accessExecutor = new AccessExecutor(this); this.LoadAccess(); AccessControlMgr.Instance.Register(this); }