Added a shrink changing form but the math seems to be off so it is disabled for the time being. Updated the interface on the main form and the modify record form to include the log viewer and the log console.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AdvertsingProfitControl
|
||||
{
|
||||
public partial class FrmChangeShrink : Form
|
||||
{
|
||||
public int Shrink;
|
||||
|
||||
public FrmChangeShrink()
|
||||
{
|
||||
InitializeComponent();
|
||||
Shrink = 30;
|
||||
}
|
||||
|
||||
public FrmChangeShrink(int shrink)
|
||||
{
|
||||
InitializeComponent();
|
||||
shrinkNumericUpDown.Value = shrink;
|
||||
Shrink = shrink;
|
||||
}
|
||||
|
||||
private void shrinkAcceptButton_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
Shrink = int.Parse(shrinkNumericUpDown.Text);
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user