Click here to Skip to main content
11,415,046 members (74,278 online)


QuestionAggregate data into 5 min interval Pin
Member 94707244-Oct-12 12:59
memberMember 94707244-Oct-12 12:59 
QuestionC# linq Pin
rachel_m4-Oct-12 10:36
memberrachel_m4-Oct-12 10:36 
AnswerRe: C# linq Pin
Collin Jasnoch4-Oct-12 11:00
memberCollin Jasnoch4-Oct-12 11:00 
Question.exe Reference Problem - maybe Pin
dirsow4-Oct-12 8:52
memberdirsow4-Oct-12 8:52 
I made a software with several forms and a few of them have a private constructor and a public static method that is responsible for creating, initializing and showing it. Everything works fine within this application, but now I made another desktop application and I added a reference in this new application to the old one, so I could reuse all forms. Well, every form I call the constructor directly works fine (mdi forms for example), but those "special" classes with private constructors give me an error compiling in release mode, but weirdly it compiles fine in debug mode... Any ideas?

that's how i call
FrmRequestPwd.Show(true, "Solicite uma senha ao seu representante!");

    public partial class FrmRequestPwd : Form
        private FrmRequestPwd()
        public static void Show(bool isError, string msg)
            using (FrmRequestPwd frm = new FrmRequestPwd())
                frm.lblMsg.Text = msg;
                frm.Text = isError ? "Erro" : "Aviso";
                frm.txtSerialHD.Text = Kernel32Managed.GetVolumeSerial('C');
        private void btnOK_Click(object sender, EventArgs e)

AnswerRe: .exe Reference Problem - maybe Pin
Eddy Vluggen4-Oct-12 10:01
memberEddy Vluggen4-Oct-12 10:01 
GeneralRe: .exe Reference Problem - maybe Pin
dirsow4-Oct-12 10:27
memberdirsow4-Oct-12 10:27 
GeneralRe: .exe Reference Problem - maybe Pin
Eddy Vluggen4-Oct-12 10:34
memberEddy Vluggen4-Oct-12 10:34 
GeneralRe: .exe Reference Problem - maybe Pin
dirsow4-Oct-12 10:41
memberdirsow4-Oct-12 10:41 
AnswerRe: .exe Reference Problem - maybe Pin
Bernhard Hiller4-Oct-12 22:00
memberBernhard Hiller4-Oct-12 22:00 
Questionhow to setting Four tier application in my application? Pin
somasundarapandian4-Oct-12 5:28
membersomasundarapandian4-Oct-12 5:28 

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

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

Advertise | Privacy | Mobile
Web03 | 2.8.150427.4 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid