阿里狗在不,求教

opd1.Filter = "(*.txt)|*.txt"
        opd1.Multiselect = False
        opd1.ShowDialog()
        If opd1.ShowDialog() = Windows.Forms.DialogResult.OK Then
            Dim duqu As New System.IO.StreamReader(opd1.FileName)
            RichTextBox1.Text = duqu.ReadToEnd()
        Else : Me.Close()
        End If

自己写了这么一段代码,不知为什么,每次打开文件时,打开窗口都要弹出两次才能打开文件~~~~
本人拒绝使用H签名~~~

谢啦!
本人拒绝使用H签名~~~

TOP

Processed in 0.017618 second(s), 7 queries, Gzip enabled. | © 2009 JPSFM.net, all rights reserved | Powered by Discuz! 7.2 | About | Archiver | WAP