User Profile

Collapse

Profile Sidebar

Collapse
MyMarlboro
MyMarlboro
Last Activity: Jun 18 '10, 04:08 PM
Joined: Mar 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MyMarlboro
    replied to public Form1() VS Form1_Load
    Assume i want the label1.Text =abc

    should i put inside
    Code:
           public Form1() 
            { 
                InitializeComponent(); 
               label1.Text ="abc";
            }

    Code:
            private void Form1_Load(object sender, EventArgs e) 
            { 
              label1.Text ="abc";
            }
    ...
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    replied to public Form1() VS Form1_Load
    if i set my control before executing to some parameter.. should i put it at Form1() or Form1_Load() ?
    No different right?...
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    started a topic public Form1() VS Form1_Load

    public Form1() VS Form1_Load

    Code:
           public Form1()
            {
                InitializeComponent();
               // some statements
            }


    Code:
            private void Form1_Load(object sender, EventArgs e)
            {
              // some statements
            }
    What is the different to put the statement inside public Form1() and Form1_Load ?
    See more | Go to post

  • MyMarlboro
    started a topic Perl 5.8.9 vs perl 5.10.1
    in Perl

    Perl 5.8.9 vs perl 5.10.1

    what's the different between the above 2 version?
    Which one should i install?
    i'm using windows vista x86
    Thanks.
    See more | Go to post

  • Windows Vista.
    could Windows Connection Sharing help in making a WifI access point?...
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    started a topic how to pass string to database query?
    in PHP

    how to pass string to database query?

    i have a form where user click on a button then will direct him to another form which is database displaying page. i would like to filter the query based on user login id. So i could i do that?


    $result = mysql_query("SE LECT * FROM myDatabase WHERE name = 'userLoginID'") ; // < i could i get the userLoginID and pass it to here??
    See more | Go to post

  • yup, notebook acts as a wireless router. How to make it happen?...
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    started a topic Setup WiFi Access point using notebook

    Setup WiFi Access point using notebook

    Hi,
    my notebook (windows vista) is connected to ethernet, is it possible to set up a wifi access point which create by the notebook so that my other tools e.g. psp, iphone could benefit through it?
    Thanks
    See more | Go to post

  • MyMarlboro
    replied to background color (Help)
    Hi Dormilich and dheerajjoshim,
    when i insert the code.. i got NO error on that. Just the background color didnt change.
    i search through the code i didnt find the "header" nor the " echo"
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    replied to background color (Help)
    Thanks.


    i learnt that basically i need to insert

    Code:
    <style type="text/css">
    mybackground
    {
    background-color:#e0ffff;
    }
    </style>
    between the

    Code:
    <html>
    <head>
    
    </html>
    </head>
    but now my problem is... i cant find the header in my web (myweb.php)

    ...
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    replied to background color (Help)
    Hi, thanks for your reply. I am totally new to php.
    what is the "classname of css with bgcolor" ??

    is it i need to put the above code that given by you before the Activities??
    Thanks....
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    started a topic background color (Help)

    background color (Help)

    i have a form as below where by default its background color is white

    ________
    Name:
    Address:

    Activities:
    Year:
    Service:
    _______

    My question is how to change its portion of background color from white to pink? e.g. the background for Name and Address remain as white while starting from activities till service their background color will be pink?

    Thanks
    See more | Go to post

  • MyMarlboro
    started a topic rearrage panel in run time

    rearrage panel in run time

    Could anyone tell me how to rearrange panels (panelA, panelB, panelC) in flowLayoutPanel 1 (the flow direction is TopDown)?
    e.g which in run time, i could drag panelB on top of panelA so the new arrangement will be
    (panelB, panelA, panelC)

    Thanks.
    See more | Go to post

  • MyMarlboro
    replied to Create and delete Controls At Runtime
    Thank you.
    i wonder if i can create a close button at the top right edge of each panel... so that i could close the panel with the 'x' button likewise the form we have.
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    replied to Create and delete Controls At Runtime
    how to set dock to full??? Dock only could set to fill, bottom, right, left and top.

    i set panel1 to fill. add another 3 panels ( panel2, panel3, panel4) and 1 button on tops of it. for button1_click i add the code this.panel1.Con trols.RemoveByK ey("panel3");

    but the click button panel3 gone but panel4 didnt shift up...

    please guide...
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    replied to Create and delete Controls At Runtime
    to remove the chart2.. i could use the this.Controls.R emoveByKey("cha rt2"); command... but the problem is the chart3 wont shift up...
    i'm not sure whether is it the right approach to use the command to delete the chart2.
    See more | Go to post

    Leave a comment:


  • MyMarlboro
    started a topic Create and delete Controls At Runtime

    Create and delete Controls At Runtime

    Assume i have a chart (a type of control)...
    at run time, how could i add more charts and close the charts on a form by end user?
    e.g.

    ---------------------
    chart1
    chart2
    ---------------------

    as i add a new chart it become as below...

    ---------------------
    chart1
    chart2
    chart3
    ---------------------

    when i close chart2, chart3...
    See more | Go to post

  • Anyone please help me? where is my mistake?
    :)
    See more | Go to post

    Leave a comment:


  • Noted.

    i've changed my name of the form.
    Basicaly in frmMain i have 2 controls which are textBox and buttonA; initially textBox is set to disable.
    The buttonA is used to trigger frmTrigger's textBox; in this form i have 1 control which is buttonB that is used to enable the textBox in frmMain.

    frmMain:
    Code:
    namespace WindowsFormsApplication1
    {
        public partial class frmMain : Form
    ...
    See more | Go to post

    Leave a comment:


  • Thanks cloud255 and insertAlias.
    it still doesnt work. i had set the textBox1 to public.
    still.. it's because of if (_frm1 != null) statement.
    Anything that i missed?

    calling the Form2(Form1 frm1) constructor in Form1? what it means?
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...