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
P

papadimitriou

@papadimitriou
About
Posts
19
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Trial version of a Software [modified]
    P papadimitriou

    dont forget to use obsfucator (from v studio tools menu ) to protect code from disassembling

    f(yf) = yf

    C# help sales tutorial question announcement

  • struct array in C#
    P papadimitriou

    the structs are value types and classes are reference types.

    f(yf) = yf

    C# question csharp c++ com data-structures

  • Open Source Application with good OO Design
    P papadimitriou

    Look at Spring .NET source www.springframework.net/[^], many patterns. NHibernate [^]demonstrates data Access patterns (abstract factories....) A very good is the source of SharpDevelop [^]it is open source C# IDE .Contains many paterns and an simple mvc architecture . also i like axiom (3d rendering framework) there are infinite which are good written JUnit in java has good code .i dont know about NUnit

    f(yf) = yf

    .NET (Core and Framework) csharp design business help

  • I have a question about invoke function in C++ dll, please help! [modified]
    P papadimitriou

    you are looking for P/Invoke , you must use dllimport (and many more) look it up on google and msdn , good luck with this you will need it . you must declere the functions as static using dllimport attribute dll function [DllImport("SectionDBEngine.dll", EntryPoint = "getHeadersByIndex")] public static extern int getHeadersByIndex([In, Out] CSectionHeader[] headers, int size); http://msdn2.microsoft.com/en-us/library/aa288468.aspx[^]

    f(yf) = yf

    C# question csharp c++ data-structures help

  • Make a method return different types/classes depending on in-parameters
    P papadimitriou

    the IF will fit here . google strategy pattern also enlightening . refactor condision with strategy also .

    f(yf) = yf

    C# csharp data-structures help question learning

  • Beginners foreach and condition question
    P papadimitriou

    use exit , continue , break .improvise. and never modify the collection while you are in the loop

    f(yf) = yf

    C# question

  • Stupid question of the day (Trees)
    P papadimitriou

    or a B+ tree

    f(yf) = yf

    C# question csharp data-structures

  • Da how can I see the details of an assembly
    P papadimitriou

    use the Lutz Roeder .net reflector or add the assembly to project visual studio or/and use object browser to explore its contents or ....

    f(yf) = yf

    C# question

  • Properties and GUI changes
    P papadimitriou

    there exist is a big conversation about this . has to do with mvc architecture .if you want standard .net framework look at microsoft databinding . every control has a data binding list .you can unify the way bi directional notification is made use code like this textBox.DataBindings.Add("Text",object,object.property); wich means syncronize the textbox .text with the object.property it is a dificult subject but worth it . or use the code the friend just gave you. http://www.codeproject.com/KB/database/databindingconcepts.aspx[^] http://msdn2.microsoft.com/en-us/library/ms752347.aspx[^]

    f(yf) = yf

    modified on Thursday, March 27, 2008 4:33 PM

    C# question announcement

  • Games In C#
    P papadimitriou

    look at this classic http://nehe.gamedev.net/[^] i use opengl for 3d rendering opensource projects like Tao http://www.taoframework.com/[^] and axiom http://axiomengine.sourceforge.net/wiki/index.php/Main_Page[^] you can find many more

    f(yf) = yf

    C# csharp

  • Creating controls and events dynamically
    P papadimitriou

    you may use anonumous methods and closure . // you can use method with no name this is delegate (args ){} aka anonymous methodes EventHandler handler = new EventHandler (new delegate (object sender,EventArgs e){ MessageBox.Show(Global.ProductID); // you can use variables global that is closure })) or you can use command objects this is objects that actually encapsulate a method ec ClickCommand command = new ClickCommand(product_id) EventHandler handler = new EventHandler (command.ExecuteOnClickAction); where class Clickcommand { int productid; public void ExecuteOnClickAction() { MessageBox.Show(productID); } } or many more improvise

    f(yf) = yf

    C# database graphics help question

  • MVC architecture
    P papadimitriou

    some of my favorites papers are http://www.martinfowler.com/eaaDev/[^] www.object-arts.com/papers/TwistingTheTriad.PDF[^] http://c2.com/cgi/wiki?ModelViewPresenter[^] http://www.wildcrest.com/Potel/Portfolio/mvp.pdf[^] in Codeproject also has classical articles and CodeGuru. Project Model must have . the information about project as you imagine and functionality of how to modify it . Model may also communicate with the database .or ... there are many issues you must find yourself .

    f(yf) = yf

    C# architecture asp-net question

  • MVP Pattern
    P papadimitriou

    that was a very cynical answer. Probably the question have been answered too many times with different variations. There are many ways to implement mvp , i use MVC now after the Fowlers retirment note http://www.martinfowler.com/eaaDev/[^] in ASP.NET the MVP has many uses . some of my favorites papers are www.object-arts.com/papers/TwistingTheTriad.PDF[^] http://c2.com/cgi/wiki?ModelViewPresenter[^] http://www.wildcrest.com/Potel/Portfolio/mvp.pdf[^] in Codeproject also has classical articles and CodeGuru. Project Model must have . the information about project as you imagine and functionality of how to modify it . Model may also communicate with the database .or ... there are many issues you must find yourself .

    f(yf) = yf

    modified on Wednesday, March 5, 2008 2:53 PM

    C# csharp tutorial question design data-structures

  • Intro + doubt
    P papadimitriou

    look up code reuse versus Design Reuse .i like frameworks http://ocw.kfupm.edu.sa/user062/web-ct/courses/ICS51301/2704558682.ppt[^] http://www.cs.huji.ac.il/~davidt/course/ood/lectures/OOD10_Frameworks_Swing.ppt[^] http://www.codeproject.com/KB/architecture/WhatIsAFramework.aspx[^]

    f(yf) = yf

    The Lounge question oop tutorial discussion

  • SqlConnection problem on ASP.NET Web Application
    P papadimitriou

    i had the same problem .WHEN i had not started the SQL server when i was running the page . try to use the designer for the database connection . writing the code by yourself may caused errors.

    f(yf) = yf

    Database help database csharp asp-net sql-server

  • Time Capsule
    P papadimitriou

    the stupid System Restore lost me tons of c# code ,even if it claims that dose not affect data . a buck up did not existed ,and the only thing kept me from breaking my computer to pieces was that i would pay for the new one.

    f(yf) = yf

    The Lounge question csharp css visual-studio wpf

  • NHibernate
    P papadimitriou

    there is a war going on between database programming world and object oriented programming world . The problem is the object relational mismatch .I don't think LINQ solves the problem ,the unification promotes is far from the solution . I advise you to try out NHibernate . there are many recourses on the subject by the side of Object oriented programming approaching Relational db Patterns of Enterprise application architecture http://www.martinfowler.com/eaaCatalog/[^] and data access patterns http://helloworld.siteburg.com/content/databases/db2/0131401572_toc.html[^] i can think right now .

    f(yf) = yf

    The Lounge question discussion

  • Implementing IEnumerable<t></t>
    P papadimitriou

    Implementing IEnumerable , IEnumerator or even Ilist , ICollection is suppose to be an advance topic so you are excuse not o no .i had the same problem . keep programming . if you stack someware else make a question

    f(yf) = yf

    C# question testing collaboration beta-testing help

  • Implementing IEnumerable<t></t>
    P papadimitriou

    the code fragment public IEnumerator GetEnumerator () { return (IEnumerator ) this; } is an infinite loop . this is not going to work . try public IEnumerator GetEnumerator () { return MainFileTableObject ; } Ilist already implement inumerable . Enumerable is little complicated at start . but then get it . you can also use public IEnumerator GetEnumerator () { foreach ( FileList fileList in MainFileTableObject ) yield return fileList ; } // i have not installed Visual Studio right now and dont test sysntax

    f(yf) = yf

    C# question testing collaboration beta-testing help
  • Login

  • Don't have an account? Register

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