예제 #1
0
 private void tsmxiugai_Click(object sender, EventArgs e)
 {
     FrmEditSinger FrmES = new FrmEditSinger();
     FrmES.fSL = this;
     FrmES._IsEdit = true;
     FrmES.Show();
     FrmES.tbmingzi.Text = dvg.SelectedRows[0].Cells["dgv_cln_singer_name"].Value.ToString();
     FrmES.cbxingbie.SelectedIndex = FrmES.cbxingbie.Items.IndexOf(dvg.SelectedRows[0].Cells["dgv_cln_singersex_name"].Value);
     FrmES.cbleixing.SelectedIndex = FrmES.cbleixing.Items.IndexOf(dvg.SelectedRows[0].Cells["dgv_cln_singertype_name"].Value);
     FrmES.Singer_id = dvg.SelectedRows[0].Cells["dgv_cln_singer_id"].Value.ToString();
     FrmES.tupian = dvg.SelectedRows[0].Cells["dgv_cln_singer_photo_url"].Value.ToString();
     FrmES.LoadPic(FrmES.tupian);
 }
예제 #2
0
 private void tmsxinzheng_Click(object sender, EventArgs e)
 {
     FrmEditSinger sm = new FrmEditSinger();
     sm.MdiParent = this;
     sm.Show();
 }