微信界面调整 拼多多买手售后单问题修复
This commit is contained in:
1 parent
f9572ea046
commit
a3d15b1b3d
50 files changed
+2076
-1932
No files matched your search
@@ -109,7 +109,7 @@ namespace TemuKJD.BaseForms
|
||||
{
|
||||
c.BackColor = GlobalConfig.MainColor;
|
||||
}
|
||||
if (c is PanelEx && c.Name.StartsWith("btn"))
|
||||
else if (c is PanelEx && c.Name.StartsWith("btn"))
|
||||
{
|
||||
var pnl = c as PanelEx;
|
||||
if (pnl.Style.BackColor1.Color == GlobalConfig.DefaultMainColor)
|
||||
@@ -119,7 +119,7 @@ namespace TemuKJD.BaseForms
|
||||
pnl.StyleMouseOver.BackColor1.Color = GlobalConfig.BorderColor;
|
||||
pnl.StyleMouseOver.BackColor2.Color = GlobalConfig.BorderColor;
|
||||
}
|
||||
else if (pnl.Style.BorderColor.Color == GlobalConfig.DefaultMainColor)
|
||||
else if (pnl.Style.BackColor1.Color == GlobalConfig.DefaultMainColorLight || pnl.Style.BorderColor.Color == GlobalConfig.DefaultMainColor)
|
||||
{
|
||||
pnl.Style.BorderColor.Color = GlobalConfig.MainColor;
|
||||
pnl.Style.BackColor1.Color = GlobalConfig.MainColorLight;
|
||||
@@ -129,25 +129,25 @@ namespace TemuKJD.BaseForms
|
||||
pnl.StyleMouseOver.BackColor2.Color = GlobalConfig.BorderColor;
|
||||
}
|
||||
}
|
||||
if (c is ButtonEx)
|
||||
else if (c is ButtonEx)
|
||||
{
|
||||
c.BackColor = GlobalConfig.MainColor;
|
||||
}
|
||||
if (c is SplitContainer && c.BackColor == GlobalConfig.DefaultMainColor)
|
||||
else if (c is SplitContainer && c.BackColor == GlobalConfig.DefaultMainColor)
|
||||
{
|
||||
c.BackColor = GlobalConfig.MainColor;
|
||||
}
|
||||
if (c is UserComponent.UcTreeView)
|
||||
else if (c is UserComponent.UcTreeView)
|
||||
{
|
||||
var tv = c as UserComponent.UcTreeView;
|
||||
tv.ChildNodeSelectedBgColor = GlobalConfig.MainColor;
|
||||
}
|
||||
if (c is UserComponent.UcGroupBoxEx && (c as UserComponent.UcGroupBoxEx).BorderColor == GlobalConfig.DefaultMainColor)
|
||||
else if (c is UserComponent.UcGroupBoxEx && (c as UserComponent.UcGroupBoxEx).BorderColor == GlobalConfig.DefaultMainColor)
|
||||
{
|
||||
var gb = c as UserComponent.UcGroupBoxEx;
|
||||
gb.BorderColor = GlobalConfig.MainColor;
|
||||
}
|
||||
if (c is UserComponent.DataGridViewEx)
|
||||
else if (c is UserComponent.DataGridViewEx)
|
||||
{
|
||||
var dgv = c as UserComponent.DataGridViewEx;
|
||||
dgv.BorderColor = GlobalConfig.MainColor;
|
||||
@@ -156,13 +156,19 @@ namespace TemuKJD.BaseForms
|
||||
dgv.CheckBoxRowBoxCheckColor = GlobalConfig.MainColor;
|
||||
dgv.CheckBoxRowBoxBorderColor = GlobalConfig.BorderColor;
|
||||
}
|
||||
if (c is UserComponent.UcCheckBox)
|
||||
else if (c is UserComponent.UcCheckBox)
|
||||
{
|
||||
var chk = c as UserComponent.UcCheckBox;
|
||||
chk.CheckBoxCheckColor = GlobalConfig.MainColor;
|
||||
chk.CheckBoxBorderColor = GlobalConfig.BorderColor;
|
||||
}
|
||||
if (c is UcTabControlMetro)
|
||||
else if (c is UserComponent.UcTabControl)
|
||||
{
|
||||
var tc = c as UserComponent.UcTabControl;
|
||||
tc.TabSelectColor = GlobalConfig.MainColor;
|
||||
tc.TabSelectTextColor = GlobalConfig.MainColor;
|
||||
}
|
||||
else if (c is UcTabControlMetro)
|
||||
{
|
||||
var tc = c as UcTabControlMetro;
|
||||
tc.BorderColor = GlobalConfig.BorderColor;
|
||||
|
||||
@@ -104,10 +104,10 @@ namespace TemuKJD.BaseForms
|
||||
|
||||
private void LcBaseForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
if (BaseClass.MainPath == "binxixi" || BaseClass.MainPath == "weixin")
|
||||
{
|
||||
this.panel1.BackColor = GlobalConfig.PddMainColor;
|
||||
this.BackColor = GlobalConfig.PddBorderColor;
|
||||
this.pnlTitle.BackColor = GlobalConfig.MainColor;
|
||||
this.BackColor = GlobalConfig.BorderColor;
|
||||
}
|
||||
|
||||
if (BaseClass.Ico != null)
|
||||
@@ -143,12 +143,12 @@ namespace TemuKJD.BaseForms
|
||||
if (visible)
|
||||
{
|
||||
this.Padding = new Padding(1);
|
||||
this.panel1.Visible = true;
|
||||
this.pnlTitle.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Padding = new Padding(0);
|
||||
this.panel1.Visible = false;
|
||||
this.pnlTitle.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ namespace TemuKJD.BaseForms
|
||||
|
||||
public virtual void HideTitle()
|
||||
{
|
||||
this.panel1.Visible = false;
|
||||
this.pnlTitle.Visible = false;
|
||||
}
|
||||
|
||||
#region 窗体提交数据完成事件
|
||||
|
||||
+24
-24
@@ -28,14 +28,14 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.pnlTitle = new System.Windows.Forms.Panel();
|
||||
this.pbMinBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbNormalBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbMaxBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbLogo = new System.Windows.Forms.PictureBox();
|
||||
this.lbTitle = new System.Windows.Forms.Label();
|
||||
this.pbCloseBase = new System.Windows.Forms.PictureBox();
|
||||
this.panel1.SuspendLayout();
|
||||
this.pnlTitle.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).BeginInit();
|
||||
@@ -43,23 +43,23 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
// pnlTitle
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panel1.Controls.Add(this.pbMinBase);
|
||||
this.panel1.Controls.Add(this.pbNormalBase);
|
||||
this.panel1.Controls.Add(this.pbMaxBase);
|
||||
this.panel1.Controls.Add(this.pbLogo);
|
||||
this.panel1.Controls.Add(this.lbTitle);
|
||||
this.panel1.Controls.Add(this.pbCloseBase);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(1, 1);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(657, 32);
|
||||
this.panel1.TabIndex = 0;
|
||||
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Panel1_MouseDown);
|
||||
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Panel1_MouseMove);
|
||||
this.panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Panel1_MouseUp);
|
||||
this.pnlTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlTitle.Controls.Add(this.pbMinBase);
|
||||
this.pnlTitle.Controls.Add(this.pbNormalBase);
|
||||
this.pnlTitle.Controls.Add(this.pbMaxBase);
|
||||
this.pnlTitle.Controls.Add(this.pbLogo);
|
||||
this.pnlTitle.Controls.Add(this.lbTitle);
|
||||
this.pnlTitle.Controls.Add(this.pbCloseBase);
|
||||
this.pnlTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pnlTitle.Location = new System.Drawing.Point(1, 1);
|
||||
this.pnlTitle.Name = "pnlTitle";
|
||||
this.pnlTitle.Size = new System.Drawing.Size(657, 32);
|
||||
this.pnlTitle.TabIndex = 0;
|
||||
this.pnlTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Panel1_MouseDown);
|
||||
this.pnlTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Panel1_MouseMove);
|
||||
this.pnlTitle.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Panel1_MouseUp);
|
||||
//
|
||||
// pbMinBase
|
||||
//
|
||||
@@ -125,9 +125,9 @@
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.lbTitle.Location = new System.Drawing.Point(31, 7);
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.Size = new System.Drawing.Size(45, 17);
|
||||
this.lbTitle.Size = new System.Drawing.Size(48, 17);
|
||||
this.lbTitle.TabIndex = 2;
|
||||
this.lbTitle.Text = "label1";
|
||||
this.lbTitle.Text = "lbTitle";
|
||||
this.lbTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lbTitle_MouseDown);
|
||||
this.lbTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbTitle_MouseMove);
|
||||
this.lbTitle.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lbTitle_MouseUp);
|
||||
@@ -151,15 +151,15 @@
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(98)))), ((int)(((byte)(200)))));
|
||||
this.ClientSize = new System.Drawing.Size(659, 535);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.pnlTitle);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "BaseGeneralForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "LcBaseForm";
|
||||
this.Load += new System.EventHandler(this.LcBaseForm_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.pnlTitle.ResumeLayout(false);
|
||||
this.pnlTitle.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).EndInit();
|
||||
@@ -171,7 +171,7 @@
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel pnlTitle;
|
||||
private System.Windows.Forms.PictureBox pbMinBase;
|
||||
private System.Windows.Forms.PictureBox pbCloseBase;
|
||||
private System.Windows.Forms.Label lbTitle;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using AllBase;
|
||||
using AllBase.Helper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -103,6 +104,7 @@ namespace TemuKJD.BaseForms
|
||||
|
||||
private void LcBaseForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.BackColor = GlobalConfig.BorderColor;
|
||||
if (BaseClass.Ico != null)
|
||||
Iconx = Icon = BaseClass.Ico;
|
||||
else
|
||||
@@ -130,6 +132,7 @@ namespace TemuKJD.BaseForms
|
||||
}
|
||||
|
||||
lblVersionInfo.Text = BaseClass.ToolName + " V" + BaseClass.Varsion + " - " + BaseClass.NickName;
|
||||
lblVersionInfo.ForeColor = GlobalConfig.MainColorLight;
|
||||
|
||||
SetPanelVisible(this.TopLevel || DesignMode);
|
||||
}
|
||||
|
||||
+19
-19
@@ -33,17 +33,17 @@
|
||||
this.lblVersionInfo = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.pbMinBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbCloseBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbNormalBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbMaxBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbCloseBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbLogo = new System.Windows.Forms.PictureBox();
|
||||
this.lbTitle = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLogo)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -80,9 +80,9 @@
|
||||
//
|
||||
this.lblVersionInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblVersionInfo.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.lblVersionInfo.Location = new System.Drawing.Point(723, 56);
|
||||
this.lblVersionInfo.Location = new System.Drawing.Point(579, 56);
|
||||
this.lblVersionInfo.Name = "lblVersionInfo";
|
||||
this.lblVersionInfo.Size = new System.Drawing.Size(238, 23);
|
||||
this.lblVersionInfo.Size = new System.Drawing.Size(382, 23);
|
||||
this.lblVersionInfo.TabIndex = 80;
|
||||
this.lblVersionInfo.Text = "版本信息";
|
||||
this.lblVersionInfo.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
@@ -113,20 +113,6 @@
|
||||
this.pbMinBase.MouseLeave += new System.EventHandler(this.PictureBox2_MouseLeave);
|
||||
this.pbMinBase.MouseHover += new System.EventHandler(this.PictureBox2_MouseHover);
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbCloseBase.Image = global::TemuKJD.Properties.Resources.close;
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(128, 0);
|
||||
this.pbCloseBase.Name = "pbCloseBase";
|
||||
this.pbCloseBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbCloseBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbCloseBase.TabIndex = 0;
|
||||
this.pbCloseBase.TabStop = false;
|
||||
this.pbCloseBase.Click += new System.EventHandler(this.PictureBox1_Click);
|
||||
this.pbCloseBase.MouseLeave += new System.EventHandler(this.PictureBox1_MouseLeave);
|
||||
this.pbCloseBase.MouseHover += new System.EventHandler(this.PictureBox1_MouseHover);
|
||||
//
|
||||
// pbNormalBase
|
||||
//
|
||||
this.pbNormalBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
@@ -157,6 +143,20 @@
|
||||
this.pbMaxBase.MouseLeave += new System.EventHandler(this.pbMaxBase_MouseLeave);
|
||||
this.pbMaxBase.MouseHover += new System.EventHandler(this.pbMaxBase_MouseHover);
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbCloseBase.Image = global::TemuKJD.Properties.Resources.close;
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(128, 0);
|
||||
this.pbCloseBase.Name = "pbCloseBase";
|
||||
this.pbCloseBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbCloseBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbCloseBase.TabIndex = 0;
|
||||
this.pbCloseBase.TabStop = false;
|
||||
this.pbCloseBase.Click += new System.EventHandler(this.PictureBox1_Click);
|
||||
this.pbCloseBase.MouseLeave += new System.EventHandler(this.PictureBox1_MouseLeave);
|
||||
this.pbCloseBase.MouseHover += new System.EventHandler(this.PictureBox1_MouseHover);
|
||||
//
|
||||
// pbLogo
|
||||
//
|
||||
this.pbLogo.Location = new System.Drawing.Point(10, 10);
|
||||
@@ -197,9 +197,9 @@
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLogo)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user