cwf编码实现弹出窗体编写方法

public frmemr_docview(Form myfrmwork1, string myflowlink1, DataGridViewRow mydgvrow1)
{
    InitializeComponent();
    myfrmwork = myfrmwork1; //工作窗体
    myflowlink = myflowlink1;//导航名称
    mydgvrow = mydgvrow1;//选择的数据行
}
private Form myfrmwork;
private string myflowlink;
private DataGridViewRow mydgvrow;

mydgvrow 当前选择的行

if (mydgvrow != null)
      {
         if (mydgvrow.DataGridView.Columns.Contains("文件名") == true)
         {
            tabname = mydgvrow.Cells["文件名"].Value.ToString();

         }
         else return;
      }

你可能感兴趣的:(编码)