Example #1
0
        private void listBox1_DoubleClick(object sender, EventArgs e)
        {
            string           inputItem = (sender as ListBox).SelectedItem.ToString();
            ConverterEvening c         = new ConverterEvening();

            c.ConvertFile(inputPath, inputFile, inputItem, "C:\\Users\\mhs\\Documents\\Visual Studio 2008\\Projects\\Legacy\\Legacy", "LF", inputItem);
        }
Example #2
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            openFileDialog1.ShowDialog();
            string        fileName  = openFileDialog1.FileName;
            Array         elements  = fileName.Split('\\');
            StringBuilder inputPath = new StringBuilder();

            for (int i = 0; i < elements.Length - 2; i++)
            {
                inputPath.Append(elements.GetValue(i) + "\\");
            }
            string           inputFile = (string)elements.GetValue(elements.Length - 2);
            string           inputItem = (string)elements.GetValue(elements.Length - 1);
            ConverterEvening c         = new ConverterEvening();

            c.ConvertFile(inputPath.ToString(), inputFile, inputItem, "C:\\Users\\mhs\\Documents\\Visual Studio 2008\\Projects\\Legacy\\Legacy", "LF", inputItem);
        }
Example #3
0
        private void button42_Click(object sender, EventArgs e)
        {
            ConverterEvening c = new ConverterEvening();

            c.ConvertFile("C:\\IBM\\accounts\\lflex", "LFLEX.PROGS", "TEST", "C:\\Users\\mhs\\Documents\\Visual Studio 2008\\Projects\\MyTestProjects\\Compiler", "Compiler\\", "TEST");
        }