Пример #1
0
    // Constructeur                                                                      // <wao code.&comgroup>

    /// <summary>
    /// Constructeur                                                                     
    /// </summary>
    public RichListBox() {                                                               // <wao code.&body>
      items = new RichItemCollection( this );
      Font = Control.DefaultFont;
      DrawMode = DefaultDrawMode;
      ItemHeight = DefaultItemHeight;
      IndentWidth = DefaultIndentWidth;
    }
Пример #2
0
    //
    // Constructeur                                                                      // <wao code.&comgroup RichComboBox_abrégé.+comitem>
    //

    /// <summary>
    /// Constructeur                                                                     
    /// </summary>
    public RichComboBox() {                                                              // <wao code.&body RichComboBox_abrégé.+body>
      editWindow = new NativeChildEdit( this );
      items = new RichItemCollection( this );
      Font = Control.DefaultFont;
      FlatStyle = DefaultFlatStyle;
      DrawMode = DefaultDrawMode;
      ItemHeight = DefaultItemHeight;
      IndentWidth = DefaultIndentWidth;
    }