public static void ShowGotoLineWindow(MainWindow mainWindow) { if (singletonGotoLineWindow == null) { singletonGotoLineWindow = new GotoLine(mainWindow); singletonGotoLineWindow.Owner = mainWindow; } singletonGotoLineWindow.lineNumber.Text = ""; singletonGotoLineWindow.Show(); singletonGotoLineWindow.Focus(); }
private GotoLine(MainWindow mainWindow) { InitializeComponent(); this.mainWindow = mainWindow; }
public FindAndReplace(MainWindow mainWindow) { InitializeComponent(); this.mainWindow = mainWindow; }