private void 供应商管理ToolStripMenuItem_Click(object sender, EventArgs e) { SupplierView rv = new SupplierView(); //rv.MdiParent = this; rv.Show(); }
public SupplierPopup(SupplierView form, object obj) { parentForm = form; InitializeComponent(); if (obj != null) { olds = (SupplierModel)obj; textBox1.Text = olds.Num; textBox2.Text = olds.Name; } }