Exemplo 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();
            }
        }
Exemplo 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();
            }
        }