private void bt_Update_Click(object sender, EventArgs e) { DlgCreateBlockPrice dlgCreateBlock = new DlgCreateBlockPrice(this); dlgCreateBlock.Text = "设置区域价格"; dlgCreateBlock.ShowDialog(); if (dlgCreateBlock.DialogResult == DialogResult.OK) { if (dlgCreateBlock._bChange) { int nIndex = uC_HallInfoSeek1.cbb_SeatingChart.SelectedIndex; cbb_Level_SelectedIndexChanged(null, null); //QueryData(); ReQueryDataBy(nIndex); } } else { if (dlgCreateBlock._bChange) { int nIndex = uC_HallInfoSeek1.cbb_SeatingChart.SelectedIndex; cbb_Level_SelectedIndexChanged(null, null); //QueryData(); ReQueryDataBy(nIndex); } } }
private void uC_ImageButtonVPanel_Block_ImageButtonItemClick(object sender, EventArgs e) { Label ib = (Label)sender; BlockPriceRich sb = (BlockPriceRich)ib.Tag; _SimBlockObj = sb; DlgCreateBlockPrice dlgCreateBlock = new DlgCreateBlockPrice(this); dlgCreateBlock.Text = "设置区域价格"; dlgCreateBlock.ShowDialog(); if (dlgCreateBlock.DialogResult == DialogResult.OK) { if (dlgCreateBlock._bChange) { int nIndex = uC_HallInfoSeek1.cbb_SeatingChart.SelectedIndex; cbb_Level_SelectedIndexChanged(null, null); //QueryData(); ReQueryDataBy(nIndex); } } else { if (dlgCreateBlock._bChange) { int nIndex = uC_HallInfoSeek1.cbb_SeatingChart.SelectedIndex; cbb_Level_SelectedIndexChanged(null, null); //QueryData(); ReQueryDataBy(nIndex); } } }