예제 #1
0
        private void btn_edit_Click(object sender, EventArgs e)
        {
            btn_edit.Enabled = false;
            form_element f = new form_element();

            f.Owner = this;
            f.Show();
        }
예제 #2
0
 private void form_main_LocationChanged(object sender, EventArgs e)
 {
     if (this.OwnedForms.Count() > 0)
     {
         form_element f = (form_element)this.OwnedForms[0];
         f.Location = new Point(this.Location.X + this.Size.Width, this.Location.Y);
     }
 }