Esempio n. 1
0
 public BlockSetupBaseForm(string title, ref BlockBase block)
 {
     InitializeComponent();
     FormCaption.Text = title;
     if (OnBeforeInitializing != null)
     {
         OnBeforeInitializing();
     }
     TempBlock                   = block.CloneWithLinks();
     TempBlock.Cascade           = false;
     PropertyGrid.SelectedObject = TempBlock;
     PropertyGrid.Refresh();
     HasParameters = TempBlock.HasParameters();
     Block         = block;
     if (OnAfterInitializing != null)
     {
         OnAfterInitializing();
     }
 }