Exemplo n.º 1
0
 private void LUCSingleParameter_IOperationEvent(object sender, OperationEventArgs e)
 {
     if (IOperationEvent != null)
     {
         IOperationEvent(this, e);
     }
 }
Exemplo n.º 2
0
        private void IPageParent_IChangeLanguageEvent(object sender, OperationEventArgs e)
        {
            string LStr11001003 = string.Empty;     //参数编码

            LStr11001003 = IDataRowCurrent["C003"].ToString();
            RadioButtonValue1.Content = App.GetDisplayCharater("Page00000A", "Act" + LStr11001003 + "V1");
            RadioButtonValue0.Content = App.GetDisplayCharater("Page00000A", "Act" + LStr11001003 + "V0");
        }
Exemplo n.º 3
0
        private void IPageParent_IChangeLanguageEvent(object sender, OperationEventArgs e)
        {
            string LStr11001003 = string.Empty;     //参数编码

            LStr11001003 = IDataRowCurrent["C003"].ToString();
            CheckBoxExtension.Content = App.GetDisplayCharater("Page00000A", "Act" + LStr11001003 + "VE");
            CheckBoxAgentID.Content   = App.GetDisplayCharater("Page00000A", "Act" + LStr11001003 + "VA");
        }
Exemplo n.º 4
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            LStrNewValue = TextBoxPositiveInteger.GetElementData();

            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 5
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            LStrNewValue = TextBoxValueInput.Text.Trim();

            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 6
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            if (RadioButtonValue1.IsChecked == true)
            {
                LStrNewValue = "1";
            }
            else
            {
                LStrNewValue = "0";
            }
            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 7
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            if (RadioButtonValue0.IsChecked == true)
            {
                LStrNewValue = "0";
            }
            else
            {
                LStrNewValue = TextBoxPositiveInteger.GetElementData();
            }
            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 8
0
 private void GridSingleParameterPanel_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     try
     {
         if (IOperationEvent != null)
         {
             OperationEventArgs LEventArgs = new OperationEventArgs();
             LEventArgs.StrObjectTag  = "M001";
             LEventArgs.ObjectSource0 = IDataRow11001;
             IOperationEvent(this, LEventArgs);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(), App.GClassSessionInfo.AppName, MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
Exemplo n.º 9
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            if (RadioButtonValue1.IsChecked == true)
            {
                LStrNewValue = "1";
            }
            else
            {
                ComboBoxItem LComboBoxItemSeleted = ComboBoxFirstDay.SelectedItem as ComboBoxItem;
                LStrNewValue = LComboBoxItemSeleted.DataContext.ToString();
            }
            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 10
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            foreach (RadioButton LRadioButtonSingleItem in StackPanelDataEnumeration.Children)
            {
                if (LRadioButtonSingleItem.IsChecked == true)
                {
                    LStrNewValue = LRadioButtonSingleItem.DataContext.ToString(); break;
                }
            }
            if (string.IsNullOrEmpty(LStrNewValue))
            {
                return;
            }
            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 11
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string        LStrNewValue     = string.Empty;
            List <string> LListStrNewValue = new List <string>();

            if (CheckBoxExtension.IsChecked == true)
            {
                LListStrNewValue.Add("E");
            }
            if (CheckBoxAgentID.IsChecked == true)
            {
                LListStrNewValue.Add("A");
            }
            if (LListStrNewValue.Count <= 0)
            {
                return;
            }
            LStrNewValue = string.Join(IPageParent.IStrSpliterChar, LListStrNewValue.ToArray());
            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Exemplo n.º 12
0
 private void IPageParent_IChangeLanguageEvent(object sender, OperationEventArgs e)
 {
 }
Exemplo n.º 13
0
 private void IPageParent_IChangeLanguageEvent(object sender, OperationEventArgs e)
 {
     //MessageBox.Show(e.StrObjectTag);
 }