AGRファイル解析クラス
예제 #1
0
        // AGRファイル処理
        private void processAgrFile(string filepath)
        {
            AgrFile agr = new AgrFile();

            try
            {
                if (agr.loadFromFile(filepath) == false)
                {
                    MessageBox.Show("フォーマットエラー");
                    return;
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, Properties.Resources.Error);
                return;
            }
            generateOfx(agr.accounts);
        }
예제 #2
0
        // AGRファイル処理
        private void processAgrFile(string filepath)
        {
            AgrFile agr = new AgrFile();

            try
            {
                if (agr.loadFromFile(filepath) == false)
                {
                    MessageBox.Show("フォーマットエラー");
                    return;
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, Properties.Resources.Error);
                return;
            }
            generateOfx(agr.accounts);
        }
예제 #3
0
        public void setUp()
        {
            mAgrFile = new AgrFile();

            mTempFileName = Path.GetTempFileName();
            mSw = new StreamWriter(mTempFileName, false, System.Text.Encoding.Default);
        }