예제 #1
0
        private void ReadFile(string formatPath, string filePath)
        {
            FileReadingDialog dialog = new FileReadingDialog();
            FormattedReader   reader = new FormattedReader(formatPath);

            dialog.ReadingDone += Dialog_ReadingDone;
            dialog.ReadFile(reader, filePath);
            dialog.Show(this);
            dialog.Focus();
        }
예제 #2
0
 private void ReadFile(string formatPath, string filePath)
 {
     FileReadingDialog dialog = new FileReadingDialog();
     FormattedReader reader = new FormattedReader(formatPath);
     dialog.ReadingDone += Dialog_ReadingDone;
     dialog.ReadFile(reader, filePath);
     dialog.Show(this);
     dialog.Focus();
 }