public void Request() { try { if (scpProxy.Load()) { m_SelectedProfile = m_Active = scpProxy.Active; cbProfile.Items.Clear(); cbProfile.Items.AddRange(scpProxy.Mapper.Profiles); cbProfile.SelectedItem = m_SelectedProfile; cbPad.SelectedIndex = m_SelectedPad = 0; m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); ResetControls(); } m_Editing = false; m_CanSave = true; scpProxy.Start(); } catch { } }
protected void btnEdit_Click(object sender, EventArgs e) { m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); m_PropForm = new ProfileProperties(scpProxy.Mapper.Map[m_SelectedProfile], m_Detail.Pad, m_Detail.Local, true); m_PropForm.FormClosed += Props_Close; m_PropForm.VisibleChanged += Props_Visible; m_PropForm.Show(this); }
protected void Pad_Selected(object sender, EventArgs e) { lock (this) { m_SelectedPad = cbPad.SelectedIndex; m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); ResetControls(); } }
private void btnAdd_Click(object sender, EventArgs e) { var Profile = new Profile("<New Profile>"); m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); m_PropForm = new ProfileProperties(Profile, m_Detail.Pad, m_Detail.Local, true); m_PropForm.FormClosed += Props_Close; m_PropForm.VisibleChanged += Props_Visible; m_PropForm.Show(this); }
protected void btnAdd_Click(object sender, EventArgs e) { Profile Profile = new Profile("<New Profile>"); m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); m_PropForm = new ProfileProperties(Profile, m_Detail.Pad, m_Detail.Local, true); m_PropForm.FormClosed += Props_Close; m_PropForm.VisibleChanged += Props_Visible; m_PropForm.Show(this); }
public void Request() { m_SelectedProfile = m_Active = scpProxy.ActiveProfile; cbProfile.Items.Clear(); cbProfile.Items.AddRange(scpProxy.Mapper.Profiles); cbProfile.SelectedItem = m_SelectedProfile; cbPad.SelectedIndex = m_SelectedPad = 0; m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); ResetControls(); m_Editing = false; m_CanSave = true; }
private void btnEdit_Click(object sender, EventArgs e) { m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); m_PropForm = new ProfileProperties(scpProxy.Mapper.Map[m_SelectedProfile], m_Detail.Pad, m_Detail.Local, true); m_PropForm.FormClosed += Props_Close; m_PropForm.VisibleChanged += Props_Visible; m_PropForm.Show(this); }
private void Pad_Selected(object sender, EventArgs e) { lock (this) { m_SelectedPad = cbPad.SelectedIndex; m_Detail = scpProxy.Detail((DsPadId)m_SelectedPad); ResetControls(); } }