Witam w C# raczkuje zrobilem sobie nowy projekt, form juz mam zrobiony tak jak chce wiec proboje:
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 WindowsFormsApplication1
{
public partial class Form1 : Form
{
private CheckBox check1;
private RadioButton radio1;
private RadioButton radio2;
private Button button;
private TextBox text;
private void Init()
{
this.check1 = new CheckBox();
this.radio1 = new RadioButton();
this.radio2 = new RadioButton();
this.button = new Button();
this.text = new TextBox();
}
public Form1()
{
InitializeComponent();
this.Init();
}
private void button1_Click(object sender, EventArgs e)
{
this.button.Text = "qwerty";
}
}
}
wciskam f5 i jak klikam na button nic sie nie zmienia, czy ktos moze wytlumaczyc o co chodzi?potem juz mysle bedzie z gorki ;)
I dlaczego dodaje mi do projektu linq?