コード例 #1
0
        public BedsidePage(Main.PageCall0 previousPageCall)
        {
            InitializeComponent();
            InitalizeControl();
            //Set button1 event handler to delegate that exits the current page and goes to the previous
            this.previousPageCall = previousPageCall;

            refreshModuleData.Start();
        }
コード例 #2
0
 /// <summary>
 /// Guide program page to (selected) patient from the bay page
 /// </summary>
 /// <param name="bayPage"></param>
 /// <param name="goBackPage"></param>
 public BayPage(ref Bay bay, Main.PageCall0 goBackPage) : this()
 {
     ConnectBedsidesToDB(ref bay);
     button2.Click += delegate { goBackPage(); };
 }