/// <summary> /// COM / BMS 추가 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonSetNew_Click(object sender, EventArgs e) { MachineSet mMachineSet = new MachineSet(); DialogResult dr = mMachineSet.ShowDialog(); if (dr == DialogResult.OK) { ReadXMLFile(); } }
/// <summary> /// COM / BMS 수정 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonSetEdit_Click(object sender, EventArgs e) { if (this.mCurrentCom != null) { MachineSet mMachineSet = new MachineSet( this.mCurrentCom, this.mCurrentBaud, this.mCurrentLineName, this.mCurrentInterval); DialogResult dr = mMachineSet.ShowDialog(); if (dr == DialogResult.OK) { ReadXMLFile(); } //else if (dr == DialogResult.Cancel) } else { //MessageBox.Show("변경할 아이템을 선택해 주세요"); MetroMessageBox.Show(this, "변경할 아이템을 선택해 주세요.", "", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
public void SetAffinity (IMultimachineProcess p, MachineSet affinity) { throw new NotImplementedException (); }