Example #1
0
        private void AssignBtn_Click(object sender, EventArgs e)
        {
            if (ModLB.Items.Count <= 0)
            {
                return;
            }
            WinAssignSpec myWin = new WinAssignSpec(myMgr, ModLB.SelectedIndex);

            myWin.ShowDialog();
            myMgr.GetParamtersFromDevice(ModLB.SelectedIndex);
            UpdateUI(ModLB.SelectedIndex);
            myMgr.SaveMachineSettings(Para.MchConfigFileName);
        }