I hate missing class like this.

It’s my mistake. I checked out the course but I found it was finished. I didn’t record the time course starts on my phone and I even remembered I had one class tonight.

Though it is not a problem, every student has one chance to book the lesson again. But I really hate missing any classes. I should be more careful in future.

Trip to YunDing Mountain

At the last few days last week, temperature raised sharply from cold to too hot. I worn 2 clothes at the beginning of last week but only one thin shirt at Saturday.

It was sunny last Sunday. After two weeks staying at home, we planned to have a trip to someplace. We’ve traveled quite a lot places last year, so it’s getting harder to choose where to go. Thanks to my clever father, he searched the web and found a place called YunDing Mountain in JinTang county, southeast of ChengDu.

We got up early on Sunday and started at about 9:00AM. It’s only one hour before we got to the entry of the main road of scenic spot. The road was hard to drive, and we have to go back and find another way because the road was reparing and was blocked.

We found another road that we did’t want. It was funny that before we left home, we said we won’t go pass cemetery for cars there would be so crowded. We had no choice.

Pic: peachblossom beside the road

[](/images/2009-3-22/image/thumb/3-22 (3).jpg)

Ahh, so strong the sun was, so I nearly closed my eyes!~ [](/images/2009-3-22/image/thumb/3-22 (4).jpg)

Pic: Our black car

[](/images/2009-3-22/image/thumb/3-22 (5).jpg)

Road was so long, narrow and wriggle. Someone put stones on the road, I didn’t know why they did that.

Pic:Stones on the center of road

[](/images/2009-3-22/image/thumb/3-22 (9).jpg)

We passed by a small temple and had a short rest there. It should be a old temple here but has been destroyed during the great proletarian cultural revolution, leaving only flowerpot from the Tang Dynasty. They said someone wanted to buy it at the cost of 100,000 but they didn’t sell it. They were the old memory or the history here.

[](/images/2009-3-22/image/thumb/3-22 (7).jpg)

[](/images/2009-3-22/image/thumb/3-22 (8).jpg)

We contined our rode to the top.
[](/images/2009-3-22/image/thumb/3-22 (10).jpg)

[](/images/2009-3-22/image/thumb/3-22 (11).jpg)

There were wild yellow flowers everywhere. People picked it up and put it before the tomb in memory of their ancestors.

[](/images/2009-3-22/image/thumb/3-22 (12).jpg)

[](/images/2009-3-22/image/thumb/3-22 (13).jpg)

[](/images/2009-3-22/image/thumb/3-22 (14).jpg)

After about half an hour’s driving we arrived at the top, a temple here called YunDing Mountain which means this is the hightes temple here and colds normally flow below this temple.

[](/images/2009-3-22/image/thumb/3-22 (15).jpg)

When we were there, a lot of people were shouting and congratulating their success of conquering the hill mountain.

[](/images/2009-3-22/image/thumb/3-22 (16).jpg)

And there’s the dining hall. People here have to have dinner with others. At the first sight, everyone only pay 4 yuan to have a meal is very cheap. But when you see that 10 people only have 4 kinds of dishes, you will know that is too expensive. And having dinners with strangers was not acceptable in my mind. So we decied to eat outside.

[](/images/2009-3-22/image/thumb/3-22 (18).jpg)

[](/images/2009-3-22/image/thumb/3-22 (19).jpg)

[](/images/2009-3-22/image/thumb/3-22 (20).jpg)

At last, this is the highest hall here call TianGong Hall. It means it is a hall build above the sky. Here you can get a overview of very far away.

[](/images/2009-3-22/image/thumb/3-22 (21).jpg)

[](/images/2009-3-22/image/thumb/3-22 (22).jpg)

That’s all for the temple. If the main road was not under construction, we could have a better trip there. We have another chance to get there and enjoy the climbing hill.

We got home early afternoon. Father photoed flowers in our garden. Beautiful, aren’t they?

[](/images/2009-3-22/image/thumb/3-22 (23).jpg)

Vampires

Today’s topic at my Complementary Class was VAMPIRES. What is vampire? Do you remeber the bat flying from the hidden place and bite people’s neck in movie? That’s kind of vampire.

To introduce what is vampire and how to kill it, the teacher showed us a short movie called Darcula. You may hear that before. Although I doesn’t belive there is vampire, but teacher also taught us how to kill them:

  1. Burn the dead body.
  2. Drive a wooden stroke through its heart.
  3. (Man only) Chop off its head with a gravediggers shovel.

And the end of the course, teacher played a clip of National Geographic. This clip could be found here: http://www.poetv.com/video.php?vid=28007

Is that real? I consider not. I don’t belive vampires and ghosts.

After my class I attended Joe’s study advice. I was new here. We talked about English study, he suggested us to practise at www.listeningexpress.com

At the end, write a tongue twister:

She sells seashells on the seashore, the shells she sells are seasheels. So if she sells shells on the seashore, I’m sure she sells seashore shells.

That’s all for today, have a nice sleep.

.NET 2.0数据绑定纯粹是垃圾

我在开发WinForm应用程序的时候很少使用数据绑定,以前也没有怎么用过。今天在做一个参数设置面板的时候用到了他。然而很令我失望,它不仅没有解决问题,而且还带来了严重的问题,让我找了好半天,最后确认是BUG。当然也不是我一个人遇到了,看看这篇文章,他们也遇到了相同问题。

问题描述起来是这样的:

我有一个这么样一个Class:

public class BindTest
{
private int number = 5;

private int anotherNumber = 10;

public int Number
{
get { return number; }
set { number = value; }
}

public int AnotherNumber
{
get { return anotherNumber; }
set { anotherNumber = value; }
}
}

窗体上有两个控件,一个是textBox1,绑定Number属性,另一个是textBox2,绑定AnotherNumber属性。由于我需要“确认”和“取消”按钮,所以我在高级绑定里面将两个控件的绑定行为改为Never,也就是不更新它的值。

按照MSDN里面阐述的,使用Binding的WriteValue()方法就可以将数据更新。在我的程序里面可以这样写:textBox1.DataBinding[0].WriteValue();

textBox2类似的做法。

后来一运行,问题就出来了,仅仅能够将textBox1的值更新,而textBox2的值还原了!!!

一番搜索以后又回到了刚开始的那篇讨论中,有人这么说道:

As to the problem above this comment, it is a common malfunction of databinding. Simply, if you attempt to control the writing/reading behavior of Binding class, it will –REVERT– changes of all other non-bound fields/properties. Therefore, only first bound control gets updated due to the fact it is the only one which has access to CHANGED data, after its done with the update, it reverts the changes back thus canceling them, so other bindings are useless.

大意是“这是数据绑定的一个故障。简而言之,试图操作绑定类的写入和读取行为,它回将所有的未绑定的字段和属性还原。因此,仅仅只有第一个被绑定的对象能够得到修改了的数据,在它完成刷新操作之后,它将所有的修改还原因此就取消了其他控件的修改,因此绑定是无用的”

理解了以后,就明白了,我得重新手动写了,哎,数据绑定真是讨厌啊。

Little hard to understand

He, a British man, tought me the second private class. His voice was fast and at the first I even could not catch what he said. I have to tell him to repeat: I’m sorry and could you please repeating that?

But not all students weren’t know what he said. A girl sat beside me, who brought a English novel, told me that is easy to know what he said. I did not lose my mind but listened carefully and tried to understand.

After a few moment, I was familar with his voice although I don’t know some words. I tried my best. Finally I almost knew every thing he said. That’s much better!

Complementary class was followed by private class, my teacher was an handsome American man. Todays’ topic had been English in hard times, but we enjoyed talking about other things, so finally teacher changed his mind. To me, it’s no matter what topic, I was listening and practising.

Here take some notes about what I learned today:

  • Oh, my god. Thanks heavenas.
  • handed it in
  • carry away; who’s taken it?
  • tangible, intangible
  • bolt of lightning
  • shelter – some place to hide from rain
  • soaking wet – really wet. Today is so hot that we are soaking wet.
  • witness
  • creak
  • defiance, defy
  • handout
  • spouse – wife or husband
  • accuse – eg. Maybe you have been accused of some crime?
  • paralyze – make powerless and unable to function
  • bossy
  • lousy – very bad