Ejemplo n.º 1
0
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            var f = list.FirstOrDefault(x => x.TName == comboBox1.Text);

            if (f != null)
            {
                mFuWuTask         = f;
                richTextBox1.Text = f.TContent;
                lblPrice.Text     = f.Price;
            }
        }
Ejemplo n.º 2
0
 private void FuWuTaskEdit_Load(object sender, EventArgs e)
 {
     if (mId > 0)
     {
         mFuWuTask = new HHDapperSql().Query <FuWuTask>(mId);
     }
     else
     {
         mFuWuTask = new FuWuTask();
     }
     AppToUi();
 }