Exemple #1
0
        private void lnkShowHistoryDetails_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (currentHistoryItem != null)
            {
                CustomerOrderView cmv = new CustomerOrderView(myCustomer, false);
                cmv.Show(this);
                switch (currentHistoryItem.ItemType)
                {
                case "Direktrechnung":
                    cmv.SelectRow("D", currentHistoryItem.ID);
                    break;

                case "Rechnung":
                    cmv.SelectRow("R", currentHistoryItem.ID);
                    break;

                default:
                    cmv.SelectRow("A", currentHistoryItem.ID);
                    break;
                }
            }
        }
Exemple #2
0
        private void lnkOrderSummary_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            CustomerOrderView cmv = new CustomerOrderView(myCustomer, false);

            cmv.Show(this);
        }