Example #1
0
        private void BtnReceiptPreview_Click(object sender, EventArgs e)
        {
            Printing printing = new Printing
            {
                TopMost          = true,
                Sale             = Sale,
                ReportViewerType = Printing.PintingItems.SaleReceipt,
            };

            printing.ShowDialog();
        }
Example #2
0
        void ToggleToolBox(string tag)
        {
            Form frm = null;

            switch (tag)
            {
            case "Calculator":
                frm = new Calculator();
                break;

            case "Calendar":
                frm = new Calendar();
                break;

            case "ReceiptPreview":
                frm = new Printing();
                break;
            }
            if (frm is Form)
            {
                Extensions.ShowDialogWithBlur(this, frm, UIConstants.MinBlurOpacity);
            }
        }