public void entryFormGenerate(string tableName, bool blank, DataTable dt, string inputDirectroy, string outputDirectroy, bool withPanel, bool withLable, string parent)
        {
            clsFindReplace fr      = new clsFindReplace();
            string         infile  = inputDirectroy + "\\" + templateEntryclassname;
            string         outfile = outputDirectroy + "\\" + tableName + "_Ent";

            string genstring = "";

            fr.findReplace(infile + ".cs", outfile + ".cs", templateEntryclassname, tableName + "_Ent");
            fr.findReplace(infile + ".Designer.cs", outfile + ".Designer.cs", templateEntryclassname, tableName + "_Ent");
            fr.findReplace(infile + ".resx", outfile + ".resx", templateEntryclassname, tableName + "_Ent");
            string controls = "";

            if (!blank)
            {
                clsEntry ent = new clsEntry();

                genstring = ent.gencreate(dt);
                controls  = myCg.Controlsw.createControls(withLable, dt, withPanel, parent);
                fr.findReplace(outfile + ".cs", outfile + ".cs", "//<Entry>", "//<Entry>\n" + genstring);
                //for form text
                fr.findReplace(outfile + ".Designer.cs", outfile + ".Designer.cs", "TextExtraValue", ent.table.text);
                fr.findReplace(outfile + ".Designer.cs", outfile + ".Designer.cs", "LableExtraValue", ent.table.text);
                fr.findReplace(outfile + ".Designer.cs", outfile + ".Designer.cs", "}//<Control>", controls);
            }
        }
        private void entryFormGenerate(string tableName, bool blank, DataTable dt, string inputDirectroy, string outputDirectroy, string lableEnding)
        {
            clsFindReplace fr      = new clsFindReplace();
            string         infile  = inputDirectroy + "\\" + templateEntryclassname;
            string         outfile = outputDirectroy + "\\" + tableName + "_Ent";

            string genstring = "";

            fr.findReplace(infile + ".cs", outfile + ".cs", templateEntryclassname, tableName + "_Ent");
            fr.findReplace(infile + ".Designer.cs", outfile + ".Designer.cs", templateEntryclassname, tableName + "_Ent");
            fr.findReplace(infile + ".resx", outfile + ".resx", templateEntryclassname, tableName + "_Ent");


            if (!blank)
            {
                clsEntry ent = new clsEntry();
                genstring = ent.gencreate(dt);
                fr.findReplace(outfile + ".cs", outfile + ".cs", "//<Entry>", "//<Entry>\n" + genstring);
                //for form text
                fr.findReplace(outfile + ".Designer.cs", outfile + ".Designer.cs", "TextExtraValue", ent.table.text);
                fr.findReplace(outfile + ".Designer.cs", outfile + ".Designer.cs", "LableExtraValue", ent.table.text);
                fr.findReplace(outfile + ".Designer.cs", outfile + ".Designer.cs", "}//<Control>", myCg.Controlsw.createControls(false, dt, false, "this"));
            }
        }