예제 #1
0
 public void LaunchSupportingClassWindow(String NewText, String NewDescription,
                                         String NewRec1, String NewRec2, String NewRe3, String NewRec4, String NewRec5)
 {
     SupportingClassForm = new SupportingClass(this, NewText, NewDescription,
                                               NewRec1, NewRec2, NewRe3, NewRec4, NewRec5);
     SupportingClassForm.MdiParent = this;
     SupportingClassForm.Show();
     SupportingClassForm.Location = new Point(980, 0);
     SupportingClassForm.Text     = NewText;
 }
 public SupportingClassAddEdit(SupportingClass parent, String NewDescription,
                               String Option, String NewValue)
 {
     InitializeComponent();
     sc                 = parent;
     this.Height        = 170;
     this.Width         = 400;
     this.Location      = new Point(980, 380);
     Text               = Option + " " + NewDescription;
     lbDescription.Text = NewDescription;
     txtValue.Text      = NewValue;
     MyOption           = Option;
 }