Пример #1
0
 private void ResetSelectAllDriveGas()
 {
     for (int i = 0; i < 21; i++)
     {
         CompMultiBar obj_set_focus = (CompMultiBar)this.m_dataBinding.GetControlByName(this, "compMultiBarCompoundDriveGas" + i.ToString());
         obj_set_focus.Choise = false;
     }
 }
Пример #2
0
        private void compInputBoxDriveGas_Enter(object sender, EventArgs e)
        {
            this.ResetSelectAllDriveGas();
            CompInputBox obj           = (CompInputBox)sender;
            string       number        = FuncString.GetOnlyNumeric(obj.Name);
            CompMultiBar obj_set_focus = (CompMultiBar)this.m_dataBinding.GetControlByName(this, "compMultiBarCompoundDriveGas" + number);

            obj_set_focus.Choise = true;
        }
Пример #3
0
        private void compInputBoxDriveGas_Leave(object sender, EventArgs e)
        {
            CompInputBox obj           = (CompInputBox)sender;
            string       number        = FuncString.GetOnlyNumeric(obj.Name);
            CompMultiBar obj_set_focus = (CompMultiBar)this.m_dataBinding.GetControlByName(this, "compMultiBarCompoundDriveGas" + number);

            obj_set_focus.Choise = false;
            this.InputBox_Leave(sender, e);
        }
Пример #4
0
        private void compMultiBarBurnerLoad_Click(object sender, EventArgs e)
        {
            this.ResetSelectAllBurnerLoad();
            CompMultiBar obj    = (CompMultiBar)sender;
            string       number = FuncString.GetOnlyNumeric(obj.Name);

            obj.Choise = true;
            CompInputBox obj_set_focus = (CompInputBox)this.m_dataBinding.GetControlByName(this, "compInputBoxBurnerLoad" + number);

            obj_set_focus.Focus();
        }