예제 #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);
            }
        }
예제 #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);
            }
        }