Exemplo n.º 1
0
        private void manufactureToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManufactureRef.ManufactureServiceClient service = new ManufactureRef.ManufactureServiceClient();
            ModelManufacture model = new ModelManufacture(service);
            Form1            form1 = new Form1(service, model);

            form1.MdiParent = this;
            form1.Controls[1].Show();
            form1.Show();
        }
Exemplo n.º 2
0
        public Form1(ManufactureRef.ManufactureServiceClient service, ModelManufacture model)
        {
            InitializeComponent();

            ManufacturePresenter presenter = new ManufacturePresenter(model, manufactureSetupControl1);
        }