စိတ်ပေါက်ပေါက်နဲ့ Usercontrol တစ်ခုလုပ်ပါတယ်..။ Project မှာ Number ကို Textbox ထဲရိုက်ထည့်နေရတာထက် အခုလို mouse နဲ့ပဲ နှိပ်မလားလို့ စဉ်းစားမိလို့ပါ...။ ဒါဆိုရင် နောက် Touchscreen တွေအတွက်လည်း အဆင်ပြေပါတယ်..။ ကုန်ပစ္စည်းကုတ်တွေကို လက်နဲ့ နှိပ်ပြီး ဖြည့်ရုံပါပဲ..။ Usercontrol လုပ်ပြီးသွားတဲ့အခါ သူ့မှာ Windowform လို Topmost property ပါမလာပါဘူး ..။ သူက တခြားစာသားကို ဖုံးနေပါတယ်...။ အဲဒါရှာကြည့်လိုက်တော့ အောက်ပါအတိုင်း Usercontrol မှာ SendToBack() နဲ့ BringToFront() ကို ထည့်သုံးသွား ရုံပါပဲ...။ Now all ok..!

HERE source code of my UserControl
Making UserControl Topmost (WinForm)
Saturday, December 11, 2010
min that thant
Posted in
C#
Subscribe to:
Post Comments (Atom)

No Response to "Making UserControl Topmost (WinForm)"
Post a Comment