yes i want to parse .net forms.
in my project there are around 50 forms, n i want to apply the search funtionality to search these forms. for example there are around 5 forms related to maths, 5 forms of physics content etc.
nw if a user enter any topic of maths in search option and if it is available in our application, it should display the link or button of that particular form and if not available than it should diplay the message"the particular form is not available".
well let i have two maths form in my application which are related to factorization.......
so when i type factorization in search box, than the link related to both forms will be display to me, and when i click on anyone link , so that particular form will open
No, it isn't. You know that the forms are related to factoring -- but how does the search engine determine relevance? Programmatically how you can say "OK, this form is related to factoring, math, decimals, calculations, and division"
public static class FormSearcher
public static Type FindString(string Text)
List<Type> result = new List<Type>();
Text = Text.ToUpper();
foreach (Type type in Assembly.GetExecutingAssembly().GetTypes())
using (Form f = (Form)Activator.CreateInstance(type))
for (int i1 = 0; i1 < f.Controls.Count; i1++)
if (ContainsText(f.Controls[i1], Text))
private static bool ContainsText(Control c, string Text)
for (int i1 = 0; i1 < c.Controls.Count; i1++)
if (ContainsText(c.Controls[i1], Text))
how can i make a container class in this,,?
and can i make a search option 4 my whole application? if yes than how?
and can u plz refer me any gud ebooks related to this, so that i can read in detail about this?
i m sending u sample application for search funtionality,
Also in my application on clicking on science node there appears two buttons, on clicking on buttons the form is opening sepratly.
how to open this form in the panel itself.............?
well i could not find the search button on the main form of my application..........
i want search button on main form, and when i click on that search button, so related form will display in center panel(panel2).................
well can u tell me one more thing related to this..
let i made a list box on a form containig some text..
now when i click on save and print in menu strip n tool strip, so the data related to listbox will automatically save n print.....
and also if i want to perform all the option display in menu n toolstrip on my form, so how can i do that.................
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...