public void addQueryWindow(queryBrowser qb) { windowID++; qb.Name = "QueryBrowser " + windowID; if (currentProfil.getProperty(ProfilProps.STYLE_COLOR) != null && currentProfil.getProperty(ProfilProps.STYLE_COLOR).Length > 2) { StyleFormProps profilStyle = new StyleFormProps(); profilStyle.MainColor = Color.FromArgb(int.Parse(currentProfil.getProperty(ProfilProps.STYLE_COLOR))); string styleName = currentProfil.getProperty(ProfilProps.WINDOW_STYLE); if (styleName == null) { styleName = ProjectorForm.getMainFormStyle(); } profilStyle.composeStyle(styleName); qb.setStyle(profilStyle); } qb.sensorProfil = currentProfil; qb.loadPlaceHolder(); qb.MdiParent = this; qb.Show(); qb.listTables(); listWindows(); }
public void setParent(ProjectorForm par) { this.parent = par; }
public ProfilButton(ProjectorForm parent) { InitializeComponent(); this.myParent = parent; this.Description.Text = ""; }