Пример #1
0
        private void OpenFile(string path)
        {
            StaticValues.staticFilename = path;
            OpenXML open = new OpenXML(products, clients, this);

            open.Load();
        }
Пример #2
0
        //Open file
        private void OpenFile()
        {
            OpenFileDialog openDialog = new OpenFileDialog();

            openDialog.Filter = "dls файл | *.dls";
            if (openDialog.ShowDialog() == true)
            {
                StaticValues.staticFilename = openDialog.FileName;
                OpenXML open = new OpenXML(products, clients, this);
                open.Load();
            }
        }