예제 #1
0
        protected void btnRuleToString_Click(object sender, EventArgs e)
        {
            TransferRule tr = GetCurrentSelectedRule();

            if (tr != null)
            {
                txtRunningDetails.Text = tr.ToString();
            }
        }
예제 #2
0
        protected void btnRuleToString_Click(object sender, EventArgs e)
        {
            if (Session["UploadTarget"] == null || string.IsNullOrEmpty(Session["UploadTarget"].ToString()))
            {
                lblMessage.Text = _NeedRarFile;
                Message.Visible = true;
                return;
            }
            TransferRule tr = ParseRarFile();

            if (tr != null)
            {
                txtRunningDetails.Text = tr.ToString();
            }
        }