Пример #1
0
			//-------------------------------------------------------------------------
			// 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;
            }
Пример #2
0
			//-------------------------------------------------------------------------
			// Constructor for the TargetComputerWindow class. This constructor
			// creates a pointer to the parent WMICodeCreator form.
			//-------------------------------------------------------------------------
            public TargetComputerWindow(WMICodeCreator form)
            {
                this.controlWindow = form;

                InitializeComponent();
            }
Пример #3
0
			//-------------------------------------------------------------------------
			// 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");
			}