Exemplo n.º 1
0
 // 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);
 }
Exemplo n.º 2
0
        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());
             //}
        }
Exemplo n.º 3
0
 private void button2_Click(object sender, EventArgs e)
 {
     Class1 objekt1 = new Class1();
       objekt1.method1();
 }
Exemplo n.º 4
0
 private void fullscreenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Class1 fullscreen = new Class1();
     fullscreen.GoFullscreenToggle(this.FindForm());
 }
Exemplo n.º 5
0
 public void method3()
 {
     Class1 objektClass1 = new Class1();
     objektClass1.method1();
 }