protected override void OnDeleting()
 {
     FlowChartSettings.Delete();
     base.OnDeleting();
 }