private void LoopConditionData_loaded(object sender, RoutedEventArgs e) { firstOperand = LoopConditionData.FirstOperand; if (LoopConditionData.FirstOperand != null) { first_operand.Text = LoopConditionData.FirstOperand.VariableName; } secondOperand = LoopConditionData.SecondOperand; if (LoopConditionData.SecondOperand != null) { second_operand.Text = LoopConditionData.SecondOperand.VariableName; } condition_combo.SelectedIndex = LoopConditionData.ConditionIndex; if (LoopConditionData.ConditionIndex < 4) { secondOperand_grid.SetValue(Grid.RowProperty, 3); ignoreCase_grid.Visibility = System.Windows.Visibility.Collapsed; } else if (LoopConditionData.ConditionIndex == 11 && LoopConditionData.ConditionIndex == 12) { secondOperand_grid.Visibility = System.Windows.Visibility.Collapsed; ignoreCase_grid.Visibility = System.Windows.Visibility.Collapsed; } else { ignoreCase_grid.Visibility = System.Windows.Visibility.Visible; } }
private void list_from_click(object sender, RoutedEventArgs e) { working_variable = VariableStorage.Pick(); if (working_variable != null) { listFrom_text.Text = working_variable.VariableName; } }
private void addItem_click(object sender, RoutedEventArgs e) { itemToAdd = VariableStorage.Pick(); if (itemToAdd != null) { addItem_text.Text = itemToAdd.VariableName; } }
private void secondList_click(object sender, RoutedEventArgs e) { SecondList = VariableStorage.Pick(); if (SecondList != null) { secondList.Text = SecondList.VariableName; } }
private void remove_index_click(object sender, RoutedEventArgs e) { index_variable = VariableStorage.Pick(); if (index_variable != null) { removeIndex_text.Text = index_variable.VariableName; } }
private void endRowPick_click(object sender, RoutedEventArgs e) { endRowvar = VariableStorage.Pick(); if (endRowvar != null) { RangeEndsatRow_text.Text = endRowvar.VariableName; } }
private void decreaseByVarialbe_click(object sender, RoutedEventArgs e) { decreaseBy_variable = VariableStorage.Pick(); if (decreaseBy_variable != null) { decreaseByVariable_text.Text = decreaseBy_variable.VariableName; } }
private void clearList_click(object sender, RoutedEventArgs e) { working_list = VariableStorage.Pick(); if (working_list != null) { reverseList_text.Text = working_list.VariableName; } }
private void charachterPosition_click(object sender, RoutedEventArgs e) { startPosition_variable = VariableStorage.Pick(); if (startPosition_variable != null) { startPositon_text.Text = startPosition_variable.VariableName; } }
private void second_operand_click(object sender, RoutedEventArgs e) { secondOperand = VariableStorage.Pick(); if (secondOperand != null) { second_operand.Text = secondOperand.VariableName; } }
private void firstList_click(object sender, RoutedEventArgs e) { FirstList = VariableStorage.Pick(); if (FirstList != null) { firstList.Text = FirstList.VariableName; } }
private void singleRowPick_click(object sender, RoutedEventArgs e) { singleRowvar = VariableStorage.Pick(); if (singleRowvar != null) { singleCellRow_text.Text = singleRowvar.VariableName; } }
private void startRowPick_click(object sender, RoutedEventArgs e) { startRowvar = VariableStorage.Pick(); if (startRowvar != null) { RangeStartatRow_text.Text = startRowvar.VariableName; } }
private void first_operand_click(object sender, RoutedEventArgs e) { firstOperand = VariableStorage.Pick(); if (firstOperand != null) { first_operand.Text = firstOperand.VariableName; } }
private void variable_name_click(object sender, RoutedEventArgs e) { working_variable = VariableStorage.Pick(); if (working_variable != null) { variableName_text.Text = working_variable.VariableName; } }
private void numberofCharacter_click(object sender, RoutedEventArgs e) { numberOfChar_variable = VariableStorage.Pick(); if (numberOfChar_variable != null) { numberOfChar_text.Text = numberOfChar_variable.VariableName; } }
private void pickVar_click(object sender, RoutedEventArgs e) { working_variable = VariableStorage.Pick(); if (working_variable != null) { msg_rtb.Document.Blocks.Clear(); msg_rtb.Document.Blocks.Add(new Paragraph(new Run(working_variable.VariableName))); } }
private void Template_loaded(object sender, RoutedEventArgs e) { FirstList = MergeListsData.FirstList; SecondList = MergeListsData.SecondList; firstList.Text = MergeListsData.FirstListStr; secondList.Text = MergeListsData.SecondListStr; outputList_text.Text = MergeListsData.ResultStoreVar; }
private void ok_button_Click(object sender, RoutedEventArgs e) { if (variableGrid.SelectedItem == null) { return; } selectedVariable = variableGrid.SelectedItem as VariableCollectionModel; Window.GetWindow(this).Close(); // (((Parent as Grid).Parent as TaskViewFrameUC).Parent as MetroWindow).DialogResult = false; }
private void AddTtemToListData_loaded(object sender, RoutedEventArgs e) { intoList_text.Text = AddTtemToListData.WorkingListStr; addItem_text.Text = AddTtemToListData.ItemToAddStr; if (AddTtemToListData.WorkingList != null) { working_list = AddTtemToListData.WorkingList; } if (AddTtemToListData.ItemToAdd != null) { itemToAdd = AddTtemToListData.ItemToAdd; } }
private void textToTrim_click(object sender, RoutedEventArgs e) { working_variable = VariableStorage.Pick(); textToTrim_text.Text = working_variable.VariableName; }
private void ClearListData_loaded(object sender, RoutedEventArgs e) { working_list = ReverseListData.ListToReverse; reverseList_text.Text = ReverseListData.ListToReverseStr; }
private void SuffleList_loaded(object sender, RoutedEventArgs e) { working_list = SuffleListData.ListToSuffle; suffleList_text.Text = SuffleListData.ListToSuffleStr; }
private void truncate_number_click(object sender, RoutedEventArgs e) { working_variable = VariableStorage.Pick(); if (working_variable != null) numberToTruncate_text.Text = working_variable.VariableName; }