Inheritance: ISubnet, IDisposable
Exemplo n.º 1
0
 private void SubnetAdded(IntPtr aSubnet)
 {
     Subnet subnet = new Subnet(aSubnet);
     iSubnetList.Add(subnet);
     iSubnetHandler.SubnetAdded(subnet);
 }
Exemplo n.º 2
0
        internal void Added(ISubnet aSubnet)
        {
            Subnet subnet = new Subnet(aSubnet);

            iList.Add(subnet);

            if (CollectionChanged != null)
            {
                CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, subnet));
            }

            if (CountChanged != null)
            {
                CountChanged(this, EventArgs.Empty);
            }
        }