//------------------------------------------------------------------------- // Initializes the InParameterWindow object, creating a pointer // back to the parent WMICodeCreator form. //------------------------------------------------------------------------- public InParameterWindow(WMICodeCreator parent) { InitializeComponent(); this.ParameterName = ""; this.StoredValue = ""; this.OkButtonClicked = false; this.ParentWMIToolForm = parent; }
//------------------------------------------------------------------------- // Constructor for the TargetComputerWindow class. This constructor // creates a pointer to the parent WMICodeCreator form. //------------------------------------------------------------------------- public TargetComputerWindow(WMICodeCreator form) { this.controlWindow = form; InitializeComponent(); }
//------------------------------------------------------------------------- // Initializes the EventQueryCondition object, to create a pointer // back to the parent WMICodeCreator form. //------------------------------------------------------------------------- public EventQueryCondition(WMICodeCreator parent) { InitializeComponent(); this.ParameterName = ""; this.StoredValue = ""; this.OkButtonClicked = false; this.ParentWMIToolForm = parent; this.OperatorBox.Items.Add("="); this.OperatorBox.Items.Add("<>"); this.OperatorBox.Items.Add(">"); this.OperatorBox.Items.Add("<"); this.OperatorBox.Items.Add("ISA"); }