1. 优化打开关系工程时,窗口左上角显示工程名,左下角显示工程路径;
2. 工程文件存储文件个数;
This commit is contained in:
@ -84,16 +84,13 @@ namespace mainProgram
|
||||
|
||||
private void SetProjectNameAndProjectPath()
|
||||
{
|
||||
this.Text = this.Text + "-" + getProjectName();
|
||||
this.Text = this.Text + "-" + mProjectManager.ProjectName;
|
||||
this.projectPath_toolStripStatusLabel.Text = this.projectPath_toolStripStatusLabel.Text + mProjectManager.ProjectPath;
|
||||
}
|
||||
|
||||
private void ClearProjectNameAndProjectPath()
|
||||
{
|
||||
this.Text = this.Text + "-" + getProjectName();
|
||||
this.projectPath_toolStripStatusLabel.Text = this.projectPath_toolStripStatusLabel.Text + mProjectManager.ProjectPath;
|
||||
|
||||
int index = this.Text.IndexOf(getProjectName());
|
||||
int index = this.Text.IndexOf(mProjectManager.ProjectName);
|
||||
this.Text = this.Text.Substring(0, index - 1);//index - 1:还要加上一个字符“-”
|
||||
|
||||
int index2 = this.projectPath_toolStripStatusLabel.Text.IndexOf(mProjectManager.ProjectPath);
|
||||
|
Reference in New Issue
Block a user