Last change
on this file since 6133 was
6133,
checked in by gkronber, 13 years ago
|
#1471: imported generic parts of DataImporter from private code base
|
File size:
754 bytes
|
Rev | Line | |
---|
[6133] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.ComponentModel;
|
---|
| 4 | using System.Data;
|
---|
| 5 | using System.Drawing;
|
---|
| 6 | using System.Linq;
|
---|
| 7 | using System.Text;
|
---|
| 8 | using System.Windows.Forms;
|
---|
| 9 |
|
---|
| 10 | namespace HeuristicLab.DataImporter.Data.View {
|
---|
| 11 | public partial class CommandViewDialog : Form {
|
---|
| 12 | public CommandViewDialog() {
|
---|
| 13 | InitializeComponent();
|
---|
| 14 | this.FormBorderStyle = FormBorderStyle.FixedDialog;
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | private void Panel_ControlAdded(object sender, ControlEventArgs e) {
|
---|
| 18 | int width = e.Control.Size.Width + 10;
|
---|
| 19 | int heigth = e.Control.Size.Height + 80;
|
---|
| 20 | Panel.Size = new Size(e.Control.Size.Width, e.Control.Size.Height);
|
---|
| 21 | this.Size = new Size(width, heigth);
|
---|
| 22 | this.Refresh();
|
---|
| 23 | }
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.