Exemplo n.º 1
0
        public TxtDivFunc1(string FilePath, int DivSize)
        {
            TxtIO TxtIO = new TxtIO();

            str      = TxtIO.TxtRead(FilePath);
            FileSize = TxtIO.FileSize(FilePath);
            SepSize  = DivSize;
        }
Exemplo n.º 2
0
        private void Btn_Click(object sender, RoutedEventArgs e)
        {
            TxtIO       TxtR  = new TxtIO();
            TxtDispose  TxtDp = new TxtDispose();
            TxtDivFunc1 Func1 = new TxtDivFunc1("TextFile.txt", 32800);

            TxtBox.Text = TxtR.TxtRead("TextFile.txt");
            TxtBlk.Text = TxtR.FileSize("TextFile.txt").ToString();
            Func1.func1(2);
        }