Пример #1
0
		public MainForm()
		{
			InitializeComponent();
			
			CodeGenerator codeGenerator1 = new CorDebugGenerator(Assembly.LoadFile(dllFileName));
			textBox1.Text = new FileGenerator(codeGenerator1, header, footer).SaveFiles(saveDirectory + @"\CorDebug\Autogenerated");
			
			CodeGenerator codeGenerator2 = new CorSymGenerator(Assembly.LoadFile(dllFileName));
			textBox1.Text += new FileGenerator(codeGenerator2, header, footer).SaveFiles(saveDirectory + @"\CorSym\Autogenerated");
		}
Пример #2
0
        public MainForm()
        {
            InitializeComponent();

            CodeGenerator codeGenerator1 = new CorDebugGenerator(Assembly.LoadFile(dllFileName));

            textBox1.Text = new FileGenerator(codeGenerator1, header, footer).SaveFiles(saveDirectory + @"\CorDebug\Autogenerated");

            CodeGenerator codeGenerator2 = new CorSymGenerator(Assembly.LoadFile(dllFileName));

            textBox1.Text += new FileGenerator(codeGenerator2, header, footer).SaveFiles(saveDirectory + @"\CorSym\Autogenerated");
        }