private void UpdateWindowTitle(string path) { string[] pathBits = path.Split(new char[] { '\\' }); string profileName = pathBits[pathBits.Length - 1]; controllerWindow.SetWindowTitle("ScanMaster 2k8 - " + profileName); }