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
S

Sylenze

@Sylenze
About
Posts
9
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ListView list importing from .txt/ini file?
    S Sylenze

    FileMode.Open is an inacceptable overload =x

    C# question tutorial

  • ListView list importing from .txt/ini file?
    S Sylenze

    Hey, i have a question... I'm writing a program, it goes like the following: it reads every line in the txt file as one option, and you can select those options, let's say the resolution of, and after that it writes the value to another file (a settings.ini for example), then boots the specified program with that changed value. it's like: Settings.txt: 640x320 800x600 1024x768 1200x1024 1600x1200 and so on. now how can i make the .txt file be shown in the listview, and how can i define every line as 1 option?

    C# question tutorial

  • Random Number from 6 to 86
    S Sylenze

    okay thanks all for helping me =] here's the source and exe: hosted.filefront.com/sylenze

    C# csharp help tutorial question lounge

  • Random Number from 6 to 86
    S Sylenze

    wow you'r really good in c# =O Sorry i'm new to all this and i don't have much time for learning it... hmm #region Vbar1 vbar1.Value x = 15; x = (vbar1.Value)(Math.Round(x / 10.0) * 10.0); #endregion the debugger says vbar1 is a field but it's used like a type @_@ and what's the 15 for? -- modified at 14:15 Tuesday 14th August, 2007

    C# csharp help tutorial question lounge

  • Random Number from 6 to 86
    S Sylenze

    Ok i've got another problem... Now if you click on the "Make even!" button (for rounding up and off to 10~values, like 10 20 30 40) i don't know what to put it... I mean it should also be usable in other things like unknown values from 1~25233636 for example. it's currently this: #region Vbar1 if (vbar1.Value = 6-10) { vbar1.Value = 10; } #endregion 1. i don't know how to make it like "from 6 to 10", the - isn't working O__O 2. it's not really flexible and i have to make like 9 if handlers for every pbar... if (vbar1.Value > 6 & < 10 ) isn't working too...

    C# csharp help tutorial question lounge

  • Random Number from 6 to 86
    S Sylenze

    ok nevermind i got it thanks!

    C# csharp help tutorial question lounge

  • Random Number from 6 to 86
    S Sylenze

    omg there is no next method... Maybe i forgot a using directive? there are only 2 methods on Random... it's Equals and ReferenceEquals

    C# csharp help tutorial question lounge

  • Random Number from 6 to 86
    S Sylenze

    System.Random is the same as Random D: someone please explain me =(

    C# csharp help tutorial question lounge

  • Random Number from 6 to 86
    S Sylenze

    Hello... I'm new to C# and i want to train my skills with programming an Application that looks at 3 progressbars and make the values of them "even", like if pbar1's value is 34, it becomes 30, but if it is 36, it becomes 40. I use it to test the Fuzzy logic dot net =x Now this is the code i need help with: private void button2_Click(object sender, EventArgs e) { if (chkbx1.Checked) { vbar1.Value = Random; } } "button2" is my Object for generating random Numbers for those pbars with checked checkboxes... Now how to get that random Value from 6 to 86? please help =(

    C# csharp help tutorial question lounge
  • Login

  • Don't have an account? Register

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