Ejemplo n.º 1
0
        //新增
        private void btnAdd_Click(object sender, EventArgs e)
        {
            UCCompanyViewOrAdd comAdd = new UCCompanyViewOrAdd(WindowStatus.Add, this.Name);

            comAdd.uc = this;
            comAdd.refreshDataStart += new UCCompanyViewOrAdd.RefreshData(this.BindData);
            base.addUserControl(comAdd, "公司管理-添加", "Company_Add", this.Tag.ToString(), this.Name);
        }
Ejemplo n.º 2
0
 //新增
 private void btnAdd_Click(object sender, EventArgs e)
 {
     UCCompanyViewOrAdd comAdd = new UCCompanyViewOrAdd(WindowStatus.Add, this.Name);
     comAdd.uc = this;
     comAdd.refreshDataStart += new UCCompanyViewOrAdd.RefreshData(this.BindData);
     base.addUserControl(comAdd, "公司管理-添加", "Company_Add", this.Tag.ToString(), this.Name);
 }