コード例 #1
0
        /// <summary>
        /// 点击panel跳转积分详情页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void imageButton1_Press(object sender, EventArgs e)
        {
            shopDetail model = new shopDetail
            {
                Menu_Id      = Convert.ToInt32(this.txt_Id.Text),
                Menu_Name    = this.lab_name.Text,
                Menu_Pecture = this.imageButton1.ResourceID,
                NeedDateTime = this.lab_time.Text,
                Need_JF      = Convert.ToInt32(this.lab_jf.Text),
                Number       = Convert.ToInt32(this.lab_num.Text)
            };
            JFDetailForm detailForm = new JFDetailForm(model);

            this.Form.Show(detailForm);
        }
コード例 #2
0
ファイル: JFDetailForm.cs プロジェクト: LaityWj/Order_Food
 //构造函数
 public JFDetailForm(shopDetail _list)
 {
     this.shoplist = _list;
     InitializeComponent();
 }