示例#1
0
        protected override void DoFileInteraction(FileInfo fi)
        {
            DrugPolicyContainer container = new DrugPolicyContainer(DrugPolicy);

            container.Save(fi);
            base.Close();
        }
        protected override void DoFileInteraction(FileInfo fi)
        {
            if (!fi.Exists)
            {
                return;
            }

            DrugPolicyContainer container = new DrugPolicyContainer(DrugPolicy);

            container.Load(fi);
            base.Close();
        }