Пример #1
0
        private void OpenMessage(object obj)
        {
            if (!(obj is int))
            {
                return;
            }

            if ((int)obj >= c_List.Count || (int)obj < 0)
            {
                return;
            }

            Message msg = (Message)c_List[(int)obj];

            c_Info.RemoveMessage(msg);
            NewGump();
            PmGump.SendTo(Owner, msg);
        }