Multiple settlement options. Upgrade SQL Script included.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using Tanshu.Accounts.Repository;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
@ -20,11 +21,8 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
if (control != null)
|
||||
{
|
||||
control.Location = new System.Drawing.Point(6, 140);
|
||||
var border = (this.Width - this.ClientSize.Width) / 2;
|
||||
var titlebarHeight = this.Height - this.ClientSize.Height - (2 * border);
|
||||
this.Controls.Add(control);
|
||||
this.Width = 6 + control.Width + 6 + (border * 2);
|
||||
this.Height = titlebarHeight + 140 + control.Height + 6 + (border * 2);
|
||||
this.Size = this.SizeFromClientSize(new Size(6 + control.Width + 6, 140 + control.Height + 6));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user