Use System Images in C# -


मैं एक कस्टम संदेशबॉक्स बना रहा हूँ मैं त्रुटि , सूचना , चेतावनी और आदि जैसे सिस्टम चित्रों का उपयोग कैसे कर सकता हूं, जो मैं खिड़कियों में देखता हूं MessageBox ? मैं उन्हें सीधे पहुँचना चाहता हूं!

सिस्टम। ड्रॉइंग। सिस्टम Icons । आपको उन्हें वहां ढूंढना चाहिए।

फिर अपने पिक्चरबॉक्से सेट करें (यहां Winforms मानिए):

  PictureBox1.Image = System.Drawing.SystemIcons.Warning.ToBitmap () ;    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -