You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB
C#

9 months ago
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace POSV.Component
{
[ToolboxItem(true)]
public partial class CheckoutControl : BaseUserControl
{
public CheckoutControl()
{
this.SetStyle(ControlStyles.DoubleBuffer , true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint , true);
this.SetStyle(ControlStyles.ResizeRedraw , true);
this.SetStyle(ControlStyles.UserPaint , true);
this.SetStyle(ControlStyles.SupportsTransparentBackColor , true);
InitializeComponent();
this.BackColor = Color.Transparent;
}
private string _text = "已结账";
/// <summary>
/// 窗口标题
/// </summary>
public override string Text
{
set
{
this._text = value;
this.mainPanel.Text = this._text;
this.mainPanel.Invalidate();
}
get { return this._text; }
}
}
}