C# Programming Tutorial #11 - Windows Applications

preview_player
Показать описание
Today we will be going over how to create windows applications. This video will cover the creation of the most basic forms and how to program them.
Рекомендации по теме
Комментарии
Автор

Your tutorials are really great. It is easier to follow than a book in my own languance (dutch) LOL. However, are there any more tutorials coming about C# ? If you did all the tutorials what do you suggest if i want to learn more and practice more?

zeupel
Автор

more tutorial on window form applications pls

jhyap
Автор

Hi, i'm beginner in C# and about this video, I would like to activate the Calculate button by pressing Enter key. I google it, I found something (Set the "AcceptButton" of the form to the Button you want to respond on "Enter"), but I don't understand how to do it.

dragos
Автор

I get an error saying "The designer cannot process unknown name 'Form1_Load' at line 37. The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again." It is not letting me continue and I cant see the form anymore. I haven't touched the "designer" at all. I just did what you did. I got the error when I was supposed to press button 2.

MadMadsGamer
Автор

I have made it a bit robust by putting a try and catch command in the code

danny
Автор

my calculate buttun is not working i.e when i press calcluate buttun den it shows nothing...my code is same as u written..
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void calculate(object sender, EventArgs e)
        {
            float num1, num2;
            char oper;
            num1 =
            num2 =
            oper =
            if(oper =='+')
            {
                + num2);
            }

             else if(oper =='-')
            {
                - num2);
            }
             else if(oper =='*')
            {
                * num2);
            }
            else if (oper == '/')
            {
                textBox4.Text = Convert.ToString(num1 / num2);
            }
            else
            {
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text = "";
            textBox2.Text = "";
            textBox3.Text = "";
            textBox4.Text = "";
        }

        
    }
}

indranilsom
Автор

Anybody have a link for videos to continue with windows application form please

OmoobaFemi
welcome to shbcf.ru