private void menuCompany_Click(object sender, EventArgs e) { frmProducing plist = new frmProducing(); plist.StartPosition = FormStartPosition.CenterScreen; plist.ShowDialog(); }
void helper_RequestCompleted_Put_toProduce(object o) { string back = (string)o; if (back == "ok") { frmProducing plist = new frmProducing(); plist.StartPosition = FormStartPosition.CenterScreen; plist.ShowDialog(); //MessageBox.Show("添加成功!"); //refrashdata(); } //else { MessageBox.Show("添加失败!"); } }