【文件属性】:
文件名称:treeview文本阅读器
文件大小:167KB
文件格式:RAR
更新时间:2014-11-10 08:33:34
treeview文本阅读器
treeview文本阅读器,有例子参考
// 实现按钮阴影效果
switch (this.GenericPaneMouseState)
{
case WndMouseState.MouseOnX :
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -10,5,
this.GenericPane.Size.Width -22,5);
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -22,16,
this.GenericPane.Size.Width -22,5);
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -9,5,
this.GenericPane.Size.Width -9,18);
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -9,18,
this.GenericPane.Size.Width -22,18);
break ;
case WndMouseState.MouseOnNail :
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -30,5,
this.GenericPane.Size.Width -42,5);
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -42,16,
this.GenericPane.Size.Width -42,5);
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -29,5,
this.GenericPane.Size.Width -29,18);
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -29,18,
this.GenericPane.Size.Width -42,18);
break ;
case WndMouseState.LButtonDownX :
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -10,5,
this.GenericPane.Size.Width -22,5);
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -22,16,
this.GenericPane.Size.Width -22,5);
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -9,5,
this.GenericPane.Size.Width -9,18);
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -9,18,
this.GenericPane.Size.Width -22,18);
break ;
case WndMouseState.LButtonDownNail :
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -30,5,
this.GenericPane.Size.Width -42,5);
dc.DrawLine (Pens.Black, this.GenericPane.Size.Width -42,16,
this.GenericPane.Size.Width -42,5);
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -29,5,
this.GenericPane.Size.Width -29,18);
dc.DrawLine (Pens.White, this.GenericPane.Size.Width -29,18,
this.GenericPane.Size.Width -42,18);
break;
}
【文件预览】:
带TreeView的文本阅读器
----FormJ.cs(79KB)
----FormAbout.resx(7KB)
----CS_Note1.sln(899B)
----bin()
--------Debug()
----FileTreeNode.cs(1KB)
----MdiTextInBox.cs(4KB)
----obj()
--------Debug()
--------CS_Note1.csproj.FileListAbsolute.txt(1KB)
----TextInBox.cs(3KB)
----FormSave.cs(5KB)
----JNote.exe.manifest(636B)
----CS_Note1.csproj(5KB)
----FormSave.resx(9KB)
----FormAbout.cs(3KB)
----FormJ.resx(35KB)
----Icon1.ico(1KB)
----Thumbs.db(7KB)
----App.ico(1KB)
----MyEnum.cs(620B)
----CS_Note1.suo(13KB)
----CS_Note1.csproj.user(2KB)
----TextInFile.cs(3KB)
----AssemblyInfo.cs(2KB)