Beispiel #1
0
        private void uiCommandManager1_CommandClick(object sender, Janus.Windows.UI.CommandBars.CommandEventArgs e)
        {
            try
            {
                switch (e.Command.Key)
                {
                case "cmdImport":
                    if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                    {
                        string file             = openFileDialog1.FileName;
                        atriumBE.FileManager fm = AtMng.GetFile();
                        fm.GetArchiveBatch().ManageArchiveData(file, false);
                    }
                    break;

                case "cmdCreate":
                    break;

                case "cmdPackingList":
                    break;
                }
            }
            catch (Exception x)
            {
                UIHelper.HandleUIException(x);
            }
        }