Пример #1
0
 private void button7_Click(object sender, EventArgs e)
 {
     if (label22.Text == "")
     {
         MessageBox.Show("请先选择一个会员");
     }
     else
     {
         SpecialOffer hh = new SpecialOffer();
         hh.huiyanbh = int.Parse(label22.Text);
         hh.jine     = float.Parse(label27.Text.ToString());
         hh.Balance  = float.Parse(dataGridView1.SelectedRows[0].Cells[3].Value.ToString());
         hh.ShowDialog();
         chahuiyuanjifen();
     }
 }
Пример #2
0
        private void 兑换商品HToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            SpecialOffer kk = new SpecialOffer();

            kk.ShowDialog();
        }