private void SetNames(string newName)
{
if (newName != null)
{
// Set the Name, FullName and BaseName, based on the specified string.
m_names[0] = newName;
int indx = newName.LastIndexOf(@"\");
if (indx > -1)
m_names[1] = newName.Substring(indx + 1);
else
m_names[1] = newName;
indx = m_names[1].LastIndexOf(".");
if (indx > -1)
m_names[2] = m_names[1].Remove(indx, m_names[1].Length - indx);
else
m_names[1] = newName;
}
}
~GxPyObject()