📄 parentchildcollection.cs
字号:
using System;
using System.Collections;
namespace Netron.Lithium
{
/// <summary>
/// STC of ParentChild collection
/// </summary>
public class ParentChildCollection : CollectionBase
{
/// <summary>
/// integer indexer
/// </summary>
public ParentChild this[int index]
{
get{return (ParentChild) this.InnerList[index] ;}
}
/// <summary>
/// Adds an item to the collection
/// </summary>
/// <param name="pc">a ParentChild object</param>
/// <returns></returns>
public int Add(ParentChild pc)
{
return this.InnerList.Add(pc);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -