Click here to Skip to main content
15,894,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image corruption in picturebox Pin
Luc Pattyn7-Sep-10 2:27
sitebuilderLuc Pattyn7-Sep-10 2:27 
QuestionHow to Unhide the Hidden form Pin
Ravindra Bisen6-Sep-10 23:36
Ravindra Bisen6-Sep-10 23:36 
AnswerRe: How to Unhide the Hidden form Pin
OriginalGriff6-Sep-10 23:44
mveOriginalGriff6-Sep-10 23:44 
AnswerRe: How to Unhide the Hidden form Pin
Luc Pattyn7-Sep-10 1:52
sitebuilderLuc Pattyn7-Sep-10 1:52 
GeneralRe: How to Unhide the Hidden form Pin
DaveyM697-Sep-10 2:04
professionalDaveyM697-Sep-10 2:04 
GeneralRe: How to Unhide the Hidden form Pin
OriginalGriff7-Sep-10 2:18
mveOriginalGriff7-Sep-10 2:18 
AnswerRe: How to Unhide the Hidden form Pin
DaveyM697-Sep-10 2:01
professionalDaveyM697-Sep-10 2:01 
GeneralRe: How to Unhide the Hidden form Pin
Hum Dum8-Sep-10 0:25
Hum Dum8-Sep-10 0:25 
WRT your code, I want to get data from FormReader to FormStart.

I uses following 2 approaches:
A)
FormReader formReader = new FormReader(this);


Now, making FormStart member as internal/public accessing them on FormReader.

B)On click(here its closing) event handler as you did

private void formReader_FormClosing(object sender, FormClosingEventArgs e)
    {
        //access member of FormReader
    }


But here i have to make FormReader Member internal/public


My question is,
Which approach is good?
As in first we are making parent form member public,
But,In 2nd we are child form member public.
Or is there any other way?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Also If i have a case like
interface IA
    {
        void M();
    }

    interface IB
    {
        void M();
    }

    class ABC : IA, IB
    {
        public void M()
        {
            MessageBox.Show("Hello");
        }
    }

ABC a = new ABC();
a.M();

Whose Interface method i am implementing?
Its running not giving error?
What is the use of this definition ?
And what should i do if i want to implement IA not IB or vice versa.

Or by default its calling/implementing IA M, as it's mentioned 1st as ABC:IA,IB
GeneralRe: How to Unhide the Hidden form Pin
DaveyM698-Sep-10 1:53
professionalDaveyM698-Sep-10 1:53 
GeneralRe: How to Unhide the Hidden form Pin
DaveyM698-Sep-10 1:57
professionalDaveyM698-Sep-10 1:57 
AnswerRe: How to Unhide the Hidden form Pin
Luc Pattyn7-Sep-10 2:32
sitebuilderLuc Pattyn7-Sep-10 2:32 
QuestionSave/Load Class Pin
_Q12_6-Sep-10 19:05
_Q12_6-Sep-10 19:05 
AnswerRe: Save/Load Class Pin
SeMartens6-Sep-10 20:41
SeMartens6-Sep-10 20:41 
GeneralRe: Save/Load Class Pin
_Q12_6-Sep-10 23:28
_Q12_6-Sep-10 23:28 
GeneralRe: Save/Load Class Pin
_Q12_7-Sep-10 8:10
_Q12_7-Sep-10 8:10 
QuestionRe: Save/Load Class Pin
Ravi Bhavnani7-Sep-10 10:29
professionalRavi Bhavnani7-Sep-10 10:29 
AnswerRe: Save/Load Class Pin
_Q12_7-Sep-10 12:34
_Q12_7-Sep-10 12:34 
GeneralRe: Save/Load Class Pin
Ravi Bhavnani8-Sep-10 4:42
professionalRavi Bhavnani8-Sep-10 4:42 
AnswerRe: Save/Load Class Pin
c0ax_lx8-Sep-10 4:57
c0ax_lx8-Sep-10 4:57 
AnswerRe: Save/Load Class Pin
_Q12_8-Sep-10 20:04
_Q12_8-Sep-10 20:04 
AnswerRe: Save/Load Class Pin
_Q12_10-Sep-10 19:26
_Q12_10-Sep-10 19:26 
QuestionProblem installing sql server 2005 express through code. Pin
MayukhSen6-Sep-10 18:42
MayukhSen6-Sep-10 18:42 
QuestionreportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) [modified] Pin
amitcoder836-Sep-10 18:00
amitcoder836-Sep-10 18:00 
AnswerRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
Richard MacCutchan6-Sep-10 21:37
mveRichard MacCutchan6-Sep-10 21:37 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
amitcoder836-Sep-10 23:19
amitcoder836-Sep-10 23:19 

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.