// Custom constructor to pass expense report data public URLIncrementalReader(bool fakeData) { Symbol parrent = new Symbol(".NET Framework Class Library"); Class1 c1 = new Class1(); System.IO.StreamWriter file = File.AppendText("P:\\TEST\\test.html"); file.Write("<style> a { text-decoration: none; color: black; } </style>\n\r"); file.Close(); string URL = "http://msdn.microsoft.com/en-us/library/gg145045.aspx"; c1.Fetch(URL, parrent); }
private void button1_Click(object sender, EventArgs e) { this.dataGridView1.RowCount = int.Parse(this.numericUpDown1.Text); this.dataGridView1.ColumnCount = int.Parse(this.numericUpDown2.Text); this.numericUpDown3.Value = dataGridView1.RowCount; this.numericUpDown4.Value = dataGridView1.ColumnCount; newClass = new Class1(this.dataGridView1.RowCount, this.dataGridView1.ColumnCount); // dataGridView1.DataSource = newClass.Array(); //int[,] array = newClass.Array(); //for (int i = 0; i < dataGridView1.ColumnCount; i++) //{ // this.textBox1.AppendText(array.GetValue(i,i).ToString()); //} }
private void button2_Click(object sender, EventArgs e) { Class1 objekt1 = new Class1(); objekt1.method1(); }
private void fullscreenToolStripMenuItem_Click(object sender, EventArgs e) { Class1 fullscreen = new Class1(); fullscreen.GoFullscreenToggle(this.FindForm()); }
public void method3() { Class1 objektClass1 = new Class1(); objektClass1.method1(); }