Exemple #1
0
        private void GetMounts()
        {
            var mounts = Mounts.GetAll().Where(i => Host.getInvItem(i.Id) != null).OrderBy(i => i.Name);

            if (mounts.Count() < 1)
            {
                return;
            }


            Utils.InvokeOn(this, () =>
            {
                cmbox_MountsList.Items.Clear();
                cmbox_MountsList.Items.AddRange(mounts.ToArray());
                cmbox_MountsList.SelectedIndex = 0;
            });
        }