Exemple #1
0
 private void OnGridTypeChanged()
 {
     if (GridTypeChanged != null)
     {
         GridTypeChanged.Invoke(this, EventArgs.Empty);
     }
 }
Exemple #2
0
        protected virtual void OnGridTypeChanged()
        {
            switch (GridType)
            {
            case MirGridType.Equipment:
            case MirGridType.Inventory:
                Library = Libraries.Items;
                break;

            default:
                Library = null;
                break;
            }
            if (GridTypeChanged != null)
            {
                GridTypeChanged.Invoke(this, EventArgs.Empty);
            }
        }