public void TimKiem()
 {
     this.CenterToParent();
     blur = new FormBlur(home);
     Show(home);
     progress = new FormProgressBar();
     progress.Show(this);
     _Thread = new Thread(Search);
     _Thread.Start();
 }
        void picSettings_Click(object sender, EventArgs e)
        {
            formBlur = new FormBlur(this);

            setting              = new Settings(size, volume);
            setting.comboValue  += setting_comboValue;
            setting.volumeTrack += setting_volumeTrack;
            setting.ShowDialog(this);
            formBlur.Dispose();
        }
Beispiel #3
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            InputSearch inpSearch = new InputSearch();
            FormBlur    formBlur  = new FormBlur(this);

            if (inpSearch.ShowDialog(this) == DialogResult.OK)
            {
                string       text   = inpSearch.getInputSearch();
                ResultSearch result = new ResultSearch(this, this, text, story);
            }
            formBlur.Dispose();
            inpSearch.Dispose();
        }
        private void picSearch_Click(object sender, EventArgs e)
        {
            if (Model.MyDatabase.getDone)
            {
                InputSearch inpSearch = new InputSearch();
                FormBlur    formBlur  = new FormBlur(this);

                if (inpSearch.ShowDialog(this) == DialogResult.OK)
                {
                    string       text   = inpSearch.getInputSearch();
                    ResultSearch result = new ResultSearch(this, null, text, null);
                }
                formBlur.Dispose();
                inpSearch.Dispose();
            }
        }