Exemple #1
0
 public ManageAuthors(ClientController ctr, ProposalDTO prop, MyProposals win)
 {
     this.ctr    = ctr;
     this.prop   = prop;
     this.window = win;
     InitializeComponent();
 }
Exemple #2
0
 public UpdateProposal(ClientController ctrl, ProposalDTO prop, MyProposals win)
 {
     this.ctrl     = ctrl;
     this.proposal = prop;
     this.window   = win;
     InitializeComponent();
 }
Exemple #3
0
        private void buttonSubmittedProposals_Click(object sender, EventArgs e)
        {
            if (GridViewConferinte.SelectedRows.Count == 0)
            {
                MessageBox.Show("Please select a conference!");
                return;
            }

            var selectedRow = GridViewConferinte.SelectedRows[0];
            var conf        = ctrl.FindConference(selectedRow.Cells[2].Value.ToString(), selectedRow.Cells[3].Value.ToString());

            if (DateTime.Parse(conf.StartDate).CompareTo(DateTime.Now) <= 0)
            {
                MessageBox.Show("The conference has already started");
                return;
            }
            MyProposals window = new MyProposals(this.ctrl, this.user, OpenedFrom.AdminWindow, conf);

            window.Show();
        }
Exemple #4
0
        //lucrarile mele
        private void buttonMyProposals_Click(object sender, EventArgs e)
        {
            var window = new MyProposals(ctrl, user, OpenedFrom.UserWindow, null);

            window.Show();
        }