Beispiel #1
0
        private void btnPrint_Click(object sender, EventArgs e)
        {
            if (tartim == null)
            {
                return;
            }

            btnPrint.Enabled = false;

            PrintoutWeight pw = new PrintoutWeight();

            pw.print(tartim);

            btnPrint.Enabled = true;
        }
Beispiel #2
0
        public void printWeightDocument()
        {
            PrintoutWeight pw = new PrintoutWeight();

            pw.print(this);
        }