Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6960035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:21:01+00:00 2026-05-27T15:21:01+00:00

I normally code with PHP, I am used to opening up my editor of

  • 0

I normally code with PHP, I am used to opening up my editor of choice and going away at it, coding classes,methods, etc. It is fairly easy as there is no GUI to worry about.

Last night I spent the whole night following a couple tutorials with C# in Visual Studio, it’s turning out to be harder then I thought it would be. Once thing that I am not use to is, all the tutorials have you add a form object like a text box or button, then have you double clikc it to get to the code part, you then enter some code for that method. Then back to the form and re-peat

This seems very hard as you are never really working on “just the code” so 1 question is, is it always like that or just because i’m new and following tutorials?

Another question, when I see source code online to do certain functions, say I see a class I would like to try using, how can I use that class in the existing form class created by VS, do you somehow import other classes or do you add them right to the form code you are working on?

I’m sure that didn’t make much sense but hopefully it does to someone, i’ll try wording it better if not.

I should add that this was with WPF, also I feel like you have to learn 2 languages, the C# which has very similar syntax to PHP so that doesn’t seem too difficult and the for GUI that’s like a whole diff language

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:21:02+00:00Added an answer on May 27, 2026 at 3:21 pm

    You can download the classes you are interested into.
    Then you go to the Solution Explorer panel and you add existing items.
    This will COPY the files to your project.

    In order to use those classes you need to declare that you wan to use them.
    So, what you have to do is to say something like

    using FooNamespace;
    

    Then you are ready to use the classes.
    The name space is declared right before any class. You can go edit it.

    Now about the forms. Each form is a Class and it consists of three files

    • ClassForm.cs
    • ClassForm.designer.cs
    • ClassForm.resx

    You ONLY need the first one. Right click and view code. You can go there and use it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My Flex code is unable to reach the PHP, but when i do normally
I'm trying to insert a php code for a post-rating on wordpress. It used
I do lots of work manipulating and analyzing PHP code. Normally I just use
I'm using the NetBeans IDE. Normally, every PHP file in my project has code
I normally code on windows and using MYSQL4.1. And mysql gem version is 2.8.1.
The next code runs normally in SQLSERVER but when i change the web.config to
Normally I use the below code, but is there a better way? lastOfMonth =
Normally I create web application projects and use code-behind, but I have a requirement
I normally use the following code in SQL Server: IF EXISTS (SELECT * FROM
I normally in my projects use such these code: If user.IsInRole(Admin) Then deleteButton.Visible =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.