private void backgroundWorker1_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
    {
        var b = new ProjectB();

        b.OnUpdateStatus += ProjectBOnUpdateStatus;
        b.Run();
    }
Exemplo n.º 2
0
    private void Form1_Load(object sender, EventArgs e)
    {
        var projectB = new ProjectB();

        projectB.OnUpdateStatus += projectB_OnUpdateStatus;
        projectB.Run();
    }
Exemplo n.º 3
0
        public void Hw_109_linq_projectb(int[] int1, int[] int2, int[] expected)
        {
            //act
            var actual = ProjectB.ProjectBUnion(int1, int2);

            //assert
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 4
0
 public static int Main(string[] args)
 {
     Console.WriteLine("This string came from ProjectA");
     Console.WriteLine($"{ProjectB.GetMessage()}");
     return(0);
 }