Exemplo n.º 1
0
        private void GET_Click(object sender, EventArgs e)
        {
            List <String> ALL_URL = new List <String>();
            IO_Help       ih      = new IO_Help();

            ALL_URL = ih.GetAllFiles(URL.Text, VALUE.Text);
            MainImageForm mif = ((MainImageForm)form);

            mif.SET_ALL_IMAGE_BY_URLS(ALL_URL);
            this.Dispose();
        }
Exemplo n.º 2
0
        private void BUTTON_SELECT_Click(object sender, EventArgs e)
        {
            List <ImageModle> lim = Select_Image(new ImageModle()
            {
                ID    = Convert.ToInt32(TEXT_ID.Text),
                Time  = TEXT_TIME.Text,
                Title = TEXT_NAME.Text,
                Url   = TEXT_URL.Text
            });

            if (ParentHandle != null)
            {
                MainImageForm mif = (MainImageForm)FromHandle(ParentHandle);
                mif.Add_MainImageFormItem(lim);
            }
            if (lim.Count > 0)
            {
                Dispose();
            }
            else
            {
                this.Text = "未查到任何值";
            }
        }