コード例 #1
0
        public SendMessageWindow(VKontakteApiWrapper wrapper, UserInfos info, UserMessage msgToReply)
        {
            InitializeComponent();

            if (!msgToReply.IsNull())
            {
                UsrMsg = msgToReply;
                txtSubect.Text = this.UsrMsg.MessageTitle;
            }

            if (info != null)
                this.userInfos = info;
            if (wrapper != null)
                this.wrapper = wrapper;
        }
コード例 #2
0
        private void CleanUp()
        {
            if (!userInfos.IsNull())
                userInfos = null;

            if (wrapper != null)
                wrapper = null;

            if (UsrMsg != null)
                UsrMsg = null;

            GC.Collect(0);
        }