public NaviBtnLogin() { InitializeComponent(); this.btnLogin.Click += BtnLogin_Click; UserControlEx UserControlEx = new UserControlEx(); this.btnLogin.MouseMove += UserControlEx.ReadDisplayTip; this.btnLogin.MouseLeave += UserControlEx.DisopTip; }
public NaviBtnVision() { InitializeComponent(); this.btnCamera.Click += BtnCamera_Click; UserControlEx UserControl = new UserControlEx(); this.btnCamera.MouseMove += UserControl.ReadDisplayTip; this.btnCamera.MouseLeave += UserControl.DisopTip; }
public ManualControl() { InitializeComponent(); UserControlEx UserControl = new UserControlEx(); foreach (Control controls in this.Controls) { controls.MouseMove += UserControl.ReadDisplayTip; controls.MouseLeave += UserControl.DisopTip; } }
public NavigateProgram() { InitializeComponent(); this.btnMain.Click += BtnMain_Click; UserControlEx UserControl = new UserControlEx(); foreach (Control controls in this.Controls) { controls.MouseMove += UserControl.ReadDisplayTip; controls.MouseLeave += UserControl.DisopTip; } }
public NavigateRun() { InitializeComponent(); Executor.Instance.OnStateChanged += Instance_OnStateChanged; Executor.Instance.OnWorkStateChanged += Instance_OnWorkStateChanged; UserControlEx UserControl = new UserControlEx(); foreach (Control controls in this.Controls) { controls.MouseMove += UserControl.ReadDisplayTip; controls.MouseLeave += UserControl.DisopTip; } }
public NavigateMain() { InitializeComponent(); this.btnEditPgm.Click += BtnEditPgm_Click; this.btnExit.Click += BtnExit_Click; UserControlEx UserControl = new UserControlEx(); foreach (Control controls in this.Controls) { controls.MouseMove += UserControl.ReadDisplayTip; controls.MouseLeave += UserControl.DisopTip; } }
public NaviBtnLoc() { InitializeComponent(); this.cms = new ContextMenuStrip(); if (Machine.Instance.Robot != null) { foreach (var item in Machine.Instance.Robot.SystemLocations.All) { this.cms.Items.Add(item.Key); } } this.cms.ItemClicked += Cms_ItemClicked; this.btnInit.Click += BtnInit_Click; UserControlEx UserControlEx = new UserControlEx(); this.btnInit.MouseMove += UserControlEx.ReadDisplayTip; this.btnInit.MouseLeave += UserControlEx.DisopTip; }