internal void OpenVariant(int variantId) { TaskWindow taskWindow = new TaskWindow(); taskWindow.InitializeComponent(); taskWindow.Show(); }
private void OpenVariant(Variant variant) { var taskWindow = new TaskWindow(variant); taskWindow.Show(); }