Exemple #1
0
        private void LoadDataBase(ViewSelector viewSelector)
        {
            DataViewer dataViewer = new DataViewer();

            ShipmentDataGridView.DataSource = dataViewer.ShowData(viewSelector);
            HideIdAndRenameColumns(viewSelector);
        }
Exemple #2
0
        private void LoadDataBase()
        {
            viewSelector = new ViewSelector("Date", "Organization", "City", "Country", "Manager", "Amount", "Total");
            DataViewer dataViewer = new DataViewer();

            ShipmentDataGridView.DataSource = dataViewer.ShowData(viewSelector);
            HideIdAndRenameColumns(viewSelector);
            viewSelector = new ViewSelector("", "", "", "", "", "", "");
        }