private void Splitter_Panel1_Click(object sender, EventArgs e)
{
if (m_digitCommand == null)
m_digitCommand = CurrentDigitTool.CurrentTool.currentDigit;
if (m_digitCommand != null)
m_digitCommand.EndFeedBack();
m_createNode = true;
if (m_curPanel != Splitter.Panel1 || m_clickPanel == false)
{
m_clickPanel = true;
m_curPanel = Splitter.Panel1;
foreach (System.Windows.Forms.Control ctrl in Splitter.Panel2.Controls)
ctrl.Enabled = false;
foreach (System.Windows.Forms.Control ctrl in Splitter.Panel1.Controls)
ctrl.Enabled = true;
lblMode.Text = "Create Node";
if (m_curPanel == Splitter.Panel1)
{
btnOKPanel1.Visible = false;
ErrorProvider1.SetError(btnOKPanel1, "");
}
else
{
btnOKPanel2.Visible = false;
ErrorProvider1.SetError(btnOKPanel2, "");
}
System.EventArgs e2 = new System.EventArgs();
cboType_SelectedIndexChanged(sender, e2);
}
}