diff --git a/AboutBoxWindow/AboutBoxV.xaml b/AboutBoxWindow/AboutBoxV.xaml index 2a93023..778a96d 100644 --- a/AboutBoxWindow/AboutBoxV.xaml +++ b/AboutBoxWindow/AboutBoxV.xaml @@ -1,7 +1,7 @@  @@ -18,7 +18,7 @@ - + @@ -31,7 +31,7 @@ - + + + + + + + + diff --git a/OptionPanel/MachiningTab/ModifStartEndCutWindowV.xaml.vb b/OptionPanel/MachiningTab/ModifStartEndCutWindowV.xaml.vb new file mode 100644 index 0000000..bbce509 --- /dev/null +++ b/OptionPanel/MachiningTab/ModifStartEndCutWindowV.xaml.vb @@ -0,0 +1,6 @@ +Public Class ModifStartEndCutWindowV + + Private Sub OkBtn_Click(sender As Object, e As RoutedEventArgs) Handles OkBtn.Click + DialogResult = True + End Sub +End Class diff --git a/OptionPanel/MachiningTab/ModifStartEndCutWindowVM.vb b/OptionPanel/MachiningTab/ModifStartEndCutWindowVM.vb new file mode 100644 index 0000000..23fd246 --- /dev/null +++ b/OptionPanel/MachiningTab/ModifStartEndCutWindowVM.vb @@ -0,0 +1,50 @@ +Imports System.IO +Imports EgtUILib + +Public Class ModifStartEndCutWindowVM + + Public ReadOnly Property ValueMsg As String + Get + Return EgtMsg(MSG_SPLITPAGEUC + 35) + End Get + End Property + + Public ReadOnly Property OkMsg As String + Get + Return EgtMsg(91651) 'Ok + End Get + End Property + + Public ReadOnly Property ExitMsg As String + Get + Return EgtMsg(91652) 'Annulla + End Get + End Property + + Private m_sValue As String + Public Property sValue As String + Get + Return m_sValue + End Get + Set(value As String) + m_sValue = value + End Set + End Property + + Sub New() + + End Sub + + Friend Function SetVal(dVal As Double) As Boolean + sValue = DoubleToString(dVal, 3) + Return True + End Function + + Friend Function GetVal() As Double + Dim dVal As Double = 0 + StringToDouble(sValue, dVal) + Return dVal + End Function + +End Class + diff --git a/OptionPanel/MachiningTab/ModifStartEndWjWindowV.xaml b/OptionPanel/MachiningTab/ModifStartEndWjWindowV.xaml new file mode 100644 index 0000000..a46a04f --- /dev/null +++ b/OptionPanel/MachiningTab/ModifStartEndWjWindowV.xaml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OptionPanel/MachiningTab/ModifStartEndWjWindowV.xaml.vb b/OptionPanel/MachiningTab/ModifStartEndWjWindowV.xaml.vb new file mode 100644 index 0000000..9deb2aa --- /dev/null +++ b/OptionPanel/MachiningTab/ModifStartEndWjWindowV.xaml.vb @@ -0,0 +1,3 @@ +Public Class ModifStartEndWjWindowV + +End Class diff --git a/OptionPanel/MachiningTab/ModifStartEndWjWindowVM.vb b/OptionPanel/MachiningTab/ModifStartEndWjWindowVM.vb new file mode 100644 index 0000000..4b9001e --- /dev/null +++ b/OptionPanel/MachiningTab/ModifStartEndWjWindowVM.vb @@ -0,0 +1,60 @@ +Imports System.IO +Imports EgtUILib + +Public Class ModifStartEndWjWindowVM + + Public ReadOnly Property ValueMsg As String + Get + Return EgtMsg(MSG_SPLITPAGEUC + 35) + End Get + End Property + + Public ReadOnly Property OkMsg As String + Get + Return EgtMsg(91651) 'Ok + End Get + End Property + + Public ReadOnly Property ExitMsg As String + Get + Return EgtMsg(91652) 'Annulla + End Get + End Property + + Private m_sValue As String + Public Property sValue As String + Get + Return m_sValue + End Get + Set(value As String) + m_sValue = value + End Set + End Property + + Sub New() + + End Sub + + Friend Function SetVal(dVal As Double) As Boolean + sValue = DoubleToString(dVal, 3) + Return True + End Function + + Friend Function GetVal() As Double + Dim dVal As Double = 0 + StringToDouble(sValue, dVal) + Return dVal + End Function + + 'Private Sub OkBtn_Click(sender As Object, e As RoutedEventArgs) Handles OkBtn.Click + ' m_sValue = ValueTxBx.Text + ' DialogResult = True + 'End Sub + + 'Private Sub ExitBtn_Click(sender As Object, e As RoutedEventArgs) Handles ExitBtn.Click + ' m_sValue = "" + ' DialogResult = False + 'End Sub + +End Class + diff --git a/OptionPanel/MachiningTab/SplitModeV.xaml b/OptionPanel/MachiningTab/SplitModeV.xaml index aa6f4b1..50232d5 100644 --- a/OptionPanel/MachiningTab/SplitModeV.xaml +++ b/OptionPanel/MachiningTab/SplitModeV.xaml @@ -151,7 +151,17 @@ - +