private Exporter.formulaire.Form1 NewExporterEnOSM() { Exporter.formulaire.Form1 exporter = new Exporter.formulaire.Form1(); int count = 1; string text = "Exporter en OSM"; exporter.Text = text; return(exporter); }
private void fichierCCToolStripMenuItem_Click(object sender, EventArgs e) { Exporter.formulaire.Form1 exporter = NewExporterEnOSM(); Exporter.formulaire.Form1._hostSurfaceManager.AddService(typeof(IToolboxService), Home.m_toolbox.toolbox1); Exporter.formulaire.Form1._hostSurfaceManager.AddService(typeof(PropertyGrid), Home.m_propertyWindow.propertyGrid); if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) { exporter.MdiParent = this; exporter.Show(); } else { exporter.Show(dockPanel); } }
// EXPORTER private Exporter.formulaire.Form1 NewExporterEnOSM(string text) { Exporter.formulaire.Form1 exporter = new Exporter.formulaire.Form1(); exporter.Text = text; return(exporter); }