This topic has been archived. It cannot be replied.
-
工作学习 / 职位情报 /
tor
To feihong,guestagain: 我也来两道.NET题目, 不算难. 不过能实现至少我认为能力不错.
-onethousandmail(OneThousandMail);
2005-10-27
{1010}
(#2576631@0)
-
就顶一次。随便凑满三题。本论坛.NET好手众多,欢迎大家指正
-onethousandmail(OneThousandMail);
2005-10-28
{927}
(#2577532@0)
-
第二题答案: this.ControlBox=false;private void Form1_Load(object sender, System.EventArgs e)
{
this.ControlBox=false;
}
这样做将把所有的三个控制按钮全部抹掉,好象并不是搂主所讲的只将close按钮抹掉,但这是我能想到的最好的办法了。还有更好的方法,希望大家贴出来
-binghongcha76(一只大猫);
2005-10-28
{243}
(#2578832@0)
-
这不是作者要得答案。systemMenu 还要的。
-holdon(again);
2005-10-29
(#2579142@0)
-
这题面试我肯定不会。没做过。我只知道VC++里CreateWindow可以做。不过google 一下答案就有了。用CreateParams 。不过看MSDN 里的用Style 不灵,一定要ClassStyle
-holdon(again);
2005-10-29
(#2579161@0)
-
If you focus on this kind of "Skill", then you or what you are looking for is too low. It is just like 123 x 123 = ? which is for my calculator not for me.
-vicky2005(孩子她爹);
2005-10-28
(#2577705@0)
-
说这个没意思。这些东西都是有迹可寻的。就说我今天的题,如果你的电脑是Windows系统,那么请你打开Explore, 用上下键去滚动左边Folders栏里的项,看看右边栏的反应。
-onethousandmail(OneThousandMail);
2005-10-28
(#2577779@0)
-
I can answer. But is it possible to ask so simple questions in a .NET job interview? Last time I answered phone from RA_95, the questions were not like that. Most of them are concepts of .NET.
-vega_lee(天津包子-就不改);
2005-10-28
(#2577789@0)
-
那就将你的答案贴出来。你要能回答至少我觉得你.NET能力不错,没别的意思。这是对於答案以外回贴的最后跟贴
-onethousandmail(OneThousandMail);
2005-10-28
(#2577803@0)
-
how could I know how much memory has been used by one application running on Windows?
-dop(道听途说);
2005-10-28
(#2578080@0)
-
You mean Process.WorkingSet Property ?. BTW. Pls ask question in separated post.
-onethousandmail(OneThousandMail);
2005-10-28
(#2578153@0)
-
These kind of questions is totally unuseful..Let me ask you a .net question,what is the basic pattern of async communication .
-argcsina(aloneindark);
2005-10-28
(#2578204@0)
-
What is your mean "basic pattern"?
-nealzhao(neal);
2005-10-28
(#2578215@0)
-
Come on. Can't you search keyword asynchronous in title of your MSDN for .NET. Pls read whatever you want.
-onethousandmail(OneThousandMail);
2005-10-28
(#2578228@0)
-
闲着也闲着。.NET里的异步主要两个方法: BeginInvoke和EndInvoke. 其实就是CallBack.调用Asynchronous Delegate的EndInvoke时还在子thread. 要回到Main Thread. 必须用ISynchronizeInvoke.Invoke Method 。一个现成实现这个接口的方法是System.Windows.Forms.Control.Invoke Method (Delegate, Object[])
-onethousandmail(OneThousandMail);
2005-10-28
{203}
(#2578296@0)
-
well,maybe I am not make it clearly enough,what I mean is the design pattern
-argcsina(aloneindark);
2005-10-28
(#2578329@0)
-
Asynchronous Design Pattern Overview
-onethousandmail(OneThousandMail);
2005-10-28
(#2578332@0)
-
Multi-tier async call design pattern,that means you need to specify the async call across the physical boundary.
-argcsina(aloneindark);
2005-10-28
(#2578335@0)
-
我觉得这个问题换一下问,举一个例子,使用异步模式解决一个实际问题。还有一个问题,大家对Web Services 如何看,优点缺点,何时使用,如何使用.
-nealzhao(neal);
2005-10-28
(#2578715@0)
-
我只会用C/C++自己实现异步通讯,至于用什么API来调用,这个就比较简单了
-googleabcd(古狗);
2005-10-28
(#2578802@0)
-
Hopefully you don't have opportunity to ask this kind of question:))
-luckycookies(luckycookies);
2005-10-28
(#2578307@0)
-
Exactly what i am thinking too...
-canadiantire(轮胎-M.I.N.K.);
2005-10-28
(#2578328@0)
-
和ra_95的问题比起来,我宁愿被问这样的问题,
-holdon(again);
2005-10-28
(#2578362@0)
-
What is ra_95's question?
-luckycookies(luckycookies);
2005-10-28
(#2578382@0)
-
留着他下次问你吧。
-holdon(again);
2005-10-28
(#2578386@0)
-
I searched history. I don't think I will give him this opportunity.:)
-luckycookies(luckycookies);
2005-10-28
(#2578393@0)
-
我不会.NET...所以....比较恶心....lol
-ra_95(小人-行尸走肉);
2005-10-28
(#2578697@0)
-
Agent?
-luckycookies(luckycookies);
2005-10-28
(#2578713@0)
-
罗嗦了半天,除了都想证明自己水平很高,不屑一顾之外,怎么没一个人做做题?没必要这样曲高和寡吧!我来作下第三题
-binghongcha76(一只大猫);
2005-10-28
{1174}
(#2578768@0)
-
I don't know if I can do or not. I just not interested doing any similar thing I need to do during daytime.
-luckycookies(luckycookies);
2005-10-28
(#2578776@0)
-
思路不错. 不过我记得SelectedIndexChanged事件先于KeyDown事件发生. 所以有待改进.
-onethousandmail(OneThousandMail);
2005-10-29
(#2579217@0)
-
对不起. 多年前的版本是我记得SelectedIndexChanged事件先于KeyDown事件发生. 刚刚我在VS2003上试一下, 这方法可以.不过如果实际应用, 需要判断的键太多(UP,Down,PageUp,PageDown等). 请见你的PM
-onethousandmail(OneThousandMail);
2005-10-29
{73}
(#2579251@0)
-
第一题答案.....就是在 validating 函数里加一句判断
private void textBox1_Validating(object sender, System.ComponentModel.CancelEventArgs e)
{
if(this.button2.Focused==true)
{
If (!IsValidated())
e.Cancel = True
}
}
-binghongcha76(一只大猫);
2005-10-28
{250}
(#2578890@0)
-
你测试过吗?
-onethousandmail(OneThousandMail);
2005-10-29
(#2579212@0)
-
对不起. 我测试了一下,可以的. 好方法
-onethousandmail(OneThousandMail);
2005-10-29
(#2579238@0)
-
对不起, 我可以将题目变化一下否?如何在通过系统菜单(窗口的左上角菜单)或右上角的按扭"X"关闭窗口时不调用Validating中的代码.
-onethousandmail(OneThousandMail);
2005-10-29
{90}
(#2579267@0)