Beispiel #1
0
        private void btnAddOrder_Click(object sender, EventArgs e)
        {
            var department = GetCurrentDepartment();

            if (department == null)
            {
                return;
            }
            var form = new ASSOrder(-1);

            form.ShowDialog();
            RefreshOrderList();
        }
Beispiel #2
0
        private void btnClone_Click(object sender, EventArgs e)
        {
            var department = GetCurrentDepartment();

            if (department == null)
            {
                return;
            }
            if (dglOrder.CurrentRow.Index >= 0)
            {
                var form = new ASSOrder(dglOrder.CurrentRow.Index);
                form.ShowDialog();
                RefreshOrderList();
            }
        }