Interaction logic for NewHeightMapWindow.xaml
상속: System.Windows.Window
        private void ButtonHeightmapCreateNew_Click(object sender, RoutedEventArgs e)
        {
            if (machine.Mode == Machine.OperatingMode.Probe || Map != null)
            {
                return;
            }

            NewHeightMapDialog = new NewHeightMapWindow();

            if (ToolPath.ContainsMotion)
            {
                NewHeightMapDialog.ToolPathMin = ToolPath.MinFeed.GetXY();
                NewHeightMapDialog.ToolPathMax = ToolPath.MaxFeed.GetXY();
            }

            NewHeightMapDialog.Owner = this;

            NewHeightMapDialog.Size_Ok             += NewHeightMapDialog_Size_Ok;
            NewHeightMapDialog.SelectedSizeChanged += NewHeightMapDialog_SelectedSizeChanged;
            NewHeightMapDialog.Closed += NewHeightMapDialog_Closed;

            NewHeightMapDialog.Show();

            NewHeightMapDialog_SelectedSizeChanged();
        }
		private void ButtonHeightmapCreateNew_Click(object sender, RoutedEventArgs e)
		{
			if (machine.Mode == Machine.OperatingMode.Probe || Map != null)
				return;

			NewHeightMapDialog = new NewHeightMapWindow();
			NewHeightMapDialog.Owner = this;

			NewHeightMapDialog.Size_Ok += NewHeightMapDialog_Size_Ok;
			NewHeightMapDialog.SelectedSizeChanged += NewHeightMapDialog_SelectedSizeChanged;
			NewHeightMapDialog.Closed += NewHeightMapDialog_Closed;

			NewHeightMapDialog.Show();

			NewHeightMapDialog_SelectedSizeChanged();
		}
        private void ButtonHeightmapCreateNew_Click(object sender, RoutedEventArgs e)
        {
            if (machine.Mode == Machine.OperatingMode.Probe || Map != null)
            {
                return;
            }

            NewHeightMapDialog       = new NewHeightMapWindow();
            NewHeightMapDialog.Owner = this;

            NewHeightMapDialog.Size_Ok             += NewHeightMapDialog_Size_Ok;
            NewHeightMapDialog.SelectedSizeChanged += NewHeightMapDialog_SelectedSizeChanged;
            NewHeightMapDialog.Closed += NewHeightMapDialog_Closed;

            NewHeightMapDialog.Show();

            NewHeightMapDialog_SelectedSizeChanged();
        }