Inheritance: System.Windows.Forms.Form
        /*************************************************************
         **************      界面控件操作      ***********************
         ************************************************************/
        //详细查询界面
        private void toolDedtailQuery_Click(object sender, EventArgs e)
        {
            QueryChangeForm o = new QueryChangeForm();
            o.StartPosition=FormStartPosition.CenterParent;

            if(o.ShowDialog() == DialogResult.OK){
                //this.dgv_ChangeList.DataSource = null;
                this.dgv_ChangeList.DataSource = o._changeList;
            }
        }
Ejemplo n.º 2
0
        /*************************************************************
         **************      界面控件操作      ***********************
         ************************************************************/

        //详细查询界面
        private void toolDedtailQuery_Click(object sender, EventArgs e)
        {
            QueryChangeForm o = new QueryChangeForm();

            o.StartPosition = FormStartPosition.CenterParent;

            if (o.ShowDialog() == DialogResult.OK)
            {
                //this.dgv_ChangeList.DataSource = null;
                this.dgv_ChangeList.DataSource = o._changeList;
            }
        }