User Profile

Collapse

Profile Sidebar

Collapse
b0b3rt
b0b3rt
Last Activity: Feb 18 '08, 02:50 AM
Joined: Feb 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • b0b3rt
    replied to C# textbox Object reference problem
    in .NET
    I figured out that if I do this in Form1:
    private void Open()
    {
    Open Open = new Open();
    Open.Show();
    this.Hide();
    }

    (And then call it)

    public void OpenFile()
    {
    textBox1.Text = OpenTxt; <-- (string value set in (form)Open)
    }

    and this in (form)Open:
    ...
    See more | Go to post

    Leave a comment:


  • b0b3rt
    replied to What is SDLC ?
    in .NET
    en.wikipedia.or g/wiki/Systems_Develop ment_Life_Cycle
    See more | Go to post

    Leave a comment:


  • b0b3rt
    replied to C# textbox Object reference problem
    in .NET
    Could you show me an example using my code? Or any code at all.
    I'm not quite sure I understand what you mean by declaring a form1 object in form2.
    See more | Go to post

    Leave a comment:


  • b0b3rt
    started a topic C# textbox Object reference problem
    in .NET

    C# textbox Object reference problem

    Hi. I've got a problem with object references in a second form in the application.
    I'll just post the code of both forms.
    The error is at the bottom of the post.

    First form (With textbox).
    Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    ...
    See more | Go to post
No activity results to display
Show More
Working...