Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Gérer les événements des touches du clavier

{filelink=15054}
 
 using System; 
 
 public class ExempleTouche
 {
  public static void Main()
  {
    KeyEvent kevt = new KeyEvent();
    ProcessKey pk

Exemple d’utilisation des differentes propriétés des boutons

{filelink=14646}
    using System;
  using System.Drawing;
  using System.Collections;
  using System.ComponentModel;
  using System.Windows.Forms;
  using Syst

Événement d’un bouton: Modifier la propriété d’un bouton

{filelink=14647}
using System;
using System.Windows.Forms;
using System.Drawing;
 
public class ModificationTextBouton : Form
{
 
  Button btnClick;
 
  public Mod

Ajouter des écouteurs à un bouton

{filelink=14648}
using System;
using System.Windows.Forms;
 
public class EvenementBouton : Form
{
 
  public static void Main()
  {
    Application.Run(new Evene

Créer un bouton en CSharp

{filelink=14649}
using System;
using System.Drawing;
using System.Windows.Forms;
 
class ExempleBouton: Form
{
     public static void Main()
     {
         App

Gestion des événements d’un bouton

{filelink=14650}
 
using System;
using System.Windows.Forms;
using System.Drawing; 
 
public class TextBouton : Form {
  Button textBouton = new Button(); 
 
  pub

Exemple PictureBox: Affichage des images en diverses dimensions

{filelink=14622}
 
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
 
nam

Rendre un Form Transparent

{filelink=14623}
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
 
namespace TransparentFo

Exemple d’utilisation des ‘Anchor’ et ‘Dock’

{filelink=14633}
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
 
clas

Fenêtre MDI: Dimension cascade et Mosaïque

{filelink=14624}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using