Esempio n. 1
0
        private void ToolStripMenuItem_add_Click(object sender, EventArgs e)
        {
            VibrationCableList        tmpData = null;
            Add_Modify_VibrationCable tmpAdd_Modify_VibrationCable = new Add_Modify_VibrationCable(tmpData);

            tmpAdd_Modify_VibrationCable.ShowDialog();
            if (tmpAdd_Modify_VibrationCable.result == DialogResult.OK)
            {
                GetVibrationCableList();
            }
        }
Esempio n. 2
0
        private void ToolStripMenuItem_edittype_Click(object sender, EventArgs e)
        {
            VibrationCableList tmpData = new VibrationCableList();

            for (int i = 0; i < tmpListVibrationCable.Count; i++)
            {
                if (tmpListVibrationCable[i].DeviceID == _VibrationCableList.DeviceID)
                {
                    tmpData = tmpListVibrationCable[i];
                    break;
                }
            }
            Add_Modify_VibrationCable tmpAdd_Modify_VibrationCable = new Add_Modify_VibrationCable(tmpData);

            tmpAdd_Modify_VibrationCable.ShowDialog();
            if (tmpAdd_Modify_VibrationCable.result == DialogResult.OK)
            {
                GetVibrationCableList();
            }
        }