Beispiel #1
0
        private void BtnSave_Click(object sender, EventArgs e)
        {
            Save();
            Prints.CASHMEMO rpt = new Prints.CASHMEMO();
            ProjectFunctions.PrintDocument(txtCashMemoNo.Text, Convert.ToDateTime(txtCashMemoDate.Text), "S", rpt);

            Close();
        }
Beispiel #2
0
 private void BtnSave_Click(object sender, EventArgs e)
 {
     Save();
     Prints.CASHMEMO rpt = new Prints.CASHMEMO();
     ProjectFunctions.PrintDocument(lblMemoNo.Text, Convert.ToDateTime(lblMemoDate.Text), "S", rpt);
     Close();
     //Transaction.Cashmemo frm = new Transaction.Cashmemo() { s1 = "&Add", Text = "Cash Memo Addition" };
     //var P = ProjectFunctions.GetPositionInForm(this);
     //frm.Location = new Point(P.X + (ClientSize.Width / 2 - frm.Size.Width / 2), P.Y + (ClientSize.Height / 2 - frm.Size.Height / 2));
     //frm.ShowDialog(Parent);
 }