Exemplo n.º 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;
        }
Exemplo n.º 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
            //
        }