代理版本调试
This commit is contained in:
1 parent
0b325e7cd8
commit
8ff2508632
36 files changed
+1049
-342
No files matched your search
@@ -45,7 +45,8 @@ namespace TemuKJD.ToolForms
|
||||
private void CefForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.splitContainer1.Panel1Collapsed = true;
|
||||
btnChangeBuyer.Visible = false;
|
||||
//this.splitContainer1.Panel1Collapsed = true;
|
||||
|
||||
if (string.IsNullOrEmpty(Url))
|
||||
{
|
||||
@@ -163,6 +164,9 @@ namespace TemuKJD.ToolForms
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Invoke(new Action(() => { this.txtUrl.Text = e.Url; }));
|
||||
|
||||
}
|
||||
|
||||
private void LifeHandler_OnPop(object sender, PopData e)
|
||||
@@ -192,5 +196,16 @@ namespace TemuKJD.ToolForms
|
||||
this.cefWebBrowser.Reload();
|
||||
}
|
||||
}
|
||||
|
||||
private void txtUrl_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
if (cefWebBrowser != null)
|
||||
{
|
||||
cefWebBrowser.Load(txtUrl.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user