示例#1
0
        public Form1()
        {
            InitializeComponent();

            DataBase = new DataCenter();

            FileStream   fs = new FileStream("IP.txt", FileMode.Open, FileAccess.Read);
            StreamReader sr = new StreamReader(fs);
            string       ip = sr.ReadLine();

            Console.WriteLine(ip);
            DataBase.connect(ip);

            sr.Close();
            fs.Close();

            //  Bild = DataBase.GetImage(1,"png");
            //   pbx_BildBox.Image = Bild;



            Start();
        }