Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: base64 and UTF-8 encoding issue Pin
Xmen Real 22-Feb-09 3:12
professional Xmen Real 22-Feb-09 3:12 
GeneralRe: base64 and UTF-8 encoding issue Pin
George_George22-Feb-09 3:22
George_George22-Feb-09 3:22 
GeneralRe: base64 and UTF-8 encoding issue Pin
Xmen Real 22-Feb-09 3:27
professional Xmen Real 22-Feb-09 3:27 
GeneralRe: base64 and UTF-8 encoding issue Pin
George_George22-Feb-09 20:32
George_George22-Feb-09 20:32 
QuestionSolitaire like card game Pin
nubbs22-Feb-09 3:01
nubbs22-Feb-09 3:01 
AnswerRe: Solitaire like card game Pin
Xmen Real 22-Feb-09 3:11
professional Xmen Real 22-Feb-09 3:11 
QuestionSecond form using accessors of first form to alter first form object properties problem Pin
Member 210292422-Feb-09 2:54
Member 210292422-Feb-09 2:54 
AnswerEverything is working Pin
Xmen Real 22-Feb-09 3:07
professional Xmen Real 22-Feb-09 3:07 
public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
       
        public string WriteMainMessage
        {
            get { return textBox1.Text; }
            set
            {
                textBox1.Text = value;
                MessageBox.Show("from set " + textBox1.Text);
            }
        }
    }


public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
            form1 = new Form1();
            form1.Show();
        }
        Form1 form1;
        private void button1_Click(object sender, EventArgs e)
        {
            form1.WriteMainMessage = "This is accessor";
            MessageBox.Show("accessor says " + form1.WriteMainMessage);
        }
    }


I tested this code and found its working as it should...did you called Show() of form1 ?

TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can

GeneralRe: Everything is working Pin
Member 210292422-Feb-09 3:41
Member 210292422-Feb-09 3:41 
GeneralRe: Everything is working Pin
Member 210292422-Feb-09 3:43
Member 210292422-Feb-09 3:43 
GeneralRe: Everything is working Pin
Xmen Real 22-Feb-09 6:56
professional Xmen Real 22-Feb-09 6:56 
GeneralRe: Everything is working Pin
DaveyM6922-Feb-09 9:27
professionalDaveyM6922-Feb-09 9:27 
GeneralRe: Everything is working Pin
Member 210292422-Feb-09 19:11
Member 210292422-Feb-09 19:11 
GeneralRe: Everything is working Pin
DaveyM6923-Feb-09 1:38
professionalDaveyM6923-Feb-09 1:38 
Question[Message Deleted] Pin
Chetan Patel22-Feb-09 1:59
Chetan Patel22-Feb-09 1:59 
AnswerRe: Custom Window Control, The Control does not Repaint on Posision change of SCROLL Pin
Xmen Real 22-Feb-09 2:54
professional Xmen Real 22-Feb-09 2:54 
QuestionHow to add multiple controls at runTime ? Pin
hdv21222-Feb-09 0:52
hdv21222-Feb-09 0:52 
AnswerRe: How to add multiple controls at runTime ? Pin
Member 349379922-Feb-09 1:09
Member 349379922-Feb-09 1:09 
AnswerRe: How to add multiple controls at runTime ? [modified] Pin
Member 349379922-Feb-09 1:16
Member 349379922-Feb-09 1:16 
GeneralRe: How to add multiple controls at runTime ? Pin
hdv21222-Feb-09 1:30
hdv21222-Feb-09 1:30 
GeneralRe: How to add multiple controls at runTime ? Pin
dan!sh 22-Feb-09 1:52
professional dan!sh 22-Feb-09 1:52 
GeneralRe: How to add multiple controls at runTime ? Pin
ABitSmart22-Feb-09 2:09
ABitSmart22-Feb-09 2:09 
AnswerRe: How to add multiple controls at runTime ? Pin
Luc Pattyn22-Feb-09 2:27
sitebuilderLuc Pattyn22-Feb-09 2:27 
QuestionCompile error: Using strings inside Struct with LayoutKind.Explicit Pin
Member 349379921-Feb-09 23:57
Member 349379921-Feb-09 23:57 
AnswerRe: Compile error: Using strings inside Struct with LayoutKind.Explicit Pin
Luc Pattyn22-Feb-09 2:35
sitebuilderLuc Pattyn22-Feb-09 2:35 

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.