예제 #1
0
        private void button1_Click(object sender, System.EventArgs e)
        {
            Exitment ex = new Exitment();

            ex.Owner = this;
            ex.Show();
            ex.Left = App.MainFormManager.CurrentForm.Left + 100;
            ex.Top  = App.MainFormManager.CurrentForm.Top + 150;
        }
예제 #2
0
        public Form1()
        {
            //
            // Required for Windows Form Designer support
            //
            this.exitment = new Exitment(this);
            InitializeComponent();
            OtherInitialize();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }