예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Master master = new Master();
            Slave  slave  = new Slave(master);

            master.saveReference(slave);
            Application.Run(new MultiFormContext(master, slave));
        }
예제 #2
0
 public void saveReference(Slave slave)
 {
     referencedSlave = slave;
 }