void ReleaseDesignerOutlets()
        {
            if (AminOrdersTable != null)
            {
                AminOrdersTable.Dispose();
                AminOrdersTable = null;
            }

            if (viewUnpaidButton != null)
            {
                viewUnpaidButton.Dispose();
                viewUnpaidButton = null;
            }
        }
예제 #2
0
        void PopulateTable()
        {
            if (orderItems != null)
            {
                Source = new TableSourceAdmin(AdminGetOrders);
            }
            else
            {
                Debug.WriteLine("Order items is null");
            }

            AminOrdersTable.Source = Source;
            AminOrdersTable.ReloadData();
        }