Ignore:
Timestamp:
Mar 12, 2008, 9:54:46 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

実験として書いていたControlクラスを追加(せめてコミット前に既存のContorolに混ぜようとしたがコンパイルできなかった)。
ほかForms, Drawing及びGDI+の修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/IO/StreamWriter.ab

    r470 r473  
     1/*
     2@file Include/Classes/System/IO/StreamWriter.ab
     3@brief StreamWriterの実装。
     4*/
     5
    16Namespace System
    27Namespace IO
    3    
    4    
     8
     9/*
     10@biref ストリームへの書き込みを行うTextWriterの派生。
     11@date 2008/03/09
     12@auther Egtra
     13*/
    514Class StreamWriter
    615    Inherits TextWriter
    716Public
    817    /*
    9     @date 2008/02/25
     18    @date 2008/03/09
    1019    @auther Egtra
    1120    */
     
    1524
    1625    /*
    17     @date 2008/02/25
     26    @date 2008/03/09
    1827    @auther Egtra
    1928    */
    2029    Sub StreamWriter(stream As Stream)
    2130        init(stream)
     31    End Sub
     32
     33    Override Sub Flush()
     34        Dim len = buf.Length
     35        If len > 0 Then
     36            s.Write(StrPtr(buf) As *Byte, 0, len)
     37            buf.Length = 0
     38        End If
    2239    End Sub
    2340
     
    104121End Class
    105122
    106 
    107123End Namespace
    108124End Namespace
Note: See TracChangeset for help on using the changeset viewer.