Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

dimo1982

@dimo1982
About
Posts
10
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to call function timer on button click
    D dimo1982

    Yes indeed Thank you very much

    C# tutorial help question

  • how to call function timer on button click
    D dimo1982

    Hi I`m trying to run timer on tick method after clicking the button and i dont really understand how it can be done. can anyone help please :doh: ?? for example : private void button1_Click(object sender, EventArgs e) { myTimer.Enabled = true; //Run myTimer_tick } private void myTimer_Tick(object sender, EventArgs e) { //Do something here }

    C# tutorial help question

  • windows forms refresh, update???
    D dimo1982

    It`s not working for me, what i`ve noticed is that all the panel as the user switches between do same thing whether there are only labels or pictureBoxes so i`m assuming that there`s the problem with bitmap on the background of the form. panels they are all set up as transparent. any ideas??

    C# help winforms tutorial question announcement

  • windows forms refresh, update???
    D dimo1982

    right i`ll try that but i forgot to tell you that on the form is background 800x600 bitmap so maybe that is the reason that is so slow.

    C# help winforms tutorial question announcement

  • windows forms refresh, update???
    D dimo1982

    Hi To all I`m very new to the programming and got stuck. So i`ve been trying to write a program using Windows Form which include several different panels on. User can choose between which one is visible. on each form there are few pictureboxes and my problem is ..... when you swich between them in the runtime it`s not smooth enough :( user can see loadning frames of these picture boxes for few miliseconds this is really annoying. Is there any easy way of loading it in the background and show it after its ready or something ??? I started reading about threads etc but at the moment its quite difficult, i will be gratefull if someone could explain it with an example Thanks in advance Dims

    C# help winforms tutorial question announcement

  • How to use public int?!!?!!? windows form.
    D dimo1982

    Hello still nothing cannot solve this problem, so what i tried is i tried declare variable as a (public int nameOfInteger) just before the method, in the begining oif the class and everywhere else. Still confused thats my code

    namespace ExerciseInt
    {
    public partial class Form1 : Form
    {
    int newNumber;

        public Form1()
        {
            InitializeComponent();
           
        }
    
        public void button1\_Click(object sender, EventArgs e)
        {
            Random myRandom = new Random
            myNumber = myRandom.Next(1,10);
        }
    
        private void button2\_Click(object sender, EventArgs e)
        {
            MessageBox.Show(myNumber.ToString());
        }
    }
    

    }

    so when i click button1 variable should be set up and when click button2 i would like to see this variable in the message box. looking forward to hear from you.

    C# help tutorial question performance lounge

  • How to use public int?!!?!!? windows form.
    D dimo1982

    Hello All I`m very new to the programming so this might be easy question to all of you, i`m hoping someone can help me out. So i`m trying to write very easy program in windows form but i have encountered the problem. lets say that i have an event on the button1 (CLICK) which should pick up a random number and hold it in the memory unless i click it again to change it. My problem is that i cannot figure out how to use this variable which has been set up in the first place with another event button2(Click) which will use this variable and do other task with using int previously declared. Short example:

    public void Random_Click(object sender, EventArgs e)
    {
    Random myRandom = new Random();
    int myNumber = myRandom.Next(1,10);
    }
    public void Button2_Click(object sender, EventArgs e)
    {
    MessageBox(myNumber.ToString());
    }

    This will not work and i cannot find the way to get it right plese help !!!

    C# help tutorial question performance lounge

  • how can i get data from SQL northwind.sdf into the textBox ????????? need help
    D dimo1982

    Ok as soon as I get back home I will post my code

    C# help database question csharp tutorial

  • how can i get data from SQL northwind.sdf into the textBox ????????? need help
    D dimo1982

    Any chacne that you could post one for my code please?? Seriously I have been trying to find solution for last 5 days !

    C# help database question csharp tutorial

  • how can i get data from SQL northwind.sdf into the textBox ????????? need help
    D dimo1982

    Hello Everybody I have a problem with retreiving data from Example Northwind.sdf database I need your help please !!!! I`m very new to C# sharp so please be understanding. So far I got a connection but cannot manage to get data into the text box(i`m using Microsoft Visual C# 2008 Express Edition) I looked into hundreds of examples and still nothing... this is my CODE ----------------- private void getDataButtton_Click(object sender, EventArgs e) { string conString = Properties.Settings.Default.NorthwindConnectionString; using (SqlCeConnection connect = new SqlCeConnection(conString)) { try { connect.Open(); MessageBox.Show("Connection Established"); ..................... ..................... ..................... } catch { MessageBox.Show("Connection Error!!!"); } } } Dim

    C# help database question csharp tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups