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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

dorwin

@dorwin
About
Posts
7
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • change of size of PictureBox? (error in code, or in .NET2.0?)
    D dorwin

    :) thank You so much! this was the reason.. SizeMode is new property in .NET 2.0 :)

    C# csharp help winforms com graphics

  • change of size of PictureBox? (error in code, or in .NET2.0?)
    D dorwin

    Hi, I have a simple project in WinForms (C# Express) .NET 2.0: vo form I have inserted panel (panel1) and in panel there is PictureBox1 Panel1 has property Dock = Fill PictureBox1 has property Dock = Top on Resize event for picturebox I have: /*----------------------------------------------------------------------*/ 1 private void pictureBox1_Resize(object sender, EventArgs e) 2 { 3 Image newImg = new Bitmap(panel1.Width ,panel1.Height ); 4 if (PictureBox1 != null) 5 { 6 if (PictureBox1.Image != null) 7 { 8 PictureBox1.Image.Dispose(); 9 PictureBox1.Image = null; 10 } 11 PictureBox1.Image = newImg; 12 } 13 } /*----------------------------------------------------------------------*/ After maximalisation of forrm has PictureBox unchanged size, although there is Dock property set to "Top". When I comment line #11, everything works fine. Why? I need to create image in PictureBox dinamically after each resizing of picturebox. However size of picturebox is not affected, and the worse it do something bad with Dock feature.. In .NET 1.1. it worked perfectly, however in .NET 2.0 it doesn't. projekt is saved here: http://www.tekl.com/testform1.zip ( has 36kb). Thank you for any help. I don't know, what to do.

    C# csharp help winforms com graphics

  • backwards binary compatibility .NET 2.0
    D dorwin

    Hi, I have project written in .NET 1.1. It uses also some libraries of third parties (Firebird .Net provider and TAO - OpenGL library). I want to transfer it to .NET 2.0. I want to ask if there is 100% backwards binary compatibility in .NET 2.0. I mean, if I use for example TAO library compiled under .NET 1.1 in my .NET 2.0 app.. Will it correctly work under .NET 2.0? And case, when I have only .NET 2.0 installed on system and 1.1. not. Will be working everything compiled under 1.1 correctly. ?? For first I have tried to compile entire my project (except firebird provider and TAO) and it seems to work after a few tests. I have tried to found something online on MSDN but without the results Peter

    .NET (Core and Framework) csharp graphics game-dev tutorial question

  • dataset comparison
    D dorwin

    Hello :) I have two datasets one is filled from database (dataset1) and another is filled from the file (dataset2). I want to compare rows in those datasets and do this: 1. if row is present in dataset2 then insert it into dataset1 2. if row is present in both (dataset2 and dataset1) then update dataset1 how can I do this easily? is there function for comparing two datasets which returns some kind of diff dataset? thanks to any help Peter

    C# question database help announcement

  • Visual Studio.NET 2003 causes windows crash to BSOD! HELP!
    D dorwin

    Hello All. Please help me! I have VS.NET 2003 installed and I have problem with it. When I compile project it causes windows crash to BSOD! It fails during the compilation and I get no message. Only, that some application caused problems and windows is immediately halted to prevent system damage. My HW config: Intel P4 (2.4GHZ), MainBoard D865PERL, 512MB RAM DVD LG 4167B, TV Tuner WinFast TV2000XP expert I think it can be caused either TV tuner driver or DVD LG. I had tried uninstall DVD-RAM driver and also reinstall VS.NET but without results. heartfel thanks for any help. Peter

    Site Bugs / Suggestions csharp visual-studio help

  • Windows crash (BSOD) when compiling in VS.NET
    D dorwin

    Hello All. Please help me! I have VS.NET 2003 installed and I have problem with it. When I compile project it causes windows crash to BSOD! It fails during the compilation and I get no message. Only, that some application caused problems and windows is immediately halted to prevent system damage. My HW config: Intel P4 (2.4GHZ), MainBoard D865PERL, 512MB RAM DVD LG 4167B, TV Tuner WinFast TV2000XP expert I think it can be caused either TV tuner driver or DVD LG. I had tried uninstall DVD-RAM driver and also reinstall VS.NET but without results. heartfel thanks for any help. Peter

    C# help csharp visual-studio

  • rotation using StringFormatFlags.DirectionVertical;
    D dorwin

    Hello I am drawing text by using Graphics.DrawString I need to rotate it. this: StringFormatFlags.DirectionVertical; rotate text 90degrees clockwise. However I need rotate text 90deg. counter-clockwise. How I will do it? heartfelt thanks for help. Peter

    C# graphics help question
  • Login

  • Don't have an account? Register

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