示例#1
0
    public void AddSlice(MenuSlice type, string text)
    {
        ContextMenuSlice s = new ContextMenuSlice(type, text);

        Slices.Add(s);
    }
示例#2
0
 public ContextMenuSlice(MenuSlice t, string s)
 {
     Name = s;
     Type = t;
 }