/// <summary> /// Initializes a new instance of the <see cref="WellLogReaderUI"/> class. /// </summary> /// <param name="workstep">the workstep instance</param> /// <param name="args">the arguments</param> /// <param name="context">the underlying context in which this UI is being used</param> public WellLogReaderUI(WellLogReader workstep, WellLogReader.Arguments args, WorkflowContext context) { InitializeComponent(); //this. this.mainCombo.SelectedIndex = 0; this.comboRPM.SelectedIndex = 1; this.comboRPM2.SelectedIndex = 1; this.workstep = workstep; this.args = args; this.context = context; WellRoot wroot = WellRoot.Get(PetrelProject.PrimaryProject); LogAnalysis.LogAnalysisUI analysisUserControl = new LogAnalysis.LogAnalysisUI(); analysisUserControl.Show(); convertorPage.Controls.Add(analysisUserControl); ChatServer.ServerForm chatServerForm = new ChatServer.ServerForm(); foreach (Control c in chatServerForm.Controls) { c.Show(); chatServerArea.Controls.Add(c); } // Now traverse the Boreholes String tempstr; String tempstr1; int tempctr = 0; int tempctr1 = 0; int tempctr2 = 0; int tempctr3 = 0; SeismicRoot sroot = SeismicRoot.Get(PetrelProject.PrimaryProject); }
public static void startServer(object Sender, EventArgs e) { server = new ChatServer.ServerForm(); server.Show(); }