private void inmer_FormClosed(object sender, FormClosedEventArgs e) { main mai = (main)this.Owner; mai.inre(); mai.prore(); }
private void addout_FormClosed(object sender, FormClosedEventArgs e) { main mai = (main)this.Owner; mai.outre(); mai.prore(); }
private void runbut_Click(object sender, EventArgs e) { backwarning.RunWorkerAsync(); string[] vs = new string[5] { "in", "out", "sup", "product", "store" }; foreach (string i in vs) { string sql = string.Format("delete from [{0}]", i); SqlHelper.ExecuteNonQuery(SqlHelper.constr, CommandType.Text, sql); } MessageBox.Show("删除成功"); main mai = (main)this.Owner; mai.prore(); mai.inre(); mai.outre(); mai.spre(); }
private void productadd_FormClosed(object sender, FormClosedEventArgs e) { main mai = (main)this.Owner; mai.prore(); }