Example #1
0
        private void App_Expired(object sender, EventArgs e)
        {
            var app = (TemporaryAppItemViewModel)sender;

            if (Apps.Contains(app))
            {
                app.Expired -= App_Expired;
                Apps.Remove(app);
            }
        }