Click here to Skip to main content
15,906,335 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL CONNECTION Pin
Henry Minute23-Aug-09 5:48
Henry Minute23-Aug-09 5:48 
GeneralRe: SQL CONNECTION Pin
kibromg23-Aug-09 7:28
kibromg23-Aug-09 7:28 
GeneralRe: SQL CONNECTION Pin
Henry Minute23-Aug-09 7:46
Henry Minute23-Aug-09 7:46 
QuestionTime Picker Problem* Pin
Lyon Sun23-Aug-09 4:17
Lyon Sun23-Aug-09 4:17 
AnswerRe: Time Picker Problem* Pin
riced23-Aug-09 5:11
riced23-Aug-09 5:11 
GeneralRe: Time Picker Problem* Pin
Lyon Sun23-Aug-09 21:19
Lyon Sun23-Aug-09 21:19 
Questionhow do i disable the close button in a windows form Pin
Vivek Vijayan23-Aug-09 1:57
Vivek Vijayan23-Aug-09 1:57 
AnswerRe: how do i disable the close button in a windows form Pin
OriginalGriff23-Aug-09 2:21
mveOriginalGriff23-Aug-09 2:21 
Set Form.ControlBox = false
(this also removes the Maximise, Minimise and system menu from the form).

You can disable the close box (grey it out, but leave the other info) by overriding the CreateParams method in your form:
protected override CreateParams CreateParams
    {
    get
        {
        CreateParams parms = base.CreateParams;
        parms.ClassStyle |= 0x200;  // CS_NOCLOSE
        return parms;
        }
    }


No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

QuestionHow can I access to objects in a third-party application? Pin
m.samar23-Aug-09 0:40
m.samar23-Aug-09 0:40 
AnswerRe: How can I access to objects in a third-party application? Pin
Luc Pattyn23-Aug-09 0:55
sitebuilderLuc Pattyn23-Aug-09 0:55 
GeneralRe: How can I access to objects in a third-party application? Pin
m.samar23-Aug-09 1:35
m.samar23-Aug-09 1:35 
GeneralRe: How can I access to objects in a third-party application? Pin
Luc Pattyn23-Aug-09 1:47
sitebuilderLuc Pattyn23-Aug-09 1:47 
GeneralRe: How can I access to objects in a third-party application? Pin
m.samar23-Aug-09 2:40
m.samar23-Aug-09 2:40 
GeneralRe: How can I access to objects in a third-party application? Pin
Richard MacCutchan25-Aug-09 10:12
mveRichard MacCutchan25-Aug-09 10:12 
QuestionProducing video Pin
Muammar©22-Aug-09 23:14
Muammar©22-Aug-09 23:14 
Question64bit woes Pin
mav.northwind22-Aug-09 23:05
mav.northwind22-Aug-09 23:05 
AnswerRe: 64bit woes Pin
Luc Pattyn22-Aug-09 23:33
sitebuilderLuc Pattyn22-Aug-09 23:33 
GeneralRe: 64bit woes Pin
mav.northwind22-Aug-09 23:56
mav.northwind22-Aug-09 23:56 
Questionlast record is not deleted Pin
mahdi198422-Aug-09 21:10
mahdi198422-Aug-09 21:10 
QuestionWhat is the method in C# like the method - "repaint()" in JAVA??? Pin
TAFIN22-Aug-09 20:11
TAFIN22-Aug-09 20:11 
AnswerRe: What is the method in C# like the method - "repaint()" in JAVA??? Pin
stancrm22-Aug-09 20:19
stancrm22-Aug-09 20:19 
GeneralRe: What is the method in C# like the method - "repaint()" in JAVA??? Pin
TAFIN22-Aug-09 20:31
TAFIN22-Aug-09 20:31 
GeneralRe: What is the method in C# like the method - "repaint()" in JAVA??? Pin
OriginalGriff22-Aug-09 21:09
mveOriginalGriff22-Aug-09 21:09 
GeneralRe: What is the method in C# like the method - "repaint()" in JAVA??? Pin
TAFIN22-Aug-09 21:40
TAFIN22-Aug-09 21:40 
GeneralRe: What is the method in C# like the method - "repaint()" in JAVA??? Pin
OriginalGriff22-Aug-09 21:54
mveOriginalGriff22-Aug-09 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.