Esempio n. 1
0
        private void My_accont_Load(object sender, EventArgs e)
        {
            s_money.Text = cli.Get <string>("my_account").ToString();
            //在我的消费清单里显示买的书,花的钱,剩余的钱
            Shop_car f = new Shop_car();

            f.price    = Convert.ToDouble(s_money.Text);
            s_log.Text = history_of_buy;
        }
Esempio n. 2
0
        private void d_result_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            Shop_car f = new Shop_car();

            f.b_a  = d_result[0, 0].Value.ToString();
            f.b_n  = d_result[1, 0].Value.ToString();
            f.b_p  = d_result[3, 0].Value.ToString();
            f.b_nu = d_result [4, 0].Value.ToString();
            f.un   = d_result [2, 0].Value.ToString();
            f.Show();
        }
Esempio n. 3
0
        private void tool_5_Click(object sender, EventArgs e)
        {
            Shop_car f4 = new Shop_car();

            f4.ShowDialog();
        }