Mike A

Mike A

  • NA
  • 6
  • 10.8k

search collectionBase

Jan 17 2015 7:09 PM
Hey guys i have a litle project to do in class and im really stock on this part..

i set up an ATM machine.when the clients inserts nip it searches a file and loads the collections with the data from the files..for save use..

no i sent the data inserted(nip ) to the main window once the nip is ok.


now i  need to search the collection for the client with this nip..


i got the variable set as is
[code]
public Main(string qs)
        {
            InitializeComponent();
           
            richTextBox1.Text= qs;

            string NipClient = qs;
            Guichet.ListClient(NipClient);
            
        }

[/code]

form nip page

[code]
Main form2 = new Main(textBox1Search.Text);
                form2.ShowDialog();
[/code]






Answers (3)