Пример #1
0
        internal static void ExportAllData()
        {
            StringBuilder   sb    = new StringBuilder();
            ProgressCommand c     = new ProgressCommand();
            ProgressCommand child = TreeCenter.GetExportAllCommand();

            if (child != null)
            {
                sb.Append("Tree export \r\n");
                c.Add(child);
            }
            child = MachineCenter.GetExportCommand();
            if (child != null)
            {
                sb.Append("Machine export \r\n");
                c.Add(child);
            }
            c.notify  = sb.ToString();
            c.refresh = true;
            c.StartCommand();
        }