1.显示如图所示弹出框

学习记录弹出框1

if (MessageBox.Show("确认删除图片?", "此删除不可恢复", MessageBoxButtons.YesNo) == DialogResult.Yes)
                {
                    if (DeleteFile(picName, username, password))
                    {
                        string contex = this.SS1.ActiveSheet.RowHeader.Cells[e.Row, 0].Text;
                        if (contex == "")
                        {
                            this.SS1.ActiveSheet.RowHeader.Cells[e.Row, 0].Text = "修改";

                        }
                        SS1.Sheets[0].Cells[e.Row, 37].Text = "";
                        SS1.Sheets[0].Cells[e.Row, 40].Text = "1";
                        Form_Pro();
                    }
                }

相关文章:

  • 2022-12-23
  • 2021-11-11
  • 2021-12-18
  • 2021-05-27
  • 2021-11-06
  • 2021-08-23
  • 2021-09-21
  • 2021-06-02
猜你喜欢
  • 2021-06-20
  • 2021-12-25
  • 2021-11-26
  • 2022-02-09
  • 2021-12-09
  • 2022-12-23
相关资源
相似解决方案