Пример #1
0
        private void toolBar1_ToolbarItemClick_1(object sender, ToolbarClickEventArgs e)
        {
            switch (e.Name)
            {
            case "My":
                SmobilerMyForm my = new SmobilerMyForm();
                this.Show(my, (obj, arage) => { this.Close(); });
                //this.Show(my);
                break;

            case "Order":
                OrderListForm orderForm1 = new OrderListForm(_userInfo);
                this.Show(orderForm1, (obj, arage) => { this.Close(); });
                //Show(orderForm1);
                break;

            case "Home":
                SmobilerFirst first = new SmobilerFirst();
                this.Show(first, (obj, arage) => { this.Close(); });
                //this.Show(first);
                break;
            }
        }
Пример #2
0
        /// <summary>
        /// 提交成功跳转到我的页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_save_Press(object sender, EventArgs e)
        {
            SmobilerMyForm my = new SmobilerMyForm();

            Show(my);
        }