private void LUCSingleParameter_IOperationEvent(object sender, OperationEventArgs e)
 {
     if (IOperationEvent != null)
     {
         IOperationEvent(this, e);
     }
 }
Example #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");
        }
Example #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");
        }
Example #4
0
        private void IPageParent_IOperationEvent(object sender, OperationEventArgs e)
        {
            string LStrNewValue = string.Empty;

            LStrNewValue = TextBoxPositiveInteger.GetElementData();

            if (e.StrObjectTag == "Save")
            {
                IPageParent.SaveEditedParameterValue(LStrNewValue);
            }
        }
Example #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);
            }
        }
Example #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);
            }
        }
Example #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);
            }
        }
 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);
     }
 }
Example #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);
            }
        }
Example #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);
            }
        }
Example #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);
            }
        }
Example #12
0
 private void IPageParent_IChangeLanguageEvent(object sender, OperationEventArgs e)
 {
 }
Example #13
0
 private void IPageParent_IChangeLanguageEvent(object sender, OperationEventArgs e)
 {
     //MessageBox.Show(e.StrObjectTag);
 }