예제 #1
0
        private void buttonSearch(object sender, EventArgs e)
        {
            if (mShowSearch == true)
            {
                return;
            }
            if (mCmd.excuteCmdGetAdbState() == false)
            {
                mMessage.ShowMessageBoxTimeout(Enums.Error.ADB, Enums.Title.ERROR, 2000);
                return;
            }

            if (searchEx1.textBoxSerach.Text.Length < 1)
            {
                mMessage.ShowMessageBoxTimeout(Enums.Error.INVAILD_INPUT, Enums.Title.ERROR, 2000);
                return;
            }

            mFormFind = new FormFindList();
            mFormFind.Show();

            if (mCmd.excuteCmdExistFile(Enums.AndroidPath.SYSTEM_BIN + Enums.ThirdAppFileName.BUSYBOX) == false)
            {
                buttonExBusybox_Click(sender, e);
            }
            mShowSearch = true;
            mThreadCmd.startCmdSearchThread(searchEx1.textBoxSerach.Text);
        }