This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This method demonstrates a pattern for making thread-safe | |
| // calls on a Windows Forms control. | |
| // | |
| // If the calling thread is different from the thread that | |
| // created the TextBox control, this method creates a | |
| // SetTextCallback and calls itself asynchronously using the | |
| // Invoke method. | |
| // | |
| // If the calling thread is the same as the thread that created |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Add NotifyIcon via Designer first | |
| public Form1() | |
| { | |
| InitializeComponent(); | |
| } | |
| private void button1_Click(object sender, EventArgs e) | |
| { | |
| Displaynotify(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-size: 100%; | |
| font: inherit; | |
| vertical-align: baseline; | |
| outline: none; | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| clearfix:before, .container:after { content: ""; display: table; } | |
| .clearfix:after { clear: both; } | |
| /* IE 6/7 */ | |
| .clearfix { zoom: 1; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .transparent { | |
| filter: alpha(opacity=50); /* internet explorer */ | |
| -khtml-opacity: 0.5; /* khtml, old safari */ | |
| -moz-opacity: 0.5; /* mozilla, netscape */ | |
| opacity: 0.5; /* fx, safari, opera */ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blockquote { | |
| background: #f9f9f9; | |
| border-left: 10px solid #ccc; | |
| margin: 1.5em 10px; | |
| padding: .5em 10px; | |
| quotes: "\201C""\201D""\2018""\2019"; | |
| } | |
| blockquote:before { | |
| color: #ccc; | |
| content: open-quote; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #container { | |
| -webkit-border-radius: 4px 3px 6px 10px; | |
| -moz-border-radius: 4px 3px 6px 10px; | |
| -o-border-radius: 4px 3px 6px 10px; | |
| border-radius: 4px 3px 6px 10px; | |
| } | |
| /* alternative syntax broken into each line */ | |
| #container { | |
| -webkit-border-top-left-radius: 4px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) and (max-device-width : 480px) { | |
| /* Styles */ | |
| } | |
| /* Smartphones (landscape) ----------- */ | |
| @media only screen and (min-width : 321px) { | |
| /* Styles */ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| h1 { | |
| text-indent: -9999px; | |
| margin: 0 auto; | |
| width: 320px; | |
| height: 85px; | |
| background: transparent url("images/logo.png") no-repeat scroll; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a:link { color: blue; } | |
| a:visited { color: purple; } | |
| a:hover { color: red; } | |
| a:active { color: yellow; } |