Exemplo n.º 1
0
        private void btnDevice1_Click(object sender, EventArgs e)
        {
            Button btn      = ((Button)sender);
            int    mainbelt = Convert.ToInt32(System.Text.RegularExpressions.Regex.Replace(btn.Name, @"[^0-9]+", ""));

            fd            = new FM_Device();
            handledevice += fd.GetMainInfo;
            handledevice(mainbelt, listuinongroup, IsOnLine);
            fd.ShowDialog();
        }
Exemplo n.º 2
0
        private void 合流ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FM_Device fd = new FM_Device();

            handledive += fd.GetMainInfo;
        }