コード例 #1
0
        private void editText(object sender, RoutedEventArgs e)
        {
            Button         senderButton = sender as Button;
            Plotpoint      senderPoint  = gameFile.getPoint(pointsPanel.Children.IndexOf(senderButton.Parent as UIElement));
            TextEditWindow textWindow   = new TextEditWindow(senderPoint.setText);

            textWindow.setText(senderPoint.getText());
            textWindow.Show();
        }
コード例 #2
0
        private void editTextButton_Click(object sender, RoutedEventArgs e)
        {
            TextEditWindow textWindow = new TextEditWindow(setTempText);

            textWindow.Show();
        }