1挪动一些老旧文件的位置以备后续删除 2图片显示 3店铺登录信息优化显示
This commit is contained in:
1 parent
011b909bfc
commit
157f7e9f3e
59 files changed
+1160
-432
No files matched your search
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TemuKJD.KJDForms.BaseForms;
|
||||
|
||||
namespace TemuKJD.KJDForms.ToolForms
|
||||
{
|
||||
public partial class ShowImgForm : LRBaseForm
|
||||
{
|
||||
string currentImgUrl = null;
|
||||
Dictionary<string, string> imgDic = new Dictionary<string, string>();
|
||||
|
||||
public ShowImgForm(string picUrl, Dictionary<string, string> picDic = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
currentImgUrl = picUrl;
|
||||
if (picDic != null)
|
||||
imgDic = picDic;
|
||||
|
||||
if (!string.IsNullOrEmpty(currentImgUrl))
|
||||
{
|
||||
this.pictureBox1.ImageLocation = currentImgUrl.Replace("https", "http");
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ShowImgForm_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
switch (e.KeyCode)
|
||||
{
|
||||
//case Keys.A: MessageBox.Show("您按下的是A"); break;
|
||||
//case Keys.B: MessageBox.Show("您按下的是B"); break;
|
||||
case Keys.Enter: break;
|
||||
case Keys.Escape: this.Close(); break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user