/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// (But I (JohnT) did, following the model of HelloView...maybe we'd better not make any more /// changes in designer mode??) /// </summary> private void InitializeComponent() { // // Set up the interlinear view this.myView = new SIL.FieldWorks.Samples.InterlinearSample.InterlinearView(); this.SuspendLayout(); // // myView // this.myView.BackColor = System.Drawing.SystemColors.Window; this.myView.ForeColor = System.Drawing.SystemColors.WindowText; this.myView.Location = new System.Drawing.Point(16, 32); // Review JohnT: compute from container info? this.myView.Name = "InterlinearView"; this.myView.Size = new System.Drawing.Size(232, 192); // Review JohnT: compute from container info? this.myView.TabIndex = 0; // // Main window (after contained view, following model of HellowView; maybe so // we get an appropriate OnSize for the contained view when sizing the main one? // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 273); // JohnT: Don't really understand this...copied from HelloView. this.Controls.AddRange(new System.Windows.Forms.Control[] { this.myView }); this.Name = "InterlinSample"; this.Text = "InterlinSample"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// (But I (JohnT) did, following the model of HelloView...maybe we'd better not make any more /// changes in designer mode??) /// </summary> private void InitializeComponent() { // // Set up the interlinear view this.myView = new SIL.FieldWorks.Samples.InterlinearSample.InterlinearView(); this.SuspendLayout(); // // myView // this.myView.BackColor = System.Drawing.SystemColors.Window; this.myView.ForeColor = System.Drawing.SystemColors.WindowText; this.myView.Location = new System.Drawing.Point(16, 32); // Review JohnT: compute from container info? this.myView.Name = "InterlinearView"; this.myView.Size = new System.Drawing.Size(232, 192); // Review JohnT: compute from container info? this.myView.TabIndex = 0; // // Main window (after contained view, following model of HellowView; maybe so // we get an appropriate OnSize for the contained view when sizing the main one? // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 273); // JohnT: Don't really understand this...copied from HelloView. this.Controls.AddRange(new System.Windows.Forms.Control[] {this.myView}); this.Name = "InterlinSample"; this.Text = "InterlinSample"; this.ResumeLayout(false); }