示例#1
0
文件: inmer.cs 项目: kaungbaoxiaozi/-
        private void inmer_FormClosed(object sender, FormClosedEventArgs e)
        {
            main mai = (main)this.Owner;

            mai.inre();
            mai.prore();
        }
示例#2
0
        private void addout_FormClosed(object sender, FormClosedEventArgs e)
        {
            main mai = (main)this.Owner;

            mai.outre();
            mai.prore();
        }
示例#3
0
        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();
        }
示例#4
0
        private void productadd_FormClosed(object sender, FormClosedEventArgs e)
        {
            main mai = (main)this.Owner;

            mai.prore();
        }