コード例 #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            UploadExcelParkingDetails upload = new UploadExcelParkingDetails();

            upload.MdiParent = this.ParentForm;
            upload.Show();
            this.Hide();
        }
コード例 #2
0
        private void uploadParkingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(UploadExcelParkingDetails))
                {
                    form.Activate();
                    return;
                }
            }
            UploadExcelParkingDetails upload = new UploadExcelParkingDetails();

            upload.MdiParent = this;
            upload.Show();
        }
コード例 #3
0
        private void BtnUploadDetails_Click(object sender, EventArgs e)
        {
            UploadExcelParkingDetails upload = new UploadExcelParkingDetails();

            upload.ShowDialog();
        }