private void panel2_Paint(object sender, PaintEventArgs e)
        {
            Graphics v = e.Graphics;

            Shared_Class.DrawRoundRect(v, Pens.Black, e.ClipRectangle.Left, e.ClipRectangle.Top, e.ClipRectangle.Width - 1, e.ClipRectangle.Height - 1, 10);
            base.OnPaint(e);
        }
        private void panel6_Paint(object sender, PaintEventArgs e)
        {
            Graphics v = e.Graphics;

            Shared_Class.DrawRoundRect(v, Pens.Black, e.ClipRectangle.Left, e.ClipRectangle.Top, e.ClipRectangle.Width - 1, e.ClipRectangle.Height - 1, 10);
            //Without rounded corners
            //e.Graphics.DrawRectangle(Pens.Blue, e.ClipRectangle.Left, e.ClipRectangle.Top, e.ClipRectangle.Width - 1, e.ClipRectangle.Height - 1);
            base.OnPaint(e);
        }
 private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
 {
     Shared_Class.KeyPress(textBox1, e);
 }
 private void tb_payment_Leave(object sender, EventArgs e)
 {
     Shared_Class.Leave(tb_payment);
 }
 private void tb_payment_KeyPress(object sender, KeyPressEventArgs e)
 {
     Shared_Class.KeyPress(tb_payment, e);
 }
 private void tb_payment_TextChanged(object sender, EventArgs e)
 {
     Shared_Class.Change(tb_payment);
     Calcolate();
 }
 private void tb_Money_KeyPress(object sender, KeyPressEventArgs e)
 {
     Shared_Class.KeyPress(tb_Money, e);
 }