private void nextButton_Click(object sender, EventArgs e)
        {
            if (geoRB.Checked)
            {
                this.Close();
                uploadForm1_geo form1 = new uploadForm1_geo();
                form1.StartPosition = FormStartPosition.CenterScreen;
                form1.Visible       = true;
            }
            if (otherRB.Checked)
            {
                this.Close();
                uploadForm1_other form1 = new uploadForm1_other();
                form1.StartPosition = FormStartPosition.CenterScreen;
                form1.Visible       = true;
            }
            if (timeRB.Checked)
            {
                this.Close();
                uploadForm1_time form1 = new uploadForm1_time();
                form1.StartPosition = FormStartPosition.CenterScreen;
                form1.Visible       = true;
            }

            if ((!geoRB.Checked) && (!otherRB.Checked) && (!timeRB.Checked))
            {
                MessageBox.Show("Please select an upload type.", "Error", MessageBoxButtons.OK);
            }
        }
Example #2
0
        public printForm(uploadForm1_time f1)
        {
            InitializeComponent();
            form_time = f1;

            this.timeStampTB.Text       = Convert.ToString(DateTime.Now);
            this.nameTB.Text            = form_geo.name;
            this.sourceSubjectTB.Text   = form_geo.sSubject;
            this.titleTB.Text           = form_geo.title;
            this.emailTB.Text           = form_geo.email;
            this.rightsTB.Text          = form_geo.rights;
            this.coverageSpatialTB.Text = form_geo.coverageSpatial;
            this.fileTB.Text            = form_geo.file;
        }