Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                string fileC   = @"D:\DProjects\DMSys.Google\Debug\CodeMigration\SCode\shell.c";
                string fileH   = "";
                string fileXML = @"D:\DProjects\DMSys.Google\Debug\CodeMigration\BCode\shell.xml";

                CodeC.Migration mgrtn = new CodeC.Migration();
                mgrtn.Parse(fileH, fileC);
                mgrtn.SaveXML(fileXML);

                MessageBox.Show("OK");
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                string fileC = @"D:\DProjects\DMSys.Google\Debug\CodeMigration\SCode\shell.c";
                string fileH = "";
                string fileXML = @"D:\DProjects\DMSys.Google\Debug\CodeMigration\BCode\shell.xml";

                CodeC.Migration mgrtn = new CodeC.Migration();
                mgrtn.Parse(fileH, fileC);
                mgrtn.SaveXML(fileXML);

                MessageBox.Show("OK");
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }