Inheritance: System.Windows.Forms.Form
Ejemplo n.º 1
0
 private void OnMenuCommandImportStaticData(object sender, EventArgs e)
 {
     foreach (var item in this.CurrentSelection)
     {
         var model = this.CurrentDocView.CurrentDiagram.ModelElement as nHydrateModel;
         if (item is EntityShape selectedObject)
         {
             var F = new nHydrate.DslPackage.Forms.StaticDataForm(selectedObject.ModelElement as Entity, this.CurrentDocData.Store);
             F.ShowDialog();
         }
     }
 }
Ejemplo n.º 2
0
 private void OnMenuCommandImportStaticData(object sender, EventArgs e)
 {
     foreach (var item in this.CurrentSelection)
     {
         var model = this.CurrentDocView.CurrentDiagram.ModelElement as nHydrateModel;
         var selectedObject = item as EntityShape;
         if (selectedObject != null)
         {
             var F = new nHydrate.DslPackage.Forms.StaticDataForm(selectedObject.ModelElement as Entity, this.CurrentDocData.Store, model, this.CurrentDocData);
             F.ShowDialog();
         }
     }
 }