Exemplo n.º 1
0
        private void btn_Sort_Click(object sender, EventArgs e)
        {
            List <ParameterPair> list = TomKluas.SortUrl(txt_ToSortUrl.Text.Trim());

            querylist.DefaultCellStyle.WrapMode = DataGridViewTriState.True;
            //querylist.AutoResizeColumns();
            querylist.DataSource = list;
            lbl_Row.Text         = list.Count.ToString() + " Rows";
        }
Exemplo n.º 2
0
        private void querylist_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string s = querylist.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();

            if (s.Contains("%"))
            {
                querylist.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = TomKluas.DecodeOnce(s);
            }
        }
Exemplo n.º 3
0
 private void btn_DeepDecode_Click(object sender, EventArgs e)
 {
     txt_ToSortUrl.Text = TomKluas.Decode(txt_RawUrl.Text);
 }