private void StructToolStripMenuItem_Click(object sender, EventArgs e) { StructNameChangeForm l_ColumnNameChange = new StructNameChangeForm(this); l_ColumnNameChange.textBoxOriginal.Text = m_STBData.StructName; if (l_ColumnNameChange.ShowDialog(this) == DialogResult.OK) { m_STBData.StructName = l_ColumnNameChange.textBoxChange.Text; string l_strStructName = m_STBData.StructName == string.Empty ? "NULL" : m_STBData.StructName; this.Text = "Demo R.O.S.E.STB.Editor.Form" + "( " + m_strFileName + " )" + " Name = " + l_strStructName + " "; } }
private void StructToolStripMenuItem_Click( object sender, EventArgs e ) { StructNameChangeForm l_ColumnNameChange = new StructNameChangeForm( this ); l_ColumnNameChange.textBoxOriginal.Text = m_STBData.StructName; if ( l_ColumnNameChange.ShowDialog( this ) == DialogResult.OK ) { m_STBData.StructName = l_ColumnNameChange.textBoxChange.Text; string l_strStructName = m_STBData.StructName == string.Empty ? "NULL" : m_STBData.StructName; this.Text = "Demo R.O.S.E.STB.Editor.Form" + "( " + m_strFileName + " )" + " Name = " + l_strStructName + " "; } }