Exemple #1
0
        private void OpenFile(string path)
        {
            StaticValues.staticFilename = path;
            OpenXML open = new OpenXML(products, clients, this);

            open.Load();
        }
Exemple #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();
            }
        }