// 下水データ管理システム
// Copyright (C) 2018 公益財団法人とちぎ建設技術センター(https://www.tochigictc.or.jp/)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.If not, see<http://www.gnu.org/licenses/>.

using System.Drawing;
using System.Windows.Forms;

namespace WindowsFormsApplication1 {
    public partial class FormA2ProgressSplash : Form {
        public FormA2ProgressSplash() {
            InitializeComponent();
        }


        public string ProgressMessage {
            set { label1.Text = value; }
        }


        private void FormA2ProgressSplash_Load(object sender, System.EventArgs e) {
            //親ウインドウの中央に表示
            this.Location = new Point(Owner.Location.X + (Owner.Width - Width) / 2, Owner.Location.Y + (Owner.Height -Height) / 2);
            this.Size = new Size(300, 35);
        }
    }
}
