Example #1
0
 public panel_ceping(WomenInfo womeninfo)
 {
     InitializeComponent();
     dgv1.AutoGenerateColumns = false;
     _womeninfo    = womeninfo;
     _cp_WomenInfo = new cp_WomenInfo()
     {
         cd_id = _womeninfo.cd_id
     };
 }
Example #2
0
        private void PanelyibanxinxiMain_Load(object sender, EventArgs e)
        {
            cp_WomenInfo cpwomeninfo = new cp_WomenInfo();

            cpwomeninfo.cd_id = _xlwomeninfo.cd_id;
            cp_gesell_panel cppanel = new cp_gesell_panel(cpwomeninfo);

            cppanel.buttonX1.Visible = false;
            cppanel.buttonX3.Visible = false;
            cppanel.buttonX2.Visible = false;
            cppanel.buttonX4.Visible = false;//隐藏功能按钮
            cppanel.Dock             = DockStyle.Fill;
            this.panel1.Controls.Add(cppanel);
        }