informatique:dotnet
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:dotnet [24/03/2010 15:27] – cyrille | informatique:dotnet [19/05/2012 00:18] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 28: | Ligne 28: | ||
[[/ | [[/ | ||
- | Des classes bien pratiques, et toutes faites ;o) | + | BouncyCastle, CastleProject, |
- | [[http:// | + | |
+ | [[http:// | ||
[[http:// | [[http:// | ||
Ligne 47: | Ligne 48: | ||
===NeatUpload=== | ===NeatUpload=== | ||
- | [[http:// | + | [[http:// |
NOTE: If your application does not have " | NOTE: If your application does not have " | ||
Ligne 142: | Ligne 143: | ||
Une présentation générale avec quelques produits :\\ | Une présentation générale avec quelques produits :\\ | ||
http:// | http:// | ||
+ | |||
+ | ==== Obtenir les liste des frameworks installés ==== | ||
+ | |||
+ | |||
+ | Le petit outil [[http:// | ||
+ | |||
+ | Explication des clés de registre " | ||
+ | * [[http:// | ||
====Reflection ==== | ====Reflection ==== | ||
Ligne 169: | Ligne 178: | ||
Articles: | Articles: | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | === Delegates et Evènements === | ||
+ | |||
+ | [[http:// | ||
====Named Pipes ==== | ====Named Pipes ==== | ||
Ligne 359: | Ligne 373: | ||
UpdateRichTextBox(messageToLog); | UpdateRichTextBox(messageToLog); | ||
} | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | ====Move a borderless window ==== | ||
+ | |||
+ | C'est incroyable, mais ça fonctionne nickel. Pas besoin de s' | ||
+ | |||
+ | <code csharp> | ||
+ | using System.Runtime.InteropServices; | ||
+ | |||
+ | namespace WindowsFormsApplication1 | ||
+ | { | ||
+ | public partial class Form1 : Form | ||
+ | { | ||
+ | |||
+ | //const and dll functions for moving form | ||
+ | public const int WM_NCLBUTTONDOWN = 0xA1; | ||
+ | public const int HT_CAPTION = 0x2; | ||
+ | |||
+ | [DllImportAttribute( " | ||
+ | public static extern int SendMessage( IntPtr hWnd, | ||
+ | int Msg, int wParam, int lParam ); | ||
+ | |||
+ | [DllImportAttribute( " | ||
+ | public static extern bool ReleaseCapture(); | ||
+ | |||
+ | private void Form1_MouseDown( object sender, MouseEventArgs e ) | ||
+ | { | ||
+ | if( e.Button == MouseButtons.Left ) | ||
+ | { | ||
+ | ReleaseCapture(); | ||
+ | SendMessage( Handle, WM_NCLBUTTONDOWN, | ||
+ | } | ||
+ | } | ||
+ | |||
+ | private void button1_MouseDown( object sender, MouseEventArgs e ) | ||
+ | { | ||
+ | if( e.Button == MouseButtons.Left ) | ||
+ | { | ||
+ | ReleaseCapture(); | ||
+ | SendMessage( Handle, WM_NCLBUTTONDOWN, | ||
+ | } | ||
+ | |||
+ | } | ||
+ | } | ||
+ | } | ||
</ | </ |
informatique/dotnet.1269440853.txt.gz · Dernière modification : 19/05/2012 00:15 (modification externe)