15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

summary ❘ 1115<br />

}<br />

else<br />

{<br />

if (e1.UpdateAvailable)<br />

text1.Text =<br />

"Update successful <strong>and</strong> will be used with the next start";<br />

}<br />

};<br />

App.Current.CheckAndDownloadUpdateAsync();<br />

Running the application — first in the browser — you<br />

can click the Install button, which opens the dialog<br />

shown in Figure 38-7. The user can choose to have an<br />

application shortcut available in the start menu <strong>and</strong><br />

on the desktop. After installation, the application can<br />

also be started out of browser.<br />

After you make some changes in the Silverlight<br />

project, you can check for updates by clicking the<br />

Update button. To get rid of the application, click the<br />

right mouse button to open the context menu <strong>and</strong><br />

remove the application.<br />

figure 38-7<br />

summary<br />

In this chapter, you’ve seen the rich Silverlight framework, which includes a subset of the functionality of<br />

WPF applications <strong>and</strong> also some enhancements based on the functionality needed for applications running<br />

on the Web.<br />

You’ve seen how to create Silverlight projects <strong>and</strong> how they differ from WPF, <strong>and</strong> how to integrate with the<br />

browser, run Silverlight applications out of the browser, <strong>and</strong> use networking features to access resources on<br />

the server.<br />

In the next chapter, you read about a traditional technology for user interfaces: Windows Forms.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!