Beispiel #1
0
 public static CtrlSearch GetInstancia()
 {
     if (_instance == null)
     {
         _instance = new CtrlSearch();
     }
     return(_instance);
 }
Beispiel #2
0
        private void LanchCtrlSearch(string filesearch)
        {
            if (Path.GetExtension(filesearch).Equals(".gif"))
            {
                MessageBox.Show("OOOfff");
                return;
            }
            CtrlSearch ctrlsearch = CtrlSearch.GetInstancia();

            ctrlsearch.SearchString = filesearch;
            ctrlsearch.Show();
        }