Beispiel #1
0
        private void btnAddToSession_Click(object sender, EventArgs e)
        {
            Paper p = null;

            if (dataGridViewPapers.SelectedRows.Count > 0)
            {
                p = dataGridViewPapers.SelectedRows[0].DataBoundItem as Paper;
            }
            if (p == null)
            {
                MessageBox.Show("No paper selected");
                return;
            }
            CreateScheduleWindow win = new CreateScheduleWindow(p, ctr);

            win.Show();
        }
Beispiel #2
0
        private void ViewScheduleBtn(object sender, EventArgs e)
        {
            CreateScheduleWindow csw = new CreateScheduleWindow(null, ctr);

            csw.Show();
        }
Beispiel #3
0
 public AddSessionWindow(MainClientController ctr, CreateScheduleWindow _sender)
 {
     InitializeComponent();
     this.ctr     = ctr;
     this._sender = _sender;
 }