private void ButtonEditSplit_Click(object sender, RoutedEventArgs e) { if (machine.Mode == Machine.OperatingMode.SendFile) return; EnterNumberWindow enw = new EnterNumberWindow(Properties.Settings.Default.SplitSegmentLength); enw.Title = "Segment Length"; enw.Owner = this; enw.User_Ok += Enw_User_Ok_Split; enw.Show(); }
private void ButtonFileGoto_Click(object sender, RoutedEventArgs e) { if (machine.Mode == Machine.OperatingMode.SendFile) return; EnterNumberWindow enw = new EnterNumberWindow(machine.FilePosition + 1); enw.Title = "Enter new line number"; enw.Owner = this; enw.User_Ok += Enw_User_Ok_Goto; enw.Show(); }
private void ButtonFileGoto_Click(object sender, RoutedEventArgs e) { if (machine.Mode == Machine.OperatingMode.SendFile) { return; } EnterNumberWindow enw = new EnterNumberWindow(machine.FilePosition + 1); enw.Title = "Enter new line number"; enw.Owner = this; enw.User_Ok += Enw_User_Ok_Goto; enw.Show(); }
private void ButtonEditSplit_Click(object sender, RoutedEventArgs e) { if (machine.Mode == Machine.OperatingMode.SendFile) { return; } EnterNumberWindow enw = new EnterNumberWindow(Properties.Settings.Default.SplitSegmentLength); enw.Title = "Segment Length"; enw.Owner = this; enw.User_Ok += Enw_User_Ok_Split; enw.Show(); }