Пример #1
0
        private void dg_xfmx_DoubleClick(object sender, EventArgs e)
        {
            common_file.common_app.get_czsj();
            if (dg_xfmx_lkzd.CurrentRow != null)
            {
                int i = dg_xfmx_lkzd.CurrentRow.Index;
                if (DS_Xxfmx.Tables[0].Rows.Count >= 1)
                {
                    if (DS_Xxfmx.Tables[0].Rows[i]["id"].ToString() != "")
                    {
                        string lsbh = DS_Xxfmx.Tables[0].Rows[i]["lsbh"].ToString();

                        Xxtsz.Xxfmx_lkmx_browse Xxfmx_lkmx_browse_new = new Xxfmx_lkmx_browse(this, lsbh);

                        Xxfmx_lkmx_browse_new.StartPosition = FormStartPosition.CenterScreen;
                        //Xxfmx_lkmx_browse_new.strlsbh = DS_Xxfmx.Tables[0].Rows[i]["lsbh"].ToString();

                        Xxfmx_lkmx_browse_new.ShowDialog();
                    }
                }
                Cursor.Current = Cursors.Default;
            }
        }
Пример #2
0
 public Xxfmx_lkmx_add_edit(Xxfmx_lkmx_browse Form_temp)
 {
     InitializeComponent();
     this.parent_form = Form_temp;
 }