示例#1
0
        public NaviBtnLogin()
        {
            InitializeComponent();
            this.btnLogin.Click += BtnLogin_Click;
            UserControlEx UserControlEx = new UserControlEx();

            this.btnLogin.MouseMove  += UserControlEx.ReadDisplayTip;
            this.btnLogin.MouseLeave += UserControlEx.DisopTip;
        }
示例#2
0
        public NaviBtnVision()
        {
            InitializeComponent();

            this.btnCamera.Click += BtnCamera_Click;
            UserControlEx UserControl = new UserControlEx();

            this.btnCamera.MouseMove  += UserControl.ReadDisplayTip;
            this.btnCamera.MouseLeave += UserControl.DisopTip;
        }
示例#3
0
        public ManualControl()
        {
            InitializeComponent();
            UserControlEx UserControl = new UserControlEx();

            foreach (Control controls in this.Controls)
            {
                controls.MouseMove  += UserControl.ReadDisplayTip;
                controls.MouseLeave += UserControl.DisopTip;
            }
        }
示例#4
0
        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;
            }
        }
示例#5
0
        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;
            }
        }
示例#6
0
        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;
            }
        }
示例#7
0
        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;
        }